wiki:ajtntrun:config_files

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

后一修订版
前一修订版
后一修订版 两侧同时换到之后的修订记录
wiki:ajtntrun:config_files [2020/10/18 22:27]
创建
wiki:ajtntrun:config_files [2020/11/28 16:25]
行 1: 行 1:
 ====== 配置文件 ====== ====== 配置文件 ======
 +
 +{{page>template:incomplete&nofooter&noeditbtn&noheader}}
 +
 ===== config.yml ===== ===== config.yml =====
 ==== 原版 ==== ==== 原版 ====
-<code yaml message.yml>+<WRAP info 100%> 
 +这是一份自动生成的config.yml 
 + 
 +插件版本号:''1.3.1'' 
 +</WRAP> 
 +<code yaml config.yml> 
 +# Dont touch this number please 
 +config-version:
 + 
 +# The minimum amount of players required to start the game. 
 +#  Default: 2 
 +min-players:
 + 
 +# The countdown in the lobby (after the minimum amount of players has been met) 
 +#  Default: 30 
 +lobby-countdown: 30 
 + 
 +# The countdown after the players are teleported to the arena. AKA the spread out countdown. 
 +#  Default: 10 
 +plate-countdown: 10 
 + 
 +# The time after the game is over, before players are teleported back to the lobby. 
 +#  Default: 10 
 +end-duration: 10 
 + 
 +# Whether or not the plugin should stop people from hitting each other in arenas. 
 +#  Default: true 
 +block-pvp: true 
 + 
 +# Bungee mode will make players join an arena when they join (should be only 1 arena set up on the server) 
 +#  Default: false 
 +enable-bungee: false 
 +# The server to send players to when the game is over or they leave 
 +bungee-remove-to: lobby 
 + 
 + 
 +# These options control blocking of commands when in an arena. 
 +# to disable blocking comands, change the block-commands: true 
 +#  Default: true 
 +block-commands: true 
 +allowed-commands:  
 +- atr 
 +- tntrun 
 +- tr 
 +- msg 
 +- r 
 +- w 
 +- whisper 
 +- tell 
 + 
 +# Enable the updater and update command? 
 +#  Default: true 
 +enable-updater: true 
 + 
 +# Notify admins that an update is available? 
 +#  Default: true 
 +notify-update: true 
 + 
 +# How fast should we rollback arenas? 
 +# Higher numbers = faster rollback speed = more server lag 
 +#  Default: 20 
 +rollback-speed: 20 
 + 
 +# What sound should be played at the pregame countdown? 
 +# Needs to be a minecraft sound 
 +# Number after the semicolon is the pitch.  
 +#  Default: block.note_block.pling;
 +pregame-countdown-sound: block.note_block.pling;
 + 
 +# What sound should be played when the game starts? 
 +# Needs to be a minecraft sound 
 +# Number after the semicolon is the pitch 
 +#  Default: entity.ender_dragon.growl;
 +game-start-sound: entity.ender_dragon.growl;
 + 
 + 
 +# Should we allow players to join an arena while it is resetting? 
 +# Requires the seperate lobby position for that arena to be set 
 +#  Default: true 
 +allow-join-while-resetting: true 
 + 
 +# How long should we wait to have the blocks fall behind the player? 
 +# This is in ticks, so 20 = 1 second. 
 +# I do not reccomend changing this unless you have a different move speed on your server. 
 +#  Default: 10 
 +block-fall-delay: 10 
 + 
 + 
 +# Should debugging be enabled? 
 +# This will put extra info that can be usefull to the developer to diagnose issues. 
 +#  Default: false 
 +debug: false
  
 </code> </code>
行 10: 行 104:
 这是一份已经汉化完成的config.yml 这是一份已经汉化完成的config.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml config.yml> <code yaml config.yml>
行 65: 行 159:
 notify-update: true notify-update: true
  
-# 使用什么速度回滚竞技+# 使用什么速度回滚游戏
 # 数字越大 = 回滚速度越快 = 对服务器造成的压力越大 # 数字越大 = 回滚速度越快 = 对服务器造成的压力越大
 #  默认为 20 #  默认为 20
 rollback-speed: 20 rollback-speed: 20
 +
 +# 倒计时提示音
 +# 需要是Minecraft中的声音
 +# 分号后的数字是音高
 +#  默认为 block.note_block.pling;2
 +pregame-countdown-sound: block.note_block.pling;2
 +
 +# 游戏开始提示音
 +# 需要是Minecraft中的声音
 +# 分号后的数字是音高
 +#  默认为 entity.ender_dragon.growl;1
 +game-start-sound: entity.ender_dragon.growl;1
 +
 +
 +# 是否允许玩家在游戏场地重置时加入等待大厅
 +# (需要设置对应的等待大厅)
 +#  默认为 true
 +allow-join-while-resetting: true
 +
 +# 方块消失的时间
 +# 单位是ticks,所以20 = 1秒.
 +# 不建议更改此选项
 +#  默认为 10
 +block-fall-delay: 10
 +
 +
 +# 是否开启调试模式
 +# 将输出额外的调试信息,这可能对开发人员寻找错误有所帮助
 +#  默认为 false
 +debug: false
 </code> </code>
  
行 74: 行 198:
 ==== 原版 ==== ==== 原版 ====
 <code yaml message.yml> <code yaml message.yml>
 +# 暂无
 </code> </code>
  
行 81: 行 205:
 这是一份已经汉化完成的message.yml 这是一份已经汉化完成的message.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml message.yml> <code yaml message.yml>
行 106: 行 230:
     pos2: '&a第二个点已设置'     pos2: '&a第二个点已设置'
     startloc: '&a开始位置已设置'     startloc: '&a开始位置已设置'
 +    maxplayers: '&a最大玩家数已设置'
   delete:   delete:
     arena-not-found: '&c无法找到此游戏场地'     arena-not-found: '&c无法找到此游戏场地'
行 124: 行 249:
     &9你需要设置“pos1”、“pos2”、“startloc”。“lobby”这一点是可选的。     &9你需要设置“pos1”、“pos2”、“startloc”。“lobby”这一点是可选的。
   must-put-a-name: '&c请输入一个游戏场地的名称'   must-put-a-name: '&c请输入一个游戏场地的名称'
 +  more-args:
 +    maxplayers: '&c请填写一个数字!'
 joining: joining:
   no-args: '&c您必须输入一个游戏场地的名称才能加入游戏!'   no-args: '&c您必须输入一个游戏场地的名称才能加入游戏!'
行 129: 行 256:
   lobby-not-set: '&c主大厅尚未设置!&9请使用 /tntrun setlobby 设置!'   lobby-not-set: '&c主大厅尚未设置!&9请使用 /tntrun setlobby 设置!'
   already-in: '&c你已经在一个游戏场地中了'   already-in: '&c你已经在一个游戏场地中了'
 +  arena-full: '&c这个游戏场地已经满了!'
 signs: signs:
   states:   states:
行 205: 行 333:
 list: list:
   none: '&7尚未创建游戏场地!&9请使用 &b/tntrun createarena &9创建。'   none: '&7尚未创建游戏场地!&9请使用 &b/tntrun createarena &9创建。'
 +
 </code> </code>
  
行 210: 行 339:
 ==== 原版 ==== ==== 原版 ====
 <code yaml storage.yml> <code yaml storage.yml>
 +# 暂无
 </code> </code>
  
行 241: 行 370:
 ==== 原版 ==== ==== 原版 ====
 <code yaml commands.yml> <code yaml commands.yml>
 +# 暂无
 </code> </code>
  
行 262: 行 391:
   - say {PLAYER} 被淘汰了!   - say {PLAYER} 被淘汰了!
 </code> </code>
 +
 +===== items.yml =====
 +==== 原版 ====
 +<code yaml items.yml>
 +# 暂无
 +</code>
 +
 +==== 汉化版 ====
 +<WRAP info 100%>
 +这是一份已经汉化完成的items.yml
 +
 +插件版本号:''1.3.1''
 +</WRAP>
 +<code yaml items.yml>
 +# 不要改
 +config-version: 2
 +
 +# lobby-leave-mat项是物品名 (例如:BED)
 +# 某些物品名在不同版本间将被转换 (例如:BED 在1.13+会转换成 RED_BED)
 +
 +
 +lobby-leave-enabled: true
 +lobby-leave-mat: BED
 +lobby-leave-name: "&c退出游戏"
 +lobby-leave-lore:
 +- "&7右键以退出游戏"
 +lobby-leave-slot: 9
 +
 +
 +lobby-stats-enabled: true
 +lobby-stats-mat: BOOK
 +lobby-stats-name: "&e数据"
 +lobby-stats-lore:
 +- "&7右键以查看统计数据"
 +lobby-stats-slot: 1
 +
 +</code>
 +
  • wiki/ajtntrun/config_files.txt
  • 最后更改: 2021/01/03 22:07