Warping
Commands to allow your players to list and use public warps (or even their own). Administration functions are included to allow for renaming, deleting or un-publishing warp points.
Configuration
There is 1 config option added to accommodate Warps Management needs:
- maxWarpsPerPlayer - set this to maximum number of warps each player is allowed to create. If set to 0, no limit will be imposed - use wisely, it can fill your database quite quickly if you do so.
Special permissions
Three special permissions were introduced to CommandsEX to accommodate Warps Management:
-
cex.warp.bypasslimits - Players with this permission will be able to create unlimited number of warps, even with maxWarpsPerPlayer limit set in the config file.
-
cex.warp.any - Players with this permission will be able to teleport to all warps, even private ones.
-
cex.warp.delete.all - Players with this permission will be able to remove all warps, public and private. Even warps that do not belong to themselves.
/cex_warp list + /cex_listwarps
- Description: Allows player to list public warps of warps of their own.
- Usage: /cex_warp list (public/private/own) OR /cex_listwarps (public/private/own)
- Permission nodes: cex.warp.listpublic, cex.warp.listprivate
- Default permission: everyone for public, OP only for private warps
- Aliases: /warp list, listwarps
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class
/cex_warp \<Name>
- Description: Allows player to use warps (i.e. teleport to them).
- Usage: /cex_warp \<Name>
- Permission node: cex.warp, cex.warp.own
- Default permission: everyone
- Aliases: /warp \<Name>
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class
- Note: players with cex.warp permission can warp to all public warps, however players with cex.warp.own will only be allowed to use their own private warps
/cex_warp create
- Description: Allows player to create warps.
- Usage: /cex_warp create \<Name> (Public/Private/Player)
- Permission nodes: cex.warp.create, cex.warp.create.others
- Default permission: OP
- Aliases: /warp create \<Name> (Public/Private/Player)
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class
** Note:** there are 2 syntaxes that can be used to create a new warp. First one is classic /cex_warp create Warp_Name (Public/Private), which will create a public or private warp with owner set to the creator.
You can, however, use an alternative syntax that will create a warp with owner set to the player or your choice: /cex_warp create Warp_Name [Player_Name]
The second syntax was added, so administrators can create a private warp for each player and allow the player to warp there (in addition to having a home) but not allow those players to create any more warps (not even private ones).
Important: using the second syntax will automatically add cex.warp.own and cex.warp.listprivate permission nodes to the new warp owner
/cex_warp public
- Description: Allows player to make warps public.
- Usage: /cex_warp public \<Warp>
- Permission node: cex.warp.public
- Default permission: OP
- Aliases: /warp public \<Warp>
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class
/cex_warp private
- Description: Allows player to make warps private.
- Usage: /cex_warp private \<Warp>
- Permission node: cex.warp.private
- Default permission: OP
- Aliases: /warp private \<Warp>
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class
/cex_warp rename
- Description: Allows player to rename warps.
- Usage: /cex_warp rename \<Old-Name> \<New-Name>
- Permission node: cex.warp.rename
- Default permission: OP
- Aliases: /warp rename \<Old-Name> \<New-Name>
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class
/cex_warp delete
- Description: Allows player to delete warp points.
- Usage: /cex_warp delete \<Name>
- Permission node: cex.warp.delete
- Default permission: OP
- Aliases: /warp delete \<Name>
- Location in JAR file: com/github/zathrus_writer/commandsex/commands/Command_cex_warp.class