Adds or moves the team's flag post. Other teams can break the flag block and try to reach their own spawn or flag to score a point.

/setbomb <bomb-name>

Creates or moves a bomb. Must be in warzone.

/setcake <cake-name>

Creates or moves a cake. Must be in warzone.

/zonecfg [zone-name]

Warzone settings can be inherited from the War/global level, but they can be tweaked on a per-warzone basis.

Use named parameters in any order to change configuration of the zone. This command does not save zone blocks like /savezone. Some changes may not be applied until you use /resetzone or the warzone resets automatically.

autoassign:<on/off>. Replaces the lobby team gates with a single door that automatically choose a team for the players. Off by default.

bockheads:<on/off>. Gives all team members a head made of the wool color of their team. On by default.

deathmessages:<on/off>. Toggles the War kill/death feed.

disabled:<on/off>. Hides the warzone at the warhub. Prevents new players from joining the zone. Reset the zone with /resetzone to kick out players. Use to let normal player let you, the zonemaker, work in peace and to prevent accidental warzone resets while you're working.

friendlyfire:<on/off>. Let team mates hurt each other.

glasswalls:off. Turns off the magic glass walls. Players are bumped back into the zone if they stray outside.

About global settings: note that pvp, tnt and building can be restricted to warzones-only with pvpinzonesonly, tntinzonesonly and buildinzonesonly. The maximum number of warzone can also be controlled with maxzones.

Customize the look of the warhub

/warcfg warhubmaterial:<floor/outline/gate/light> -> while holding block, change the look of the warhub (use air block to keep original floor).

If you are holding nothing (i.e. air) and you use this command with the "floor" or the "outline" parameter, it tells War to use the original floor instead of overwriting it.

See Pro-tip in /zonecfg above.

To change where a player get teleported to at the end of a match (i.e. when the maxscore is reached), type "/setwarconfig rallypoint:<warzone-name>". This is useful for chaining warzones together, forcing people to warp to the next map in line when a game ends. For example stand in warzone ziggy's lobby while typing "/warcfg rallypoint:dusty" to make sure players go to warzone ziggy after a game in dusty.

Use "/setwarconfig" as an alias.

You can print the current configuration with "/warcfg print" or "/warcfg -p".

/unloadwar

Disables the plugin.

/loadwar

Enables the plugin.

Notes:

Any command conflict can be worked around by prepending "war " to the command. For example, "/war setzone X" will work, as will "/war deleteteam <team-color>".

All commands that optionally take the zone name (e.g. with the [zone-name] parameter) can be used from the server console.

By default, War blocks all non-War commands inside warzones. To let some commands through this blanket ban, edit the war.yml configuration file, add commands to the list commandwhitelist then reload your server.

Make sure the file is named "War.jar" and put it in your craftbukkit/plugins folder.

Set your server pvp and online settings to true.

I strongly recommend allocating more memory for your War server than for a vanilla or a regular bukkit server. Here's the simple command line I use to start craftbukkit:

java -Xms2048M -Xmx2048M -jar Craftbukkit.jar

The first time you run your server, the war.yml settings file will be created. Add yourself to the list of zonemakers and restart your server.

Permissions

Alternatively, if you use the Permissions plugin version 2.7.x or 3.x or GroupManager, add the 'war.admin' permission to moderators, the 'war.zonemaker' permission node to zone makers and the 'war.player' permission node to everyone you want to be able to enter warzones. People can't play war without 'war.player'. Also add 'war.warp' to all players you want to let use the /warhub and /zone commands. Recap:

War admins: 'war.admin'

Zone makers: 'war.zonemaker'

Players: 'war.player' and 'war.warp'

If you use the buildInZonesOnly:true option, to let people build outside warzones: 'war.build'

If you use the pvpInZoneOnly:true option, to let people pvp outside warzones: 'war.pvp'

Here's how I set up my GroupManager groups.yml, to get your started on the right track: download.

War is also compatible with SuperPerms/PermissionsBukkit. The only difference is that the 'war.player' and 'war.warp' permissions come by default.

Caution

Don't get too attached to your config and data files. Their formats will certainly change down the road. Remember to make regular backup of your worlds when using War.