• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

VillageDefense/指令和权限:修订间差异

来自Minecraft插件百科
跳转到导航 跳转到搜索
(创建页面,内容为“= 指令和权限 = == 内容 == * 指令 & 权限 * 基础权限 * 自定义权限 * 套装权限 == 指令和权限 == <code>[必须参数] (可选参数)</code…”)
 
 
第26行: 第26行:
|-
|-
|/vd stats (在线挖掘)
|/vd stats (在线挖掘)
|None
|
|显示你的数据
|显示你的数据
|-
|-
|/vd leave
|/vd leave
|None
|
|Quits current game. You can disable game quit in config.yml
|退出游戏. 可在配置内关闭
|-
|-
|/vd top [statistic]
|/vd top [statistic]
|None
|
|Shows top 10 users from requested statistic
|显示指定数据的前十名排行榜
|-
|-
|/vd selectkit
|/vd selectkit
|villagedefense.指令.selectkit
|villagedefense.指令.selectkit
|Change kit while being in game
|在游戏时改变套装
|}
|}


=== 🔴 Admin 指令s ===
=== 🔴 管理员指令 ===
Tip! You can use <code>villagedefense.admin.*</code> 权限 to give all admin 指令s 权限
Tip! You can use <code>villagedefense.admin.*</code> 权限 to give all admin 指令s 权限
{| class="wikitable"
{| class="wikitable"
!指令
!指令
!权限
!权限
!Description
!描述
!Valid excecutors
!有效excecutors
|-
|-
|
|
第56行: 第56行:
|-
|-
|
|
|villagedefense.指令.override
|villagedefense.command.override
|Allows to use every 指令 while being in-game
|可在游戏时使用任意指令
|
|
|-
|-
|
|
|villagedefense.admin.sign.create (creating signs by hand) villagedefense.admin.sign.break (destroying signs)
|villagedefense.admin.sign.create (用手创建告示牌) villagedefense.admin.sign.break (破坏告示牌)
|You can create or break signs with those 权限s
|用于创造和破坏告示牌
|
|
|-
|-
|/vd create [arena]
|/vd create [竞技场]
|villagedefense.admin.create
|villagedefense.admin.create
|Creates new arena with specified name
|创建新的竞技场
|Player
|玩家
|-
|-
|/vd [arena] edit
|/vd [竞技场] edit
|villagedefense.admin.create
|villagedefense.admin.create
|Edits existing arena
|编辑竞技场
|Player
|玩家
|-
|-
|/vda list
|/vda list
|villagedefense.admin.list
|villagedefense.admin.list
|Prints list of available arenas
|列出可用竞技场
|Player/Console
|玩家/控制台
|-
|-
|/vda stop
|/vda stop
|villagedefense.admin.stopgame
|villagedefense.admin.stopgame
|Stops game you're playing
|停止游戏
|Player
|玩家
|-
|-
|/vda forcestart
|/vda forcestart
|villagedefense.admin.forcestart
|villagedefense.admin.forcestart
|Force starts game you're in
|强制开始你所在的游戏
|Player
|玩家
|-
|-
|/vda respawn (player)
|/vda respawn (玩家名)
|villagedefense.admin.respawn villagedefense.admin.respawn.others
|villagedefense.admin.respawn villagedefense.admin.respawn.others
|Respawn you/specified player in your arena
|复活指定玩家
|Player
|玩家
|-
|-
|/vda spychat
|/vda spychat
|villagedefense.admin.spychat
|villagedefense.admin.spychat
|Toggles all arenas chat visibility (multi-arena feature only)
|开关所有竞技场的聊天是否可见 (用于多个竞技场)
|Player
|玩家
|-
|-
|/vda reload
|/vda reload
|villagedefense.admin.reload
|villagedefense.admin.reload
|Reloads all game instances they will be stopped. <span class="fa fa-warning"></span>Usage highly discouraged!
|重载插件. <span class="fa fa-warning"></span>Usage highly discouraged!
|Player/Console
|玩家/控制台
|-
|-
|/vda delete [arena]
|/vda delete [竞技场]
|villagedefense.admin.delete
|villagedefense.admin.delete
|Deletes specified arena
|删除指定竞技场
|Player
|玩家
|-
|-
|/vda tp [arena] [location type]
|/vda tp [竞技场] [地点类型]
|villagedefense.admin.teleport
|villagedefense.admin.teleport
|Teleports to specified arena location Location types:START, END, LOBBY
|传送到指定竞技场的地点 类型:START, END, LOBBY
|Player
|玩家
|-
|-
|/vda clear [zombie/villager/golem]
|/vda clear [zombie/villager/golem]
|villagedefense.admin.clear
|villagedefense.admin.clear
|Clears specified mobs in your game
|Clears specified mobs in your game
|Player
|玩家
|-
|-
|/vda addorbs [amount] (player)
|/vda addorbs [amount] (player)
|villagedefense.admin.addorbs villagedefense.admin.addorbs.others
|villagedefense.admin.addorbs villagedefense.admin.addorbs.others
|Adds orbs (game currency) to you/specified player
|Adds orbs (game currency) to you/specified player
|Player/Console when player argument is specified
|玩家/控制台 when player argument is specified
|-
|-
|/vda setwave [number]
|/vda setwave [number]
|villagedefense.admin.setwave
|villagedefense.admin.setwave
|Sets wave of game
|Sets wave of game
|Player
|玩家
|-
|-
|/vda setprice [amount]
|/vda setprice [amount]
|villagedefense.admin.setprice
|villagedefense.admin.setprice
|Sets price of holding item (use this for shop otherwise item won't work)
|Sets price of holding item (use this for shop otherwise item won't work)
|Player
|玩家
|}
|}



2019年1月17日 (四) 12:30的最新版本

指令和权限

内容

  • 指令 & 权限
  • 基础权限
  • 自定义权限
  • 套装权限

指令和权限

[必须参数] (可选参数)

🔵 玩家指令

指令 权限 描述
/vd join [竞技场名] villagedefense.join.%arena% villagedefense.join.* (all arenas) 加入特定的竞技场
/vd randomjoin 需要权限 villagedefense.join.* 才能进入所有的竞技场 加入随机一个未开始游戏的竞技场
/vd stats (在线挖掘) 显示你的数据
/vd leave 退出游戏. 可在配置内关闭
/vd top [statistic] 显示指定数据的前十名排行榜
/vd selectkit villagedefense.指令.selectkit 在游戏时改变套装

🔴 管理员指令

Tip! You can use villagedefense.admin.* 权限 to give all admin 指令s 权限

指令 权限 描述 有效excecutors
villagedefense.updatenotify Notifies about plugin update on join
villagedefense.command.override 可在游戏时使用任意指令
villagedefense.admin.sign.create (用手创建告示牌) villagedefense.admin.sign.break (破坏告示牌) 用于创造和破坏告示牌
/vd create [竞技场] villagedefense.admin.create 创建新的竞技场 玩家
/vd [竞技场] edit villagedefense.admin.create 编辑竞技场 玩家
/vda list villagedefense.admin.list 列出可用竞技场 玩家/控制台
/vda stop villagedefense.admin.stopgame 停止游戏 玩家
/vda forcestart villagedefense.admin.forcestart 强制开始你所在的游戏 玩家
/vda respawn (玩家名) villagedefense.admin.respawn villagedefense.admin.respawn.others 复活指定玩家 玩家
/vda spychat villagedefense.admin.spychat 开关所有竞技场的聊天是否可见 (用于多个竞技场) 玩家
/vda reload villagedefense.admin.reload 重载插件. Usage highly discouraged! 玩家/控制台
/vda delete [竞技场] villagedefense.admin.delete 删除指定竞技场 玩家
/vda tp [竞技场] [地点类型] villagedefense.admin.teleport 传送到指定竞技场的地点 类型:START, END, LOBBY 玩家
/vda clear [zombie/villager/golem] villagedefense.admin.clear Clears specified mobs in your game 玩家
/vda addorbs [amount] (player) villagedefense.admin.addorbs villagedefense.admin.addorbs.others Adds orbs (game currency) to you/specified player 玩家/控制台 when player argument is specified
/vda setwave [number] villagedefense.admin.setwave Sets wave of game 玩家
/vda setprice [amount] villagedefense.admin.setprice Sets price of holding item (use this for shop otherwise item won't work) 玩家

Basic 权限s

Basic premissions are default 权限s for games. Default 权限s can be found in config.yml

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

Full-Games-权限 - 权限 to join full arenas

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

Mvp-权限 - Same as Vip-权限 but gives 100% more orbs

Elite-权限 - Same as Vip-权限 but gives 150% more orbs

Arena-Edit-权限 - 权限 for creating arenas, overrides disabled 指令s option via config.yml

Custom 权限s

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

Warn! Using dots . in custom 权限s will not work and will break 权限, don't use them!

Custom 权限s can be set up in config.yml:

Custom权限s:
  player-booster: 10
  vip-booster: 100
  staff-booster: 1000

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

vip-booster - Gives player 100% more orbs

staff-booster - 1000% more orbs

Avoid low percent values! Remember that 10% more orbs are actually nothing because it's 5~8 orbs + only 10% of this value more so you won't see any significant increase, use higher values too see the difference

权限s can be combined! Giving player 权限 player.booster and vip.booster will receive 110% more orbs on the pickup!

套装权限

每种套装都有各自的权限. Even if it's level kit, you can still unlock it getting its 权限.

比如:

  • 弓箭手套装权限 - villagedefense.kit.archer
  • Tornado kit 权限 - villagedefense.kit.tornado
  • Heavy Tank kit 权限 - villagedefense.kit.heavytank

注意! Premium kits also unlocks with Vip/Mvp or Elite 权限s and leveled kits are unlocked too when certain level is reached.