你刚才看到的真的是钻石矿石吗?还是说被 Fool's Diamond 坑了一把?
关于插件
Fool's Diamond 是一款专为愚人节制作的恶作剧插件。当玩家不注意时,它会偶尔将钻石矿石和荧光蕨互相伪装,让玩家感到困惑。这种变化纯粹是视觉上的,无需任何 资源包 即可生效。你可以悄悄地将插件添加到服务器中,而不会引起玩家的怀疑,然后坐享其成,看着他们被伪装的荧光蕨耍得团团转!
重要提示:
- 不建议在启用此插件的同时预生成区块。要么提前进行预生成,要么使用
/foolsdiamond override false 在预生成期间临时禁用插件。
简要演示
该插件提供了广泛的配置选项,用于设置何时何地开始搞怪,以及一些性能优化选项。
配置
# 请勿修改此项。
version: 1
# 启用 Bstats 指标统计。
enable-metrics: true
# 插件开始搞怪的时机选项。
enable:
# 全天候、每天都开启搞怪模式。
always: false
# 插件开始在服务器上搞怪的特定日期。
# 需要重启服务器。
on-date: Apr 1
# 与变形方块行为相关的选项。
morphing-block:
# 启用或禁用某种方块伪装成另一种方块的能力。
# 需要重启服务器。
enable:
glow-lichen: true
diamond-ore: true # 这适用于石头变种和深板岩变种两种钻石矿石。
# 插件是否应使用光方块来隐藏钻石矿石变为荧光蕨(反之亦然)时发生的光照变化。这将导致钻石矿石持续发光,对于没有夜视效果或未使用全亮资源包的玩家来说,这可能会显得很奇怪。
# 需要重启服务器。
handle-light-change: false
# 当玩家移开视线时,方块变成另一种方块的概率。让那些反复检查三四次发现钻石矿石没有变回原样的玩家怀疑人生吧!
# 有效范围为 0.0 到 1.0,其中 0.0 表示从不,1.0 表示总是。
chance: 0.3
# 变形方块出现的维度。区分大小写。
appear-in:
- world
# 与变形方块缓存相关的选项。
cache:
# 区块卸载后,变形方块保留在缓存中的时长,单位为秒。如果设置为 0 秒,
# 方块将立即从缓存中移除,并在区块再次加载时必须重新创建。
# 只要服务器内存充足,通常最好尽可能长时间地保留方块缓存,因为
# 重新创建变形方块比在区块加载时简单地重新验证缓存中的方块更耗时。
# 仅适用于配置重载后卸载的方块。
# 范围:0 到最大整数值。
ttl-after-unload: 120
# 两次重新验证变形方块之间的时间间隔(以秒为单位),以确保它仍然是插件预期的那个方块。
# 仅适用于配置重载后新建或刷新的方块。
# 范围:0 到最大整数值。
ttl-after-refresh: 30
# 插件是否应在放置、破坏或修改的方块处或其附近立即重新验证变形方块。如果服务器玩家活动频繁,将此设置为 false 可能会提高服务器性能,
# 但代价是变形方块直到正常刷新时间才会更新。
refresh-on-block-change: true
该插件还提供了一些命令,用于检查和管理其状态,以及在出现问题时进行调试。
命令
/fd status - 检查插件将在何时开始搞怪。
/fd override true/false - 手动更改插件的状态,覆盖配置选项。此覆盖不会在服务器重启后持久存在。如果你需要暂时暂停插件以执行某些不受影响的操作(例如区块预生成),可以使用此命令。
/fd override clear - 移除手动覆盖,使插件遵循配置文件中的启用选项。
/fd reload - 重新加载配置文件。
/fd getData - 用于调试目的。检查你正在观察的方块,看它是否被分类为变形方块及其属性。
权限
foolsdiamond.exclude - 排除某位玩家被伪装方块困扰。
foolsdiamond.command.reload - 允许玩家使用重载命令。
foolsdiamond.command.override - 允许玩家使用覆盖命令。
foolsdiamond.command.status - 允许玩家使用状态命令。
foolsdiamond.command.getdata - 允许玩家使用 getData 命令。
Was that really a diamond ore you just saw? Or did you just got pranked by Fool's Diamond?
About the plugin
Fool's Diamond is a prank plugin made specifically for April Fools Day. It bewilders players by occasionally disguise diamond ore and glow lichen as each other whenever players aren't looking. The change is purely visual and requires no resource pack to work. You can sneakily add the plugin to your server without the players suspecting a single thing then sit back and enjoy watching them getting bamboozled by a disguised glow lichen!
Important notes:
- It is not recommended to pre-gen chunks while having this plugin enabled. Either do it beforehand or use
/foolsdiamond override false to temporarily disable the plugin during the pre-gen.
Brief Demostration
The plugin offers expansive configuration options on when and where it will do the trolling, as well as a few options for performance optimization.
Configuration
# Don't touch this, please.
version: 1
# Enables Bstats metrics.
enable-metrics: true
# Options on when the plugin should start doing its antics.
enable:
# Enable trolling all day, every day.
always: false
# A single day the plugin will begin trolling players on.
# Server restart required.
on-date: Apr 1
# Options related to the behavior of a morphing block.
morphing-block:
# Enable or disable a block type's ability to disguise as another.
# Server restart required.
enable:
glow-lichen: true
diamond-ore: true # This applies to both stone and deepslate ore variants.
# Whether the plugin should use light blocks to hide light change that occurs when diamond ore changes to glow
# lichen and vice versa. This will result in diamond ores constantly emitting light, which may appear strange
# to players playing without night vision or fullbright resourcepack.
# Server restart required.
handle-light-change: false
# How likely is the block to morph into another when a player looks away. Make players feel they're going
# crazy when the diamond ore they thought they saw doesn't change back on triple- or quadruple-check!
# Valid range is 0.0 to 1.0, with 0.0 being never and 1.0 being always.
chance: 0.3
# Worlds the morphing blocks will appear in. Case-sensitive.
appear-in:
- world
# Options related to the cache for morphing blocks.
cache:
# How long a morphing block remains cached after its chunk is unloaded, measured in SECONDS. If set to 0 seconds,
# the block would be removed from cache immediately and must be recreated when the chunk loads again.
# It's generally better to keep blocks cached as long as possible, provided the server has enough memory, as
# recreating a morphing block is more time-consuming than simply revalidating a cached one on chunk load.
# Applies only to blocks unloaded after config reload.
# Range: 0 to max integer value.
ttl-after-unload: 120
# Interval in SECONDS between times a morphing block is revalidated to ensure it is still the same block
# the plugin expected it to be.
# Applies only to new or refreshed blocks after config reload.
# Range: 0 to max integer value.
ttl-after-refresh: 30
# Whether the plugin should immediately revalidate morphing blocks at or near the block being placed, destroyed,
# or modified. Setting this to false may improve server performance if the server has high player activity,
# but at the cost of the morphing blocks being outdated until their normal refresh time.
refresh-on-block-change: true
The plugin also has a few commands to check and override its status as well as to debug it if something doesn't seem to be working properly.
Commands
/fd status - Check when the plugin will start trolling players.
/fd override true/false - Manually change the plugin's status, overriding the config options. This override doesn't persist across server restarts. This may be used if you need to pause the plugin temporarily to do something without being affected, such as chunk pre-genning.
/fd override clear - Remove the manual override so the plugin follows the enable options in config instead.
/fd reload - Reloads the configuration file.
/fd getData - For debugging purpose. Check the block you're looking at to see if it is classified as a morphing block and its properties.
Permissions
foolsdiamond.exclude - Excludes a player from being haunted by disguised blocks.
foolsdiamond.command.reload - Allows the player to use the reload command.
foolsdiamond.command.override - Allows the player to use the override command.
foolsdiamond.command.status - Allows the player to use the status command.
foolsdiamond.command.getdata - Allows the player to use the getData command.
评论 0
登录后参与评分
还没有评论,来抢沙发吧