Skip to content

Modloading: Edgework

Tyler Flowers edited this page Jun 20, 2019 · 9 revisions

This page is for mod creators looking to create custom modules.

This page describes how to get edgework from the settings menu.

Grabbing properties

Settings are saved on config.properties in the root folder. This can be grabbed using a FileReader and property loading.

File configFile = new File("config.properties");
Properties properties = new Properties();
try {
    FileReader reader = new FileReader(configFile);
    properties.load(reader);
} catch (FileNotFoundException ex) {
    ex.printStackTrace(System.out);
} catch (IOException ex) {
    ex.printStackTrace(System.out);
}

Reading properties

After loading/getting the properties, you can get it by using properties.getProperty("property");

String property = properties.getProperty("property");

List of properties

Here's a list of properties for reference.

/**
 * Layout:
 * property=default-value
 */

// Primary Edgework

sn1=B // Serial Numbers
sn2=B
sn3=B
sn4=0
sn5=0
sn6=0
bob=0 // Indicators (0 = Non existant, 1 = Existant)
car=0
clr=0
frk=0
frq=0
ind=0
msa=0
nsa=0
sig=0
snd=0
trn=0
bobLit=0 // Indicator is lit (0 = Unlit, 1 = Lit)
carLit=0
clrLit=0
frkLit=0
frqLit=0
indLit=0
msaLit=0
nsaLit=0
sigLit=0
sndLit=0
trnLit=0
dvid=0 // Ports (0 = Non-existant, 1 = Existant)
parallel=0
ps2=0
rj45=0
serial=0
stereoRCA=0
dvidQuantity=0 // Port Quantity
parallelQuantity=0
ps2Quantity=0
rj45Quantity=0
serialQuantity=0
stereoRCAQuantity=0
batteriesAA=0 // Batteries
batteriesD=0
batteryHolders=0
batteriesTotal=0
modules=0 // # of modules
plates=0 // # of port plates
modPort=0 // # of mod ports
modInd=0 // # of mod indicators

// Additional Edgework

snVowel=f // SN Has Vowel (T = True / F = False)
snFirstDig=0 // SN's First Digit
snLastDig=0 // SN's Last Digit
snTotalDigs=0 // Total Digits in SN
snTotalLets=0 // Total Letters in SN
bobUnlit=0 // Indicator is unlit (0 = No / 1 = Yes)
carUnlit=0
clrUnlit=0
frkUnlit=0
frqUnlit=0
indUnlit=0
msaUnlit=0
nsaUnlit=0
sigUnlit=0
sndUnlit=0
trnUnlit=0
totalInds=0 // Total Indicators
totalIndsPlusMods=0 // Total Indicators (+ Mods)
totalIndsLit=0 // Total Lit Indicators
totalIndsUnlit=0 // Total Unlit Indicators
totalPorts=0 // Total Ports
totalPortsPlusMods=0 // Total Ports (+ Mods)
totalPortTypes=0 // Total Port Types

// Unused / Misc.

displayModule=0 // Unused (originally intended to display the module, might re-add during gamma stage)
owo=0 // What's this? (secret easter eggs)

Note: 2FA and other edgework mods or not included to make the settings look less clunky. It's encouraged to ask for these in the module itself as most of the time it's not necessarily needed for other modules.


Previous Versions

Commit 9ddeb34

/**
 * Layout:
 * property=default-value
 */

// Primary Edgework

sn1=B // Serial Numbers
sn2=B
sn3=B
sn4=0
sn5=0
sn6=0
bob=0 // Indicators (0 = Non existant, 1 = Existant)
car=0
clr=0
frk=0
frq=0
ind=0
msa=0
nsa=0
sig=0
snd=0
trn=0
bobLit=0 // Indicator is lit (0 = Unlit, 1 = Lit)
carLit=0
clrLit=0
frkLit=0
frqLit=0
indLit=0
msaLit=0
nsaLit=0
sigLit=0
sndLit=0
trnLit=0
dvid=0 // Ports (0 = Non-existant, 1 = Existant)
parallel=0
ps2=0
rj45=0
serial=0
stereoRCA=0
dvidQuantity=0 // Port Quantity
parallelQuantity=0
ps2Quantity=0
rj45Quantity=0
serialQuantity=0
stereoRCAQuantity=0
batteriesAA=0 // Batteries
batteriesD=0
batteryHolders=0
batteriesTotal=0
modules=0 // # of modules
plates=0 // # of port plates
modPort=0 // # of mod ports
modInd=0 // # of mod indicators

// Additional Edgework

