Skip to content

Commands and Permissions

Plajer edited this page May 10, 2018 · 39 revisions

Commands and Permissions

Table of contents


Commands and permissions

[required argument] (optional argument)

🔵 Player commands

Command Permission Description
/vd join [arena] villagedefense.join.%arena% villagedefense.join.* (all arenas) Joins specified arena
/vd stats (online player) none Shows your stats
/vd leave none Quits current game. You can disable game quit in config.yml

🔴 Admin commands

You can use villagedefense.admin.* permission to give all admin commands permission

Command Permission Description Vaild executors
/vd create [arena] villagedefense.admin.create Creates new arena with specified name Player
/vd [arena] edit villagedefense.admin.create Edits existing arena Player
/vda list villagedefense.admin.list Prints list of available arenas Player / Console
/vda stop villagedefense.admin.stopgame Stops game you're playing Player
/vda forcestart villagedefense.admin.forcestart Force starts game you're in Player
/vda respawn (player) villagedefense.admin.respawn villagedefense.admin.respawn.others Respawn you/specified player in your arena Player
/vda spychat villagedefense.admin.spychat Toggles all arenas chat visibility (multi-arena feature only) Player
/vda reload villagedefense.admin.reload Reloads all game instances they will be stopped Player / Console
/vda setshopchest villagedefense.admin.setshopchest Unused Player
/vda addsign [arena] villagedefense.admin.addsign villagedefense.admin.sign.create (for creating signs manualy) villagedefense.admin.sign.break (for destroying signs) Adds new sign for specified arena Player
/vda delete [arena] villagedefense.admin.delete Deletes specified arena Player
/vda tp [arena] [location type] villagedefense.admin.teleport Teleports to specified arena location Locations: START, END, LOBBY Player
/vda clear [zombie/villager/golem] villagedefense.admin.clear Clears specified mobs in your game Player
/vda addorbs [amount] (player) villagedefense.admin.addorbs villagedefense.admin.addorbs.others Adds orbs (game currency) to you / specified player Player / Console when player argument is specified
/vda setwave [number] villagedefense.admin.setwave Sets wave of game Player
/vda setprice [amount] villagedefense.admin.setprice Sets price of holding item (use this for shop otherwise item won't work) Player

Basic permissions

Basic premissions are default permissions for games. Default permissions can be found in config.yml

Basic-Permissions:
  Full-Games-Permission: "villagedefense.fullgames"
  Vip-Permission: "villagedefense.vip"
  Mvp-Permission: "villagedefense.mvp"
  Elite-Permission: "villagedefense.elite"
  Arena-Edit-Permission: "villagedefense.edit"
  Join-Permission: "villagedefense.join.<arena>"

Full-Games-Permission - Permission to join full arenas

Vip-Permission - Gives permission to donator kits, joining full games and getting 50% more orbs

Mvp-Permission - Same as Vip-Permission but gives 100% more orbs

Elite-Permission - Same as Vip-Permission but gives 150% more orbs

Arena-Edit-Permission - Permission for creating arenas, overrides disabled commands option via config.yml

Custom permissions

Custom permissions are used for giving your players more orbs in game. Nothing more, nothing less.

WARNING: Creating permissions using dots (.) WILL cause weird behaviour, do not use them.

Custom permissions can be set up in config.yml:

CustomPermissions:
  player-booster: 10
  vip-booster: 100
  staff-booster: 1000

player-booster - Gives player with this permission 10% more orbs on pickup

vip-booster - Gives player 100% more orbs

staff-booster - 1000% more orbs

💡 Permissions can be combined!

Giving player permission player.booster and vip.booster will receive 110% more orbs on the pickup!

Clone this wiki locally