====== 配置文件 ====== {{page>template:incomplete&nofooter&noeditbtn&noheader}} ===== config.yml ===== ==== 原版 ==== 这是一份自动生成的config.yml 插件版本号:''1.3.3'' # Dont touch this number please # Note: this is the config version, not the plugin version. config-version: 7 # The minimum amount of players required to start the game. # Default: 2 min-players: 2 # 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 to false. # 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;2 pregame-countdown-sound: block.note_block.pling;2 # 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;1 game-start-sound: entity.ender_dragon.growl;1 # 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 # After how long should a player over air/on the corner of blocks be eliminated? # Default: 10 air-eliminate-time: 10 # Should debugging be enabled? # This will put extra info that can be usefull to the developer to diagnose issues. # Default: false debug: false ==== 汉化版 ==== 这是一份已经汉化完成的config.yml 插件版本号:''1.3.3'' # 请不要修改这个 # 注意:这是配置文件版本,而不是插件版本 config-version: 7 # 开始游戏需要的最低玩家数量 # 默认为 2 min-players: 2 # 当玩家数达到最低要求后的倒计时等待时间 # 默认为 30 lobby-countdown: 30 # 玩家被传送到游戏场地后游戏开始前的倒计时时间 # 默认为 10 plate-countdown: 10 # 游戏结束后,将玩家传送回大厅前倒计时的时间 # 默认为 10 end-duration: 10 # 是否允许玩家互相攻击 # 默认为 true block-pvp: true # Bungee模式(服务器上必须有一个游戏场地) # 默认为 false enable-bungee: false # 当游戏结束或玩家离开时将玩家传送到的服务器 bungee-remove-to: lobby # 在游戏开始后禁止玩家使用命令 # 如果要允许玩家使用命令,需要把block-commands设置为false # 默认为 true block-commands: true allowed-commands: - atr - tntrun - tr - msg - r - w - whisper - tell # 是否开启自动更新 # 默认为 true enable-updater: true # 是否通知管理员有新更新 # 默认为 true notify-update: true # 使用什么速度回滚游戏场地 # 数字越大 = 回滚速度越快 = 对服务器造成的压力越大 # 默认为 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 # 玩家在空中多久后将其判为失败 # 默认为10 air-eliminate-time: 10 # 是否开启调试模式 # 将输出额外的调试信息,这可能对开发人员寻找错误有所帮助 # 默认为 false debug: false ===== message.yml ===== ==== 原版 ==== 这是一份自动生成的message.yml 插件版本号:''1.3.1'' # # # 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: '&cThat arena 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://gitlab.com/ajg0702/ajtntrun/wikis/creating-an-arena success: '&aArena {ARENA} successfully created! Now add positions with /{CMD} arena {ARENA}' set: lobby: '&aLobby position set!' maxplayers: '&aMax player count set!' pos1: '&aFirst position set!' pos2: '&aSecond position set!' startloc: '&aStarting position set!' delete: arena-not-found: '&cCould not find an arena with that name. Make sure the capitals match!' no-arena: '&cPlease enter an arena to remove' success: '&aSuccessfully deleted arena {ARENA}!' saved: success: '&aArena saved!' fail: '&cAn error occured while trying to save the arena. &9Check the console for more details.' cant-find-in-queue: |- &cCould not find that arena in the editing queue! &aTry creating an arena with &2/{CMD} createarena&a, or load an existing arena with &2/{CMD} edit import: success: '&aPut arena {ARENA} into the edit queue. &9To edit it, use /{CMD} arena {ARENA}' not-enough-args: '&cEnter an arena name!' could-not-find: '&cCould not find an arena with that name. Make sure the caps match too!' more-args: maxplayers: '&cPlease give a number!' not-enough-positions: |- &cAll positions have not been set! &9Make sure you have set 'pos1', 'pos2', and 'startloc'. The 'lobby' and 'maxplayers' settings are optional. must-put-a-name: '&cPlease enter a name of an arena as the next argument.' joining: no-args: '&cYou must give an arena name to join!' no-arena: '&cThat arena could not be found.&9 Did you spell it correctly?' arena-full: '&cThat arena is full!' lobby-not-set: '&cThe main lobby has not been set yet! &9Set it using /tntrun setlobby' already-in: '&cYou are already in an arena!' signs: states: PREGAME: '&ePre-Game' INITIALIZING: '&cInitializing' RESETTING: '&cResetting' STARTING: '&aStarting' ENDING: '&eEnding' WAITING: '&aWaiting' INGAME: '&eIn-Game' add: could-not-find: '&cCould not find an arena with the name {ARENA}.' success: '&aSuccessfully added sign for arena {ARENA}!' not-a-sign: '&cThe block you are looking at is not a sign!' need-an-arena: '&cYou need to specify an arena!' already-added: '&cThat sign is already an arena sign!' list: none: '&7None' remove: success: '&aSuccessfully removed the sign you are looking at!' not-arenasign: '&cThe sign you are looking at is not an arena sign!' not-a-sign: '&cThe block you are looking at is not a sign!' lines: '1': '&e&laj&c&lTNT&b&lRun' '2': '&b{NAME}' '3': '{STATE}' '4': '&9{PLAYERS}/{MAX} player{s}' arena: end: winner: "&7&m \n\n&r&a{WINNER} &2wins!\n\n&7&m " nobody: '&7Nobody' ingame: eliminate: '&c{PLAYER} eliminated!' air: warn: '&cCareful! &aIf you are over air for much longer, you may be &celiminated!' eliminate: '&cYou were eliminated for being on top of air for too long!' spread-out: '&cSpread out!&a The pressure plates will activate in 10 seconds!' game-ended: '&aGame ended!' pregame: platecountdown: '&cPressure plates activating in {TIME} seconds!' still-resetting: '&cThat arena is currently resetting. Try again later. ({PERCENT}% done)' teleported-to-lobby: '&aThe game has ended!&9 You have been teleported to the lobby.' lobby: bossbar: '&aStarting in &2{TIME} &aseconds' canceled: '&cThe countdown was canceled because there is not enough players.' need-more-players: '&9We need {AMOUNT} more player{s} to start the game!' countdown: '&aThe game is starting in {TIME} seconds!' join: '&a+ &7{PLAYER} joined the arena! &7(&e{PLAYERS}&7/&e{MAX}&7)' leave: '&c- &7{PLAYER} left the arena! &7(&e{PLAYERS}&7/&e{MAX}&7)' must-be-ingame: '&cYou must be in-game to do this!' stats: played: '&b{NUM} &9games played' cannot-find-player: '&cCannot find that player!' wins: '&b{NUM} &9wins' losses: '&b{NUM} &9losses' header: own: '&7&m &r &9Your stats &7&m &r' other: '&7&m &r &9{NAME}''s stats &7&m &r' mainlobby: success: '&aSuccessfully set the main lobby!' fail: '&cAn error occured while trying to set the main lobby. Check the console for more info.' forcestart: success: '&aStarted the arena {ARENA}' fail: not-waiting: '&cThat game is not in a state that is able to be skipped!' noarena: '&cPlease enter an arena name to start.' arena-not-found: '&cCould not find the arena {ARENA}' editing: none: '&7Not currently editing any arenas.' noperm: '&cYou do not have permission to perform this action!' reloaded: '&aReloaded the config and messages!' leaving: left: '&aYou left the game!' not-in: '&cYou are not in a game!' command-blocked: '&cYou cannot execute this command while in a game!' list: none: '&7No arenas are set up yet! &9Try &b/tntrun createarena' ==== 汉化版 ==== 这是一份已经汉化完成的message.yml 插件版本号:''1.3.1'' # # # 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: '&c此游戏场地已存在!' creating: must-pick-a-name: |- &c你必须填写游戏场地的名称。&9游戏场地的名称中不得包含空格。 &a详细请阅读: https://gitlab.com/ajg0702/ajtntrun/wikis/creating-an-arena success: '&a游戏场地 {ARENA} 成功创建! 现在请使用 &2/{CMD} arena {ARENA} &a来设置场地' set: lobby: '&a大厅位置已设置' pos1: '&a第一个点已设置' pos2: '&a第二个点已设置' startloc: '&a开始位置已设置' maxplayers: '&a最大玩家数已设置' delete: arena-not-found: '&c无法找到此游戏场地' no-arena: '&c请输入要删除的游戏场地' success: '&a成功删除了游戏场地 {ARENA}' saved: success: '&a游戏场地保存完成' fail: '&c尝试保存游戏场地的设置时发生错误。&9请查看控制台以获取更多信息。' cant-find-in-queue: |- &c在编辑队列中找不到这个游戏场地! &a请使用命令 &2/{CMD} createarena &a创建一个游戏场地,或使用 &2/{CMD} edit 将游戏场地加入编辑队列 import: success: '&a已将游戏场地 {ARENA} 加入编辑队列。&9如果要编辑它请使用 /{CMD} arena {ARENA}' not-enough-args: '&c请输入游戏场地名' could-not-find: '&c无法找到此游戏场地' not-enough-positions: |- &c需要设置的点尚未全部设置! &9你需要设置“pos1”、“pos2”、“startloc”。“lobby”这一点是可选的。 must-put-a-name: '&c请输入一个游戏场地的名称' more-args: maxplayers: '&c请填写一个数字!' joining: no-args: '&c您必须输入一个游戏场地的名称才能加入游戏!' no-arena: '&c无法找到这个游戏场地!&9 请检查你输入的游戏场地名。' lobby-not-set: '&c主大厅尚未设置!&9请使用 /tntrun setlobby 设置!' already-in: '&c你已经在一个游戏场地中了' arena-full: '&c这个游戏场地已经满了!' signs: states: PREGAME: '&e游戏马上开始' INITIALIZING: '&c正在初始化中' RESETTING: '&c正在重置中' STARTING: '&a游戏即将开始' ENDING: '&e游戏已结束' WAITING: '&a等待中' INGAME: '&e游戏中' add: could-not-find: '&c找不到名称为 {ARENA} 的游戏场地' success: '&a成功创建了游戏场地 {ARENA} 的告示牌' not-a-sign: '&c你面向的方块不是告示牌!' need-an-arena: '&c需要输入场地名称' already-added: '&c这个告示牌已经是一个游戏场地的告示牌了!' list: none: '&7无' remove: success: '&a成功移除了你面向的告示牌' not-arenasign: '&c你面前的告示牌不是某个游戏场地的告示牌!' not-a-sign: '&c你面向的方块不是告示牌!' lines: '1': '&a[&e&laj&c&lTNT&b&lRun&a]' '2': '&b{NAME}' '3': '{STATE}' '4': '&9共 {PLAYERS} 玩家' arena: end: winner: "&7&m \n\n&r&a{WINNER} &2胜利!\n\n&7&m " nobody: '&7没有人' ingame: eliminate: '&c{PLAYER} 被淘汰了' air: warn: '&4【警告】&a如果你在空中停留太久,可能会被&c淘汰&a!' eliminate: '&c你因长时间停留在空中而被淘汰!' spread-out: '&a压力板将在10秒后可以被激活!' game-ended: '&a游戏结束!' pregame: platecountdown: '&c压力板将在 {TIME} 秒后可以被激活' still-resetting: '&c此游戏场地正在重置,请稍后再试(已完成 {PERCENT}%)' teleported-to-lobby: '&a游戏结束!&9已将你传送到大厅' lobby: bossbar: '&a游戏将在 &2{TIME} &a秒后开始' canceled: '&c玩家不足,倒计时取消!' need-more-players: '&9还需要 {AMOUNT} 个玩家才能开始游戏' countdown: '&a游戏将在 {TIME} 秒后开始' join: '&a+ &7{PLAYER} 加入了游戏' leave: '&c- &7{PLAYER} 离开了游戏' must-be-ingame: '&c你必须在游戏中才能做这个!' stats: played: '&9游戏次数: &b{NUM}' cannot-find-player: '&c无法找到此玩家的数据!' wins: '&9胜利: &b{NUM}' losses: '&9失败: &b{NUM}' header: own: '&7&m &r &9个人数据 &7&m &r' other: '&7&m &r &9{NAME}的数据 &7&m &r' mainlobby: success: '&a成功设置大厅' fail: '&c尝试设大厅时发生错误。&9查看控制台以获取更多信息。' forcestart: success: '&a开始游戏 {ARENA}' fail: not-waiting: '&c无法开始这场游戏!游戏可能已经开始。' noarena: '&c请输入场地名称' arena-not-found: '&c无法找到游戏场地 {ARENA}' editing: none: '&7当前未编辑任何场地' noperm: '&c你无权执行此操作!' reloaded: '&a重载完成' leaving: left: '&a你离开了游戏' not-in: '&c你还没加入游戏!' command-blocked: '&c你在游戏中无法使用此命令!' list: none: '&7尚未创建游戏场地!&9请使用 &b/tntrun createarena &9创建。' ===== storage.yml ===== ==== 原版 ==== 这是一份自动生成的storage.yml 插件版本号:''1.3.1'' # # # This file tells the plugin where it # should store player stats. # # The method option can either be 'yaml' or 'mysql'. # If it is mysql, you must configure the mysql section below. # # method: yaml mysql: useSSL: false password: '' ip: 127.0.0.1:3306 database: '' table: ajtntrun_stats username: '' ==== 汉化版 ==== 这是一份已经汉化完成的storage.yml 插件版本号:''1.3.1'' # # # 这个文件告诉插件它应该在何处存储玩家的统计信息 # # method可选的值:yaml 和 mysql # 如果你填写的是mysql,就必须要配置下面的mysql部分 # # method: yaml mysql: useSSL: false password: '' ip: 127.0.0.1:3306 database: '' table: ajtntrun_stats username: '' ===== commands.yml ===== ==== 原版 ==== 这是一份自动生成的commands.yml 插件版本号:''1.3.1'' # These are commands that will be executed when a certain part of the game happens. # If you add "[p]" (without quotes) to the beginning of a command, it will be executed as the player instead of the console. end: enabled: false commands: - say {PLAYER} won! eliminate: enabled: false commands: - say {PLAYER} was eliminated! ==== 汉化版 ==== 这是一份已经汉化完成的commands.yml 插件版本号:''1.3.1'' # 你可以在这里设置游戏进行到特定部分时触发的命令 # 如果在命令前面加上前缀“[p]”(不带引号)则以玩家身份执行命令,否则以控制台身份执行 end: enabled: false commands: - say {PLAYER} 获胜! eliminate: enabled: false commands: - say {PLAYER} 被淘汰了! ===== items.yml ===== ==== 原版 ==== 这是一份自动生成的items.yml 插件版本号:''1.3.1'' # Dont touch config-version: 2 # 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: true lobby-leave-mat: BED lobby-leave-name: "&cLeave game" lobby-leave-lore: - "&7Right-click to" - "&7leave the arena" lobby-leave-slot: 9 lobby-stats-enabled: true lobby-stats-mat: BOOK lobby-stats-name: "&eYour stats" lobby-stats-lore: - "&7Right-click to" - "&7see your stats" lobby-stats-slot: 1 ==== 汉化版 ==== 这是一份已经汉化完成的items.yml 插件版本号:''1.3.1'' # 不要改 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