本帖最后由 名副其实 于 2020-11-8 14:00 编辑
Time In A Bottle
时间之瓶
- - -[插件介绍]- - -
这个插件为你的服务器增加了一个新的物品:时间之瓶
它通过你在服务器内的时长增加内含的时间
(说白了就是收集你在服务器的时间)
来可以让你用于其他的地方
- - -[插件用法]- - -
拿着有不少于0时间的时间之瓶
右键你想要加速的方块即可
可被加速的方块/物品列表:
那么,怎么合成时间之瓶?
(按图中合成即可)
拿着瓶子对想要加速的方块右键即可
加速等级从低到高分别为
紫->蓝->黄->橙->白->红
注意弄成红色的话可能会导致服务器卡顿[需要证明]
另外作者在回复中表示此插件不能用yum或者plugman等插件在游戏内重载,否则会造成问题
- - -[授权搬运]- - -
- - -[插件指令与权限]- - -
/tiab 显示帮助
/tiab getBottle 获得时间之瓶
/tiab giveBottle 玩家名 给予玩家时间之瓶
/tiab addTime 时间 往瓶中存入特定数量的时间,单位只能是秒
/tiab debug 开启调试模式,注意这会造成玩家聊天栏刷屏
绿色默认玩家拥有,红色默认OP拥有
timeinabottle.tiab.getbottle
timeinabottle.tiab.givebottle
timeinabottle.tiab.addtime
允许在瓶内时间不足的时候使用时间之瓶
- - -[插件配置]- - -
config.yml
(1.64 KB, 下载次数: 15)
#
# DON'T TOUCH THIS
#
file-version: 2
#
# BOTTLE SETTINGS
#
bottle:
# Max time in seconds
max-time: 2147483647
# 每一等级耗费的时间,单位为秒
level-cost: 30
# 尝试使用在未知方块上[未探明]
unknown-blocks: true
#
# 启用的方块列表
# The blocks in this list have their behaviour coded, unknown blocks
# will be tried to be ticked unless bottle.unknown-blocks is disabled.
#
# 启用的方块列表可在SpigotMC原贴找到未修改版
# 方块种类可在SpigotMCG官网找到
#
enabled-blocks:
- FURNACE
- BLAST_FURNACE
- SMOKER
- WHEAT
- CARROTS
- POTATOES
- BEETROOTS
- SUGAR_CANE
- CACTUS
- KELP
- CHORUS_FLOWER
- SWEET_BERRY_BUSH
- BAMBOO
- COCOA
- NETHER_WART
- OAK_SAPLING
- BIRCH_SAPLING
- ACACIA_SAPLING
- DARK_OAK_SAPLING
- JUNGLE_SAPLING
- SPAWNER
- TURTLE_EGG
- CAMPFIRE
- BREWING_STAND
#
# RECIPE
# 配方
# 重载服务器后才会使这个修改生效
#
# 不建议修改
recipe:
pattern:
# Crafting Bench Rows
# Top Row
- "GGG"
# Second Row
- "DCD"
# Third Row
- "LBL"
materials:
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
G: GOLD_INGOT
D: DIAMOND
C: CLOCK
L: LAPIS_LAZULI
B: GLASS_BOTTLE
#
# SOUNDS
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
#
# 声音,声音列表在上方
sounds:
error: ENTITY_VILLAGER_NO
# 错误提醒
level-up: BLOCK_NOTE_BLOCK_HARP
# 使用成功(等级上升)
level-up-under: BLOCK_BREWING_STAND_BREW
# 使用成功(等级下降)
|
lang.yml
(2.88 KB, 下载次数: 13)
#
# DON'T TOUCH THIS
#
file-version: 1
#
# 消息列表:
#
prefix: "&8[&eTIAB&8]&r"
reload: "{prefix} &a插件已成功重载."
time-format: "{hours} 时 | {minutes} 分 | {seconds} 秒"
key-missing: "{prefix} &c信息对应的前缀: &o`{key}` &c没有找到!"
#
# Plugin Boot Messages:
#
register-commands: "{prefix} 注册命令中"
register-recipes: "{prefix} 注册配方中"
register-tasks: "{prefix} 注册对话中"
register-events: "{prefix} 注册事件中"
#
# Plugin Shutdown messages:
#
unregister-commands: "{prefix} 注销命令中"
unregister-recipes: "{prefix} 注销配方中"
unregister-tasks: "{prefix} 注销对话中"
unregister-events: "{prefix} 注销事件中"
#
# Item Lore
#
# Due to how the plugin works, don't move or replace the {metaDataDoNotReplaceMe} lines
# If you do move or replace them, the replaced line will be ignored.
#
bottle-lore:
- "&7收集了的时间:"
- "&7{timeFormat}" #You can either use the {timeFormat} placeholder or use the {hours}, {minutes} and {seconds} placeholders here
- "&0{metaDataDoNotReplaceMe}"
- "&7&o时间被这个瓶子所收集"
- "&7&o必须放在背包中才会生效."
- "&0{metaDataDoNotReplaceMe}"
#
# Player Messages
# PAPI placeholders can be used here
#
not-enough-time: "{prefix} &c你没有足够的时间加速这个方块."
no-multi-craft: "{prefix} &c不能shift点击合成这个瓶子. 抱歉."
#
# Commands Section
# PAPI placeholders can be used here
#
no-permission: "{prefix} &c你没有使用此命令的权限."
not-player: "{prefix} &c只有玩家才可执行此命令."
player-missing: "{prefix} &c你没有输入玩家名."
player-not-found: "{prefix} &c没有名为 {target} 的玩家."
give-bottle: "{prefix} &a如果 {target} 在背包里有空格, 那么就会得到这个瓶子."
time-added: "{prefix} &a存储的时间已经增长了 &7{timeAdded} &a秒 / &7{timeFormat}&a."
time-invalid: "{prefix} &c无效字符."
time-empty: "{prefix} &c你没有提供一个有效的时间量."
no-bottle: "{prefix} &c你没有拿着时间之瓶!"
received-bottle: "{prefix} &e你收到了时间之瓶."
inventory-full: "{prefix} &c你的背包没有足够的空格."
help-message:
- "&3&m====================================================="
- "&e时间之瓶 v{version} 作者: &f{author}"
- ""
- "&b命令:"
- "&7/tiab getBottle &e给予你自己一个时间之瓶."
- "&7/tiab giveBottle <玩家名> &e给予玩家一个时间之瓶."
- "&7/tiab addTime <时间> &e往手中的时间之瓶存入特定数量的时间."
- "&7/tiab reload &e重载配置文档."
- ""
- "&8此插件的开发灵感来源于 Random Things 模组."
- "&3&m====================================================="
|
[下载地址]
[写在最后]
不求金粒,不求人气
致力于打造一个更好的Minecraft
更新记录:优化了合成方式的算法
添加了调试指令
hotfix:修复了贴内所提到的熔炉BUG
修复了时间之瓶能够被丢出的BUG