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

“Robbery”的版本间的差异

来自Minecraft插件百科
跳转至: 导航搜索
(‎
{{MCColor|&3|config.yml配置格式}}
第94行: 第94行:
 
             </p>
 
             </p>
  
=<center>'''{{MCColor|&3|config.yml配置格式}}'''</center>=
+
=<center>'''{{MCColor|&3|配置}}'''</center>=
To setup a robbable place you can directly configure it within the storage.yml file using the blueprint found below or you can use the /robbery place add <place id> <place name> <region id> <duration> <cooldown> command, after that you still need to make changes to the now generated blueprint within the storage.yml file. To save your changes and reload all configuration files aswell as the storage use the /robbery reload command.
+
想要设置可劫掠的地方,你可以使用蓝图或/robbery place add <地点ID> <地点名> <区域ID> <掠夺时间> <掠夺冷却> 指令可直接来直接修改storage.yml 配置。完成配置后输入 /robbery reload 重载配置.
 +
配置格式
 
<spoiler>
 
<spoiler>
 
  places:
 
  places:
   <place id>:
+
   <地点ID>:
     name: <place name>
+
     name: <地点名>
     region-id: <wg region id>
+
     region-id: <worldguard区域ID>
 
     npc-ids:
 
     npc-ids:
 
     - '<npc id 1>'
 
     - '<npc id 1>'
 
     - '<npc id 2>'
 
     - '<npc id 2>'
     robbery-duration: <duration> (in seconds)
+
     robbery-duration: <掠夺时间> (单位为秒)
     robbery-cooldown: <cooldown> (in seconds)
+
     robbery-cooldown: <掠夺冷却> (单位为秒)
 
     last-robbery-timestamp: -1
 
     last-robbery-timestamp: -1
 
     money-reward: <amount>
 
     money-reward: <amount>
 
     command-rewards:
 
     command-rewards:
     - '<command 1>'
+
     - '<指令 1>'
     - '<command 2>'
+
     - '<指令 2>'
   
 
 
</spoiler>
 
</spoiler>
 +
<spoiler>
 +
robbery-gui-title: '<标题>'
 +
robbery-item-type: <物品类型>
 +
robbery-item-data: <物品数据值>
 +
robbery-item-display-name: '<显示名>'
 +
robbery-item-lore:
 +
- '<第一行描述>'
 +
- '<第二行描述>'
 +
</spoiler>
 +
 +
默认配置
 +
robbery-gui-title: '&4劫掠'
 +
robbery-item-type: REDSTONE
 +
robbery-item-data: 0
 +
robbery-item-display-name: '&c开始抢劫'
 +
robbery-item-lore:
 +
- '&7点击开始抢劫'
 +
- '&7这个地方!'
 +
语言文件
 +
 +
no-permission: '&7&l>>  &r&c你没有权限.'
 +
command-not-found: '&7&l>>  &r&c指令不存在.'
 +
invalid-usage: '&7&l>>  &r&c无效参数.'
 +
invalid-input: '&7&l>>  &r&c无效数值.'
 +
configuration-reloaded: '&7&l>>  &r&7配置已重载.'
 +
place-added: '&7&l>>  &r&7这个地点已被添加到存储文件中.'
 +
place-removed: '&7&l>>  &r&7这个地点已从存储文件中删除.'
 +
robbing-not-possible: '&7&l>>  &r&c现在你不能抢劫这个地方.'
 +
robbery-failed-death: '&c你死了。抢劫失败!'
 +
robbery-failed-left-area: '&c你离开了这片区域。抢劫失败!'
 +
robbery-completed: '&a你成功了抢走了这里的东西!'
 +
robbery-ongoing: '&e&l!&r &e劫掠中,还需: &n%d&r &e秒 &l!'
  
 
=<center>'''{{MCColor|&3|messages.yml}}'''</center>=
 
=<center>'''{{MCColor|&3|messages.yml}}'''</center>=

2018年12月12日 (三) 23:05的版本

欢迎来到Robbery插件词条

插件名
Robbery

作者
Dexuby

版本
1.0.0

兼容版本
1.12

购买地址
Spigot.png

介绍  · Introduction

生成缩略图出错:无法将缩略图保存到目标地点

Robbery 可以让你设置可以让玩家抢钱或物品的商店。这款插件完全可自定义,你可以配置多个不同的可掠夺的商店以及掠夺所需时间、掠夺冷却时间。


前置  · Dependencies

必要求前置:

  • Vault
  • Citizens
  • WorldEdit / WorldGuard

非必要前置:

  • CrackShot

特点  · Features

  • 完全可自定义
  • 可创建多个可掠夺商店
  • 可用金钱后和指令作为掠夺物 (未来将支持变量)
  • 可配置每个地方的掠夺冷却
  • 支持用CrackShot的枪械指着NPC的头来加速掠夺
  • 基于GUI来开始掠夺based robbery start (潜行+右键 NPC)
  • 如果玩家在掠夺过程中被杀死或离开会导致劫掠失败
  • 用action bar显示掠夺所需时间

Commands · 指令 & 权限  · Permissions

指令

  • 123

权限

  • 321

配置  · Configuration

配置

想要设置可劫掠的地方,你可以使用蓝图或/robbery place add <地点ID> <地点名> <区域ID> <掠夺时间> <掠夺冷却> 指令可直接来直接修改storage.yml 配置。完成配置后输入 /robbery reload 重载配置. 配置格式

places:
  <地点ID>:
    name: <地点名>
    region-id: <worldguard区域ID>
    npc-ids:
    - '<npc id 1>'
    - '<npc id 2>'
    robbery-duration: <掠夺时间> (单位为秒)
    robbery-cooldown: <掠夺冷却> (单位为秒)
    last-robbery-timestamp: -1
    money-reward: <amount>
    command-rewards:
    - '<指令 1>'
    - '<指令 2>'

robbery-gui-title: '<标题>'
robbery-item-type: <物品类型>
robbery-item-data: <物品数据值>
robbery-item-display-name: '<显示名>'
robbery-item-lore:
- '<第一行描述>'
- '<第二行描述>'

默认配置

robbery-gui-title: '&4劫掠'
robbery-item-type: REDSTONE
robbery-item-data: 0
robbery-item-display-name: '&c开始抢劫'
robbery-item-lore:
- '&7点击开始抢劫'
- '&7这个地方!'

语言文件

no-permission: '&7&l>>  &r&c你没有权限.'
command-not-found: '&7&l>>  &r&c指令不存在.'
invalid-usage: '&7&l>>  &r&c无效参数.'
invalid-input: '&7&l>>  &r&c无效数值.'
configuration-reloaded: '&7&l>>  &r&7配置已重载.'
place-added: '&7&l>>  &r&7这个地点已被添加到存储文件中.'
place-removed: '&7&l>>  &r&7这个地点已从存储文件中删除.'
robbing-not-possible: '&7&l>>  &r&c现在你不能抢劫这个地方.'
robbery-failed-death: '&c你死了。抢劫失败!'
robbery-failed-left-area: '&c你离开了这片区域。抢劫失败!'
robbery-completed: '&a你成功了抢走了这里的东西!'
robbery-ongoing: '&e&l!&r &e劫掠中,还需: &n%d&r &e秒 &l!'

messages.yml

###################
# 语言配置 #
###################

reload: '{plugin}&a 已重载!'


variables:
  plugin: '&6[&cWordGames+&6]&r'
  #
  #代替 '{word}' 的消息.
  HOVER: '&a这里'


games:
  autoStop: '{plugin} &2打字游戏已结束,没有人获胜. 正确答案为: &a{word}&2.'
  reorder:
  - '{plugin} &2重组这些字母来构成一个单词: &a{word}&2.'
  - '{plugin} &2奖励: &a{amount}x {reward}&2!'
  unmute:
  - '{plugin} &2猜猜这是什么单词: &a{word}&2.'
  - '{plugin} &2奖励: &a{amount}x {reward}&2!'
  hover:
  - '{plugin} &2把你的鼠标移到 &a{word}&2 并以你最快的速度输入这个单词!'
  - '{plugin} &2奖励: &a{amount}x {reward}&2!'
  timed:
    start:
    - '{plugin} &2考验手速的时候到了! 在&a{seconds} 秒内输入 &a{word}&2 的玩家可获得奖励!'
    - '{plugin} &2奖励: &a{amount}x {reward}&2!'
    gameWon: '{plugin} &2恭喜! 你在规定的时间内正确地输入了单词.这是你的奖励.'
    stop: '{plugin} &2 &a{seconds} 秒&2已结束. 恭喜获胜的玩家!'
  calculate:
  - "{plugin} &2 &a{word}&2 = ? 请回答整数."
  - '{plugin} &2奖励: &a{amount}x {reward}&2!'
  gameWon: '{plugin} &a{player}&2 猜中了正确的单词: &a"{word}"&2! 获得奖励: &a{amount}x {reward}&2!'
  list:
    prefix:
    - '{plugin} &2当前进行中的游戏:'
    - '{plugin} &2---<&a进行中的游戏&2>---'
    suffix: '{plugin} &2---<&a进行中的游戏&2>---'
  stop: '{plugin} &4已停止所有的打字游戏.'


error:
  noPlayPermissions: '{plugin} &4恭喜你猜中了正确的单词!不幸的是你没有权限参加这种类型的打字游戏.'
  noPermissions: '{plugin} &4你没有权限执行这个指令.'
  typeNotFound: '{plugin} &4Error 404: 找不到这种指令! 用法: /wordgame <help>'
  wrongInput: '{plugin} &4指令错误. 用法: /wordgame <help>'
  notPlaying: "{plugin} &4没有可以停止的游戏!"
  configWrong: '{plugin} &4配置出错.'
  tooManyGames: '{plugin} &4你不能创建更多游戏了.'

使用条款  · Term Of Use

  • You are not allowed to claim the source/binary code of the plugin as your own.
  • You are not allowed to decompile or modify this plugin.
  • You are not allowed to share or resell this plugin.
  • This plugin cannot be refunded.
  • I hold the right to change the price and T.o.S. whenever I want.
  • You automatically agree with the T.o.S. on purchase.