wiki:ajtntrun:config_files

这是本文档旧的修订版!


配置文件

本页面内容并不完整,可能有错误或者遗漏的地方

UPW欢迎您帮助我们完善这个页面

这是一份自动生成的config.yml

插件版本号:1.3.1

config.yml
# Dont touch this number please
config-version: 6
 
# 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: 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;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
 
 
# 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.1

config.yml
# 请不要修改这个
config-version: 2
 
# 开始游戏需要的最低玩家数量
#  默认为 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
 
 
# 是否开启调试模式
# 将输出额外的调试信息,这可能对开发人员寻找错误有所帮助
#  默认为 false
debug: false
message.yml
# 暂无

这是一份已经汉化完成的message.yml

插件版本号:1.3.1

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: '&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.2.4

storage.yml
# 
# 
# 这个文件告诉插件它应该在何处存储玩家的统计信息
# 
# 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.2.4

commands.yml
# 你可以在这里设置游戏进行到特定部分时触发的命令
# 如果在命令前面加上前缀“[p]”(不带引号)则以玩家身份执行命令,否则以控制台身份执行
end:
  enabled: false
  commands:
  - say {PLAYER} 获胜!
eliminate:
  enabled: false
  commands:
  - say {PLAYER} 被淘汰了!
你需要登录发表评论。
  • wiki/ajtntrun/config_files.1606551858.txt.gz
  • 最后更改: 2020/11/28 16:24