Flags


Using Flags

:;Flags are the main customization force behind Gateways. They manipulate behavior of individual gates, networks, and paths. The types of flags vary wildly from open/closing animations for gates, toll pricing, visibility, what material the portal opens with... All flags can be edited by using the commands '/gate flag <gate> <flagtype> <value>', '/net flag <network> <flagtype> <value>', and '/path flag <from> <to> <flagtype> <value>'. To see the current state of flags, use '/<gate/net/path> info' on the gate/net/path you wish to look at.

All flags have a default state on creation of their parent. These defaults can be set in Gateways' configuration file. Additionally, each flag has its own permission node so you can hand out permissions to players for editing flags on a flag-by-flag basis. For example, you can only let donators be able to edit their gate's portal material by uniquely giving them the 'gateways.gate.flag.substance' permission.

Gate Flags

NameDesciptionParameters
SUBSTANCESets what material is used for opening(LAVA,WATER,NETHER,ENDER,WEB)
USABLEDetermines if gate can be used as outgoing gate(TRUE/FALSE)
RETURNAllows travelling back when used as receiving gate(TRUE/FALSE)
VISIBLEDetermines if gate can be used/seen for incoming connections(TRUE/FALSE)
LOCALDetermines if gate can be used/seen for local connections(TRUE/FALSE)
LOCKLocks gate so it can’t be used at all (for temporary disabling)(TRUE/FALSE)
PRICEDetermines the price of using the gate in a connection(DOUBLE)
PASSWORDSets a password for connecting to the gate(STRING)
PERMISSIONSets a permissions node requirement for the gate(STRING)
PROTECTProtects the area around the gate from other players & explosions(TRUE/FALSE)
ONOPENSets the open animation(FLICKER/EXPAND/CONTRACT/INSTANT)
ONCLOSESets the closing animation(FLICKER/EXPAND/CONTRACT/INSTANT)
WHITELISTDetermines if the usage of the gate is whitelisted by USER* list(TRUE/FALSE)

Network Flags

NameDesciptionParameters
LOCKLocks network so it can’t be used at all (for temporary disabling)(TRUE/FALSE)
MULTIWORLDDetermines if network can be used between worlds(TRUE/FALSE)
PASSWORDSets a password for connecting with the network(STRING)
PERMISSIONSets a permissions node requirement for the network(STRING)
PRICEDetermines the price of using the network in a connection(DOUBLE)
WHITELISTDetermines if the usage of the network is whitelisted by USER* list(TRUE/FALSE)
PUBLICDetermines if linking gates to network requires MEMBER* status(TRUE/FALSE)

Path Flags

NameDesciptionParameters
LOCKLocks path so it can’t be used at all (for temporary disabling)(TRUE/FALSE)
PASSWORDSets a password for connecting with the path(STRING)
PERMISSIONSets a permissions node requirement for the path(STRING)
PRICEDetermines the price of using the path in a connection(DOUBLE)

*See Gate Permissions for more details


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes