差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
wiki:ajtntrun:config_files [2020/10/18 22:27] 创建 |
wiki:ajtntrun:config_files [2021/01/03 22:07] |
||
---|---|---|---|
行 1: | 行 1: | ||
====== 配置文件 ====== | ====== 配置文件 ====== | ||
+ | |||
+ | {{page> | ||
+ | |||
===== config.yml ===== | ===== config.yml ===== | ||
==== 原版 ==== | ==== 原版 ==== | ||
- | <code yaml message.yml> | + | <WRAP info 100%> |
+ | 这是一份自动生成的config.yml | ||
+ | |||
+ | 插件版本号:'' | ||
+ | </ | ||
+ | <code yaml config.yml> | ||
+ | # Dont touch this number please | ||
+ | # Note: this is the config version, not the plugin version. | ||
+ | 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: | ||
+ | |||
+ | # The countdown after the players are teleported to the arena. AKA the spread out countdown. | ||
+ | # Default: 10 | ||
+ | plate-countdown: | ||
+ | |||
+ | # The time after the game is over, before players are teleported back to the lobby. | ||
+ | # Default: 10 | ||
+ | end-duration: | ||
+ | |||
+ | # 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: | ||
+ | # The server to send players to when the game is over or they leave | ||
+ | bungee-remove-to: | ||
+ | |||
+ | |||
+ | # These options control blocking of commands when in an arena. | ||
+ | # to disable blocking comands, change the block-commands to false. | ||
+ | # Default: true | ||
+ | block-commands: | ||
+ | allowed-commands: | ||
+ | - atr | ||
+ | - tntrun | ||
+ | - tr | ||
+ | - msg | ||
+ | - r | ||
+ | - w | ||
+ | - whisper | ||
+ | - tell | ||
+ | |||
+ | # Enable the updater and update command? | ||
+ | # Default: true | ||
+ | enable-updater: | ||
+ | |||
+ | # Notify admins that an update is available? | ||
+ | # Default: true | ||
+ | notify-update: | ||
+ | |||
+ | # How fast should we rollback arenas? | ||
+ | # Higher numbers = faster rollback speed = more server lag | ||
+ | # Default: 20 | ||
+ | rollback-speed: | ||
+ | |||
+ | # 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: | ||
+ | |||
+ | # 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: | ||
+ | |||
+ | |||
+ | # 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: | ||
+ | |||
+ | # 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: | ||
+ | |||
+ | # After how long should a player over air/on the corner of blocks be eliminated? | ||
+ | # Default: 10 | ||
+ | air-eliminate-time: | ||
+ | |||
+ | |||
+ | # Should debugging be enabled? | ||
+ | # This will put extra info that can be usefull to the developer to diagnose issues. | ||
+ | # Default: false | ||
+ | debug: false | ||
</ | </ | ||
行 10: | 行 109: | ||
这是一份已经汉化完成的config.yml | 这是一份已经汉化完成的config.yml | ||
- | 插件版本号:'' | + | 插件版本号:'' |
</ | </ | ||
<code yaml config.yml> | <code yaml config.yml> | ||
# 请不要修改这个 | # 请不要修改这个 | ||
- | config-version: | + | # 注意:这是配置文件版本,而不是插件版本 |
+ | config-version: | ||
# 开始游戏需要的最低玩家数量 | # 开始游戏需要的最低玩家数量 | ||
行 65: | 行 165: | ||
notify-update: | notify-update: | ||
- | # 使用什么速度回滚竞技场 | + | # 使用什么速度回滚游戏场地 |
# 数字越大 = 回滚速度越快 = 对服务器造成的压力越大 | # 数字越大 = 回滚速度越快 = 对服务器造成的压力越大 | ||
# 默认为 20 | # 默认为 20 | ||
rollback-speed: | rollback-speed: | ||
+ | |||
+ | # 倒计时提示音 | ||
+ | # 需要是Minecraft中的声音 | ||
+ | # 分号后的数字是音高 | ||
+ | # 默认为 block.note_block.pling; | ||
+ | pregame-countdown-sound: | ||
+ | |||
+ | # 游戏开始提示音 | ||
+ | # 需要是Minecraft中的声音 | ||
+ | # 分号后的数字是音高 | ||
+ | # 默认为 entity.ender_dragon.growl; | ||
+ | game-start-sound: | ||
+ | |||
+ | |||
+ | # 是否允许玩家在游戏场地重置时加入等待大厅 | ||
+ | # (需要设置对应的等待大厅) | ||
+ | # 默认为 true | ||
+ | allow-join-while-resetting: | ||
+ | |||
+ | # 方块消失的时间 | ||
+ | # 单位是ticks,所以20 = 1秒. | ||
+ | # 不建议更改此选项 | ||
+ | # 默认为 10 | ||
+ | block-fall-delay: | ||
+ | |||
+ | # 玩家在空中多久后将其判为失败 | ||
+ | # 默认为10 | ||
+ | air-eliminate-time: | ||
+ | |||
+ | |||
+ | # 是否开启调试模式 | ||
+ | # 将输出额外的调试信息,这可能对开发人员寻找错误有所帮助 | ||
+ | # 默认为 false | ||
+ | debug: false | ||
</ | </ | ||
===== message.yml ===== | ===== message.yml ===== | ||
==== 原版 ==== | ==== 原版 ==== | ||
+ | <WRAP info 100%> | ||
+ | 这是一份自动生成的message.yml | ||
+ | |||
+ | 插件版本号:'' | ||
+ | </ | ||
<code yaml message.yml> | <code yaml message.yml> | ||
+ | # | ||
+ | # | ||
+ | # This is the messsages file. | ||
+ | # You can change any messages that are in this file | ||
+ | # | ||
+ | # If you want to reset a message back to the default, | ||
+ | # delete the entire line the message is on and restart the server. | ||
+ | # | ||
+ | # | ||
+ | arenaeditor: | ||
+ | create: | ||
+ | already-exists: | ||
+ | creating: | ||
+ | must-pick-a-name: | ||
+ | &cYou must name your arena! &9The arena name must not have any spaces. | ||
+ | &aIf you have not already, make sure to read the setup guide: https:// | ||
+ | success: '& | ||
+ | arena {ARENA}' | ||
+ | set: | ||
+ | lobby: '& | ||
+ | maxplayers: '& | ||
+ | pos1: '& | ||
+ | pos2: '& | ||
+ | startloc: '& | ||
+ | delete: | ||
+ | arena-not-found: | ||
+ | match!' | ||
+ | no-arena: '& | ||
+ | success: '& | ||
+ | saved: | ||
+ | success: '& | ||
+ | fail: '& | ||
+ | for more details.' | ||
+ | cant-find-in-queue: | ||
+ | &cCould not find that arena in the editing queue! | ||
+ | &aTry creating an arena with & | ||
+ | import: | ||
+ | success: '& | ||
+ | {ARENA}' | ||
+ | not-enough-args: | ||
+ | could-not-find: | ||
+ | match too!' | ||
+ | more-args: | ||
+ | maxplayers: '& | ||
+ | not-enough-positions: | ||
+ | &cAll positions have not been set! | ||
+ | &9Make sure you have set ' | ||
+ | must-put-a-name: | ||
+ | joining: | ||
+ | no-args: '& | ||
+ | no-arena: '& | ||
+ | arena-full: '& | ||
+ | lobby-not-set: | ||
+ | already-in: '& | ||
+ | signs: | ||
+ | states: | ||
+ | PREGAME: '& | ||
+ | INITIALIZING: | ||
+ | RESETTING: '& | ||
+ | STARTING: '& | ||
+ | ENDING: '& | ||
+ | WAITING: '& | ||
+ | INGAME: '& | ||
+ | add: | ||
+ | could-not-find: | ||
+ | success: '& | ||
+ | not-a-sign: '& | ||
+ | need-an-arena: | ||
+ | already-added: | ||
+ | list: | ||
+ | none: '& | ||
+ | remove: | ||
+ | success: '& | ||
+ | not-arenasign: | ||
+ | not-a-sign: '& | ||
+ | lines: | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | ' | ||
+ | arena: | ||
+ | end: | ||
+ | winner: "& | ||
+ | nobody: '& | ||
+ | ingame: | ||
+ | eliminate: '& | ||
+ | air: | ||
+ | warn: '& | ||
+ | eliminate: '& | ||
+ | spread-out: '& | ||
+ | game-ended: '& | ||
+ | pregame: | ||
+ | platecountdown: | ||
+ | still-resetting: | ||
+ | done)' | ||
+ | teleported-to-lobby: | ||
+ | lobby: | ||
+ | bossbar: '& | ||
+ | canceled: '& | ||
+ | need-more-players: | ||
+ | countdown: '& | ||
+ | join: '& | ||
+ | leave: '& | ||
+ | must-be-ingame: | ||
+ | stats: | ||
+ | played: '& | ||
+ | cannot-find-player: | ||
+ | wins: '& | ||
+ | losses: '& | ||
+ | header: | ||
+ | own: '& | ||
+ | other: '& | ||
+ | mainlobby: | ||
+ | success: '& | ||
+ | fail: '& | ||
+ | for more info.' | ||
+ | forcestart: | ||
+ | success: '& | ||
+ | fail: | ||
+ | not-waiting: | ||
+ | noarena: '& | ||
+ | arena-not-found: | ||
+ | editing: | ||
+ | none: '& | ||
+ | noperm: '& | ||
+ | reloaded: '& | ||
+ | leaving: | ||
+ | left: '& | ||
+ | not-in: '& | ||
+ | command-blocked: | ||
+ | list: | ||
+ | none: '& | ||
</ | </ | ||
行 81: | 行 352: | ||
这是一份已经汉化完成的message.yml | 这是一份已经汉化完成的message.yml | ||
- | 插件版本号:'' | + | 插件版本号:'' |
</ | </ | ||
<code yaml message.yml> | <code yaml message.yml> | ||
行 106: | 行 377: | ||
pos2: '& | pos2: '& | ||
startloc: '& | startloc: '& | ||
+ | maxplayers: '& | ||
delete: | delete: | ||
arena-not-found: | arena-not-found: | ||
行 124: | 行 396: | ||
& | & | ||
must-put-a-name: | must-put-a-name: | ||
+ | more-args: | ||
+ | maxplayers: '& | ||
joining: | joining: | ||
no-args: '& | no-args: '& | ||
行 129: | 行 403: | ||
lobby-not-set: | lobby-not-set: | ||
already-in: '& | already-in: '& | ||
+ | arena-full: '& | ||
signs: | signs: | ||
states: | states: | ||
行 205: | 行 480: | ||
list: | list: | ||
none: '& | none: '& | ||
+ | |||
</ | </ | ||
===== storage.yml ===== | ===== storage.yml ===== | ||
==== 原版 ==== | ==== 原版 ==== | ||
+ | <WRAP info 100%> | ||
+ | 这是一份自动生成的storage.yml | ||
+ | |||
+ | 插件版本号:'' | ||
+ | </ | ||
<code yaml storage.yml> | <code yaml storage.yml> | ||
+ | # | ||
+ | # | ||
+ | # This file tells the plugin where it | ||
+ | # should store player stats. | ||
+ | # | ||
+ | # The method option can either be ' | ||
+ | # If it is mysql, you must configure the mysql section below. | ||
+ | # | ||
+ | # | ||
+ | method: yaml | ||
+ | mysql: | ||
+ | useSSL: false | ||
+ | password: '' | ||
+ | ip: 127.0.0.1: | ||
+ | database: '' | ||
+ | table: ajtntrun_stats | ||
+ | username: '' | ||
</ | </ | ||
行 217: | 行 515: | ||
这是一份已经汉化完成的storage.yml | 这是一份已经汉化完成的storage.yml | ||
- | 插件版本号:'' | + | 插件版本号:'' |
</ | </ | ||
<code yaml storage.yml> | <code yaml storage.yml> | ||
行 240: | 行 538: | ||
===== commands.yml ===== | ===== commands.yml ===== | ||
==== 原版 ==== | ==== 原版 ==== | ||
+ | <WRAP info 100%> | ||
+ | 这是一份自动生成的commands.yml | ||
+ | |||
+ | 插件版本号:'' | ||
+ | </ | ||
<code yaml commands.yml> | <code yaml commands.yml> | ||
+ | # These are commands that will be executed when a certain part of the game happens. | ||
+ | # If you add " | ||
+ | end: | ||
+ | enabled: false | ||
+ | commands: | ||
+ | - say {PLAYER} won! | ||
+ | eliminate: | ||
+ | enabled: false | ||
+ | commands: | ||
+ | - say {PLAYER} was eliminated! | ||
</ | </ | ||
行 248: | 行 561: | ||
这是一份已经汉化完成的commands.yml | 这是一份已经汉化完成的commands.yml | ||
- | 插件版本号:'' | + | 插件版本号:'' |
</ | </ | ||
<code yaml commands.yml> | <code yaml commands.yml> | ||
行 262: | 行 575: | ||
- say {PLAYER} 被淘汰了! | - say {PLAYER} 被淘汰了! | ||
</ | </ | ||
+ | |||
+ | ===== items.yml ===== | ||
+ | ==== 原版 ==== | ||
+ | <WRAP info 100%> | ||
+ | 这是一份自动生成的items.yml | ||
+ | |||
+ | 插件版本号:'' | ||
+ | </ | ||
+ | <code yaml items.yml> | ||
+ | # Dont touch | ||
+ | config-version: | ||
+ | |||
+ | # The options ending in mat are the materials that the items will be (e.g. BED) | ||
+ | # Some item names are automatically converted between versions (e.g. BED will be changed to RED_BED on 1.13+) | ||
+ | |||
+ | |||
+ | lobby-leave-enabled: | ||
+ | lobby-leave-mat: | ||
+ | lobby-leave-name: | ||
+ | lobby-leave-lore: | ||
+ | - "& | ||
+ | - "& | ||
+ | lobby-leave-slot: | ||
+ | |||
+ | |||
+ | lobby-stats-enabled: | ||
+ | lobby-stats-mat: | ||
+ | lobby-stats-name: | ||
+ | lobby-stats-lore: | ||
+ | - "& | ||
+ | - "& | ||
+ | lobby-stats-slot: | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==== 汉化版 ==== | ||
+ | <WRAP info 100%> | ||
+ | 这是一份已经汉化完成的items.yml | ||
+ | |||
+ | 插件版本号:'' | ||
+ | </ | ||
+ | <code yaml items.yml> | ||
+ | # 不要改 | ||
+ | config-version: | ||
+ | |||
+ | # lobby-leave-mat项是物品名 (例如:BED) | ||
+ | # 某些物品名在不同版本间将被转换 (例如:BED 在1.13+会转换成 RED_BED) | ||
+ | |||
+ | |||
+ | lobby-leave-enabled: | ||
+ | lobby-leave-mat: | ||
+ | lobby-leave-name: | ||
+ | lobby-leave-lore: | ||
+ | - "& | ||
+ | lobby-leave-slot: | ||
+ | |||
+ | |||
+ | lobby-stats-enabled: | ||
+ | lobby-stats-mat: | ||
+ | lobby-stats-name: | ||
+ | lobby-stats-lore: | ||
+ | - "& | ||
+ | lobby-stats-slot: | ||
+ | |||
+ | </ | ||
+ |