wiki:ajtntrun:config_files

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
wiki:ajtntrun:config_files [2020/10/18 22:28]
wiki:ajtntrun:config_files [2021/01/03 22:07] (当前版本)
行 5: 行 5:
 ===== config.yml ===== ===== config.yml =====
 ==== 原版 ==== ==== 原版 ====
-<code yaml message.yml>+<WRAP info 100%> 
 +这是一份自动生成的config.yml 
 + 
 +插件版本号:''1.3.3'' 
 +</WRAP> 
 +<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: 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;
 +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 
 + 
 +# 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
  
 </code> </code>
行 13: 行 109:
 这是一份已经汉化完成的config.yml 这是一份已经汉化完成的config.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.3''
 </WRAP> </WRAP>
 <code yaml config.yml> <code yaml config.yml>
 # 请不要修改这个 # 请不要修改这个
-config-version: 2+# 注意:这是配置文件版本,而不是插件版本 
 +config-version: 7
  
 # 开始游戏需要的最低玩家数量 # 开始游戏需要的最低玩家数量
行 68: 行 165:
 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
 +
 +# 玩家在空中多久后将其判为失败
 +#  默认为10
 +air-eliminate-time: 10
 +
 +
 +# 是否开启调试模式
 +# 将输出额外的调试信息,这可能对开发人员寻找错误有所帮助
 +#  默认为 false
 +debug: false
 </code> </code>
  
 ===== message.yml ===== ===== message.yml =====
 ==== 原版 ==== ==== 原版 ====
 +<WRAP info 100%>
 +这是一份自动生成的message.yml
 +
 +插件版本号:''1.3.1''
 +</WRAP>
 <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: '&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&              \n\n&r&a{WINNER} &2wins!\n\n&7&              "
 +    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&      &r &9Your stats &7&      &r'
 +    other: '&7&      &r &9{NAME}''s stats &7&      &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'
  
 </code> </code>
行 84: 行 352:
 这是一份已经汉化完成的message.yml 这是一份已经汉化完成的message.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml message.yml> <code yaml message.yml>
行 109: 行 377:
     pos2: '&a第二个点已设置'     pos2: '&a第二个点已设置'
     startloc: '&a开始位置已设置'     startloc: '&a开始位置已设置'
 +    maxplayers: '&a最大玩家数已设置'
   delete:   delete:
     arena-not-found: '&c无法找到此游戏场地'     arena-not-found: '&c无法找到此游戏场地'
行 127: 行 396:
     &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您必须输入一个游戏场地的名称才能加入游戏!'
行 132: 行 403:
   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:
行 208: 行 480:
 list: list:
   none: '&7尚未创建游戏场地!&9请使用 &b/tntrun createarena &9创建。'   none: '&7尚未创建游戏场地!&9请使用 &b/tntrun createarena &9创建。'
 +
 </code> </code>
  
 ===== storage.yml ===== ===== storage.yml =====
 ==== 原版 ==== ==== 原版 ====
 +<WRAP info 100%>
 +这是一份自动生成的storage.yml
 +
 +插件版本号:''1.3.1''
 +</WRAP>
 <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 '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: ''
  
 </code> </code>
行 220: 行 515:
 这是一份已经汉化完成的storage.yml 这是一份已经汉化完成的storage.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml storage.yml> <code yaml storage.yml>
行 243: 行 538:
 ===== commands.yml ===== ===== commands.yml =====
 ==== 原版 ==== ==== 原版 ====
 +<WRAP info 100%>
 +这是一份自动生成的commands.yml
 +
 +插件版本号:''1.3.1''
 +</WRAP>
 <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 "[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!
  
 </code> </code>
行 251: 行 561:
 这是一份已经汉化完成的commands.yml 这是一份已经汉化完成的commands.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml commands.yml> <code yaml commands.yml>
行 265: 行 575:
   - say {PLAYER} 被淘汰了!   - say {PLAYER} 被淘汰了!
 </code> </code>
 +
 +===== items.yml =====
 +==== 原版 ====
 +<WRAP info 100%>
 +这是一份自动生成的items.yml
 +
 +插件版本号:''1.3.1''
 +</WRAP>
 +<code yaml items.yml>
 +# 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
 +
 +</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.1603031292.txt.gz
  • 最后更改: 2020/10/18 22:28