snVowel=f // SN Has Vowel (T = True / F = False)
snFirstDig=0 // SN's First Digit
snLastDig=0 // SN's Last Digit
bobUnlit=0 // Indicator is unlit (0 = No / 1 = Yes)
carUnlit=0
clrUnlit=0
frkUnlit=0
frqUnlit=0
indUnlit=0
msaUnlit=0
nsaUnlit=0
sigUnlit=0
sndUnlit=0
trnUnlit=0
totalInds=0 // Total Indicators
totalIndsPlusMods=0 // Total Indicators (+ Mods)
totalIndsLit=0 // Total Lit Indicators
totalIndsUnlit=0 // Total Unlit Indicators
totalPorts=0 // Total Ports
totalPortsPlusMods=0 // Total Ports (+ Mods)
totalPortTypes=0 // Total Port Types

// Unused / Misc.

displayModule=0 // Unused (originally intended to display the module, might re-add during gamma stage)
owo=0 // What's this? (secret easter eggs)
Commit ae5900e

/**
 * Layout:
 * property=default-value
 */

// Primary Edgework

sn1=B // Serial Numbers
sn2=B
sn3=B
sn4=0
sn5=0
sn6=0
bob=0 // Indicators (0 = Non existant, 1 = Existant)
car=0
clr=0
frk=0
frq=0
ind=0
msa=0
nsa=0
sig=0
snd=0
trn=0
bobLit=0 // Indicator is lit (0 = Unlit, 1 = Lit)
carLit=0
clrLit=0
frkLit=0
frqLit=0
indLit=0
msaLit=0
nsaLit=0
sigLit=0
sndLit=0
trnLit=0
dvid=0 // Ports (0 = Non-existant, 1 = Existant)
parallel=0
ps2=0
rj45=0
serial=0
stereoRCA=0
dvidQuantity=0 // Port Quantity
parallelQuantity=0
ps2Quantity=0
rj45Quantity=0
serialQuantity=0
stereoRCAQuantity=0
batteriesAA=0 // Batteries
batteriesD=0
batteryHolders=0
batteriesTotal=0
modules=0 // # of modules
plates=0 // # of port plates
modPort=0 // # of mod ports
modInd=0 // # of mod indicators

// Additional Edgework

snVowel=f // SN Has Vowel (T = True / F = False)
snFirstDig=0 // SN's First Digit
snLastDig=0 // SN's Last Digit
bobUnlit=0 // Indicator is unlit (0 = No / 1 = Yes)
carUnlit=0
clrUnlit=0
frkUnlit=0
frqUnlit=0
indUnlit=0
msaUnlit=0
nsaUnlit=0
sigUnlit=0
sndUnlit=0
trnUnlit=0
totalInds=0 // Total Indicators
totalIndsPlusMods=0 // Total Indicators (+ Mods)
totalIndsLit=0 // Total Lit Indicators
totalIndsUnlit=0 // Total Unlit Indicators
totalPorts=0 // Total Ports
totalPortsPlusMods=0 // Total Ports (+ Mods)

// Unused / Misc.

displayModule=0 // Unused (originally intended to display the module, might re-add during gamma stage)
owo=0 // What's this? (secret easter eggs)
v0.7.1

/**
 * Layout:
 * property=default-value
 */
sn1=B // Serial Numbers
sn2=B
sn3=B
sn4=0
sn5=0
sn6=0
bob=0 // Indicators (0 = Non existant, 1 = Existant)
car=0
clr=0
frk=0
frq=0
ind=0
msa=0
nsa=0
sig=0
snd=0
trn=0
bobLit=0 // Indicator is lit (0 = Unlit, 1 = Lit)
carLit=0
clrLit=0
frkLit=0
frqLit=0
indLit=0
msaLit=0
nsaLit=0
sigLit=0
sndLit=0
trnLit=0
dvid=0 // Ports (0 = Non-existant, 1 = Existant)
parallel=0
ps2=0
rj45=0
serial=0
stereoRCA=0
dvidQuantity=0 // Port Quantity
parallelQuantity=0
ps2Quantity=0
rj45Quantity=0
serialQuantity=0
stereoRCAQuantity=0
batteriesAA=0 // Batteries
batteriesD=0
batteryHolders=0
batteriesTotal=0
modules=0 // # of modules
plates=0 // # of port plates
modPort=0 // # of mod ports
modInd=0 // # of mod indicators

displayModule=0 // Unused (originally intended to display the module, might re-add during gamma stage)
owo=0 // What's this? (secret easter eggs)

General Usage


Installation and Proper Usage

Building a release file

Bomb Settings

Vanilla Modules


Click to show

Wires

The Button

Keypads

Simon Says

Who's on First

Modded Modules


Click to show

Currently, no mod pages are done. Come back later, or help make them.

Custom Mods


Modloading: Simple Usage

Modloading: Layout

Modloading: Edgework

Modloading: Compiling and Releasing

How to help


On the Wiki

On coding

Legal information


Credits

Licensing

Clone this wiki locally