wiki:ajtntrun:config_files

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
wiki:ajtntrun:config_files [2020/11/28 16:24]
wiki:ajtntrun:config_files [2021/01/03 22:07] (当前版本)
行 8: 行 8:
 这是一份自动生成的config.yml 这是一份自动生成的config.yml
  
-插件版本号:''1.3.1''+插件版本号:''1.3.3''
 </WRAP> </WRAP>
 <code yaml config.yml> <code yaml config.yml>
 # Dont touch this number please # Dont touch this number please
-config-version: 6+# Note: this is the config version, not the plugin version. 
 +config-version: 7
  
 # The minimum amount of players required to start the game. # The minimum amount of players required to start the game.
行 42: 行 43:
  
 # These options control blocking of commands when in an arena. # These options control blocking of commands when in an arena.
-# to disable blocking comands, change the block-commands: true+# to disable blocking comands, change the block-commands to false.
 #  Default: true #  Default: true
 block-commands: true block-commands: true
-allowed-commands: +allowed-commands:
 - atr - atr
 - tntrun - tntrun
行 91: 行 92:
 #  Default: 10 #  Default: 10
 block-fall-delay: 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
  
  
行 104: 行 109:
 这是一份已经汉化完成的config.yml 这是一份已经汉化完成的config.yml
  
-插件版本号:''1.3.1''+插件版本号:''1.3.3''
 </WRAP> </WRAP>
 <code yaml config.yml> <code yaml config.yml>
 # 请不要修改这个 # 请不要修改这个
-config-version: 2+# 注意:这是配置文件版本,而不是插件版本 
 +config-version: 7
  
 # 开始游戏需要的最低玩家数量 # 开始游戏需要的最低玩家数量
行 187: 行 193:
 #  默认为 10 #  默认为 10
 block-fall-delay: 10 block-fall-delay: 10
 +
 +# 玩家在空中多久后将其判为失败
 +#  默认为10
 +air-eliminate-time: 10
  
  
行 197: 行 207:
 ===== 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>
  
行 338: 行 485:
 ===== 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>
  
行 346: 行 515:
 这是一份已经汉化完成的storage.yml 这是一份已经汉化完成的storage.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml storage.yml> <code yaml storage.yml>
行 369: 行 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>
  
行 377: 行 561:
 这是一份已经汉化完成的commands.yml 这是一份已经汉化完成的commands.yml
  
-插件版本号:''1.2.4''+插件版本号:''1.3.1''
 </WRAP> </WRAP>
 <code yaml commands.yml> <code yaml commands.yml>
行 391: 行 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.1606551858.txt.gz
  • 最后更改: 2020/11/28 16:24