Commands and permissions - Rosstail/Nodewar GitHub Wiki
Here is a list of every commands and permissions of the plugin. permissions with wildcards *
such as nodewar.command.empire.*
are available too. These permissions are not assigned by default.
Basic commands
Default: true
Syntax | permission | description |
---|---|---|
/nodewar |
nodewar.command | display the list of commands |
/nodewar admin |
nodewar.command.empire | Displays a list of admin commands |
/nodewar empire |
nodewar.command.empire | Displays a list of empire commands |
/nodewar help |
nodewar.command.help | display the list of commands |
Empire commands
These commands are not given to players by default because to avoid problems, the empire must also exist as a group in the permission plugin.
Default: false
Syntax | permission | description |
---|---|---|
/nodewar empire create [empire] |
nodewar.command.empire.create | (Empireless only) Creates an empire and the creator become owner of it. |
/nodewar empire edit |
nodewar.command.empire.edit | (Owner only) Display the commands of empire edition commands |
/nodewar empire disband |
nodewar.command.empire.disband | (Owner only) disband the empire. |
/nodewar empire join [empire] |
nodewar.command.empire.join | Joins an empire |
/nodewar empire leave |
nodewar.command.empire.leave | Leave current empire |
Empire edition commands
Default: true
Syntax | permission | description |
---|---|---|
/nodewar empire edit display [value] ... |
nodewar.command.empire.edit.display | (Owner only) Changes the displayed name, spaces are allowed |
/nodewar empire edit friendlyfire [boolean] |
nodewar.command.empire.edit.friendlyfire | (Owner only) Allow allied player to beat eachothers |
/nodewar empire edit bossbarcolor [value] |
nodewar.command.empire.edit.bossbarcolor | (Owner only) Changes the bossbar color of the empire on advantages and owns - RED, BLUE, YELLOW, GREEN, WHITE, PURPLE, PINK |
/nodewar empire edit color [value] |
nodewar.command.empire.edit.color | true |
Admin commands
Default: OP
Syntax | permission | description |
---|---|---|
/nodewar admin empire |
nodewar.command.admin.empire | displays list of commands for empires |
/nodewar admin player |
nodewar.command.admin.player | displays list of commands for players |
/nodewar admin territory |
nodewar.command.admin.territory | displays list of commands for territory |
Admin Empire commands
Default: OP
Syntax | permission | description |
---|---|---|
/nodewar admin empire create [empire] |
nodewar.command.admin.empire.create | Create a new empty empire. |
/nodewar admin empire edit [empire] [option] [value] |
nodewar.command.admin.empire.edit | Changes some options of the selected empire (like the Empire edit commands) |
/nodewar admin empire disband [empire] |
nodewar.command.admin.empire.disband | Disband the selected empire. |
Admin player commands
Default: OP
Syntax | permission | description |
---|---|---|
/nodewar admin player setempire [player] [empire] |
nodewar.command.admin.player.setempire | Set empire to player |
/nodewar admin player removeempire [player] |
nodewar.command.admin.player.removeempire | Remove empire to player |
Admin territory commands
Default: OP
The location must be a duo of World/Territory (such as Earth/France
, Earth/US
or Earth/*
). Use a *
behind a world will affect every territories inside.
Syntax | permission | description |
---|---|---|
/nodewar admin territory info [world]/[territory] |
nodewar.command.admin.territory.info | Displays infos of the selected territory |
/nodewar admin territory setowner [world]/[territory] [value] |
nodewar.command.admin.territory.setowner | Sets the empire as owner of the selected territory |
/nodewar admin territory neutralize [world]/[territory] |
nodewar.command.admin.territory.neutralize | Removes all owners of a territory |
/nodewar admin territory vulnerable [world]/[territory] [value] |
nodewar.command.admin.territory.vulnerable | Toggle vulnerability of territory |