Forgetful Vaults 是一款 Minecraft 插件,允许服务器管理员自动或手动重置试炼 chambers(Trial Chamber)中的宝箱,以便玩家可以多次重复使用它们。
目的
通常情况下,宝箱可以被无限数量的玩家搜刮,但每个玩家只能搜刮一次。Forgetful Vaults 插件移除了这一限制,使宝箱“忘记”已有玩家的记录,从而让他们能够像第一次那样再次使用宝箱。
命令
自动重置计划
该插件可以配置为自动重置所有位于当前加载区块中的保险箱,或者插件检测到之前使用过的保险箱。
日程表可配置为在特定时间或特定日期自动重置箱子,包括在同一天设置多个不同的时间点。
配置
配置文件位于 ForgetfulVaults 插件文件夹中的 config.yml 文件内。
# 当使用下方的 'instant-reset'(即时重置)或 'reset-after-open'(打开后重置)选项时
# 确定是为所有玩家重置,还是仅与箱子交互的玩家重置
global-reset: false
# 玩家打开保险箱后立即重置
instant-reset: false
# 在打开保险箱后多少秒进行重置,或设为 -1 以禁用
reset-after-open: -1
# 插件的重置功能应影响哪种类型的 Vault。
# 可接受的值:ALL(全部)、REGULAR(普通)、OMINOUS(不祥)
only-reset-type: ALL
# [ 计划内重置 ]
announce-scheduled-reset: true
scheduled-reset-announcement-msg: "&#e7721e全局刷新了所有已被掠夺的 Vaults!"
# 计划时钟应使用何种时区。
# 默认情况下,它将使用服务器所在地的本地时间。
# 所有可用时区 ID 列表:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
timezone-id: "LOCAL" # 示例:"America/New_York"
timed-reset: {}
# 计划表示例
#timed-reset:
# saturday:
# - "16:00" // 周六下午 4 点
# - "12:00" // 周六中午 12 点
# sunday:
# - "08:00" // 周日上午 8 点
# - "00:00" // 周日午夜 12 点
在配置文件所在的同一文件夹中,您还会找到 data.yml。该文件存储了插件启用期间被打开的所有保险箱的列表。
此列表由 /fv refresh-loaded 命令和计划内重置功能使用。除非您了解其工作原理,否则不建议手动编辑此文件。
权限:
forgetfulvaults.admin - 使用 /fv 管理员命令,默认仅限 OP(操作员)
杂项
- 如果您想报告问题或建议新功能,可以在此处提交 这里
- 本插件支持 Spigot、Bukkit、Paper、Purpur 或其他任何兼容 Spigot 插件的衍生版本。
- 项目图标由 gopg 制作
Forgetful Vaults is a minecraft plugin to allow server owners the ability to automatically or manually reset Trial Chamber's Vaults so players can reuse them multiple times.
Purpose
Normally, vaults can be looted by an infinite number of players, but only can be looted once per individual player. The Forgetful Vaults plugin removes this limitation, where the vault block will "forget" existing players, so they can use it again as if it was their first time.
Commands
- /fv refresh <coords> [player]
- If you specify a player, the vault will only be refreshed for that player. Not adding the player argument will reset the vault for everyone
- /fv refresh-loaded [ominous]
- Refresh all vaults in currently loaded chunks, as well as any previously opened vaults the plugin was able to log.
- Optional ominous command argument, if set to true, will only affect ominous vaults. Defaults to false if not included
- /fv reload
- Reload the plugin's config.yml
Automatic Reset Schedule
The plugin can be configured to automatically reset all vaults that are in currently loaded chunks, or ones that the plugin detects have been previously used.
The schedule can be configured to automatically reset vaults at certain times, on certain days, including multiple different times on the same day.
Configuration
The config file can be found in the ForgetfulVaults plugin folder, in the config.yml file.
# When using the 'instant-reset' or 'reset-after-open' options below
# Determine whether it should reset for all players, or just the player who interacted
global-reset: false
# Instantly reset a vault after a player opens it
instant-reset: false
# How many seconds after opening a vault to reset it, or -1 to disable
reset-after-open: -1
# What kind of Vault should be affected by the plugin's resets.
# Acceptable values are: ALL, REGULAR, OMINOUS
only-reset-type: ALL
# [ SCHEDULED RESETS ]
announce-scheduled-reset: true
scheduled-reset-announcement-msg: "&#e7721eGlobally refreshed all looted Vaults!"
# What timezone should the schedule clock use.
# By default, it will the local time of wherever the server is located.
# A list of all available Timezone IDs: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
timezone-id: "LOCAL" # Example: "America/New_York"
timed-reset: {}
# EXAMPLE SCHEDULE
#timed-reset:
# saturday:
# - "16:00" // Saturday at 4PM
# - "12:00" // Saturday at Noon
# sunday:
# - "08:00" // Sunday at 8AM
# - "00:00" // Sunday at Midnight
In the same folder as the config, you will also find the data.yml. This file stores a list of any vaults that were opened while the plugin was enabled.
This list is used by the /fv refresh-loaded command and for the scheduled resets. It is not recommended to manually edit this file unless you know what you are doing.
Permissions:
forgetfulvaults.admin - Use the /fv admin command, defaults to OP only
Miscellaneous
- If you'd like to report an issue or suggest a feature, you can do so here
- This plugin supports Spigot, Bukkit, Paper, Purpur, or any other similar forks that support spigot plugins.
- Project icon made by gopg
评论 0
登录后参与评分
还没有评论,来抢沙发吧