SpyglassMe - 缩小与放大你的世界!
是否曾想过把苦力怕缩小到和蠹虫一样大,或者让你的宠物狼变成 towering giant(巨塔般的巨人)?SpyglassMe 引入了两种魔法望远镜,让你可以改变世界中几乎任何实体的大小!透过缩小镜让它们变得微小,或者通过生长镜让它们变得巨大。你的世界,由你掌控尺度!
功能特性
魔法望远镜
- 缩小镜 & 生长镜: 两款拥有自定义纹理的新式望远镜,作为你进行现实扭曲乐趣的工具。
- 获取方式: 可以使用默认配方制作这些望远镜,也可以在战利品箱中找到它们作为宝藏!这两种方法均可自定义配置。
动态缩放
- 简单易用: 只需注视一个实体(玩家、动物或怪物),然后按住右键即可连续改变其大小。你甚至可以向下看以改变自身的大小!
- 高度可配置: 使用
settings.yml 控制 SCALE_STEP(大小变化的幅度)和 SCALE_PER(效果是应用于每个“刻”还是每秒)。
- 目标权限: 细粒度的权限允许你控制谁可以调整其他玩家、动物、生物或他们自己的大小。
可配置的消耗系统
- 付费使用: 在
settings.yml 配置文件中设置使用望远镜的消耗。缩小和生长的消耗可以独立配置。
- 消耗类型: 可以选择
xp(经验值)、item(物品,例如 minecraft:diamond)、economy(通过命令集成服务器经济插件)或 none(无消耗)。
- 豁免权: 拥有
SpyGlassMe.bypass.cost 权限的玩家可免费使用望远镜。
安全限制与豁免
- 保持混乱可控: 配置服务器范围的
MIN_SCALE 和 MAX_SCALE 限制,以防止玩家创造出微观级别或大到破坏世界的实体。
- 超越限制: 拥有
SpyGlassMe.bypass.limits 权限的管理员或 VIP 玩家可以忽略配置的缩放限制。
银河系回归正常
- 重置自己: 喝多了生长药水?饮用标准牛奶桶会立即将你的体型重置为默认值。
- 重置他人: 把朋友弄得太小了?用牛奶桶右键点击任何实体会使其恢复原本的大小。
数据包与自定义
SpyglassMe 旨在让服务器所有者轻松自定义!
- 自动生成数据包: 当世界首次加载时,模组会自动在世界文件夹中的
datapacks 目录下创建一个名为 SpyGlassMe 的数据包。其中包含默认的合成配方,你可以自由编辑。
- 轻松的战利品自定义: 为了将望远镜添加到战利品箱中,我们提供了一个可选的预配置数据包,其中包含常见的战利品表。
- 在此下载战利品数据包:SpyGlassMe Loot Datapack
- 将下载文件中的战利品表文件复制到模组的自动生成数据包文件夹中 (
/datapacks/SpyGlassMe/...)。
- 在游戏中运行
/reload。这使你可以完全控制从任何结构箱中添加或删除望远镜!
- 重载: 配方和战利品的更改需要原版
/reload 命令,而 settings.yml 中的配置更改需要 /spyglassme reload。
命令
/spyglassme 或 /sg: 显示模组的主要帮助页面。
/spyglassme reload: 重新加载 settings.yml 配置文件。
/spyglassme give <type> <player>: 给予玩家一种特殊的望远镜。
/size: 将你自己的体型重置为默认值 (1.0)。
/size get <player>: 查看另一个玩家的当前体型。
/size <value|preset> [player]: 直接为自己或其他玩家设置缩放比例。预设包括 tiny(微小)、normal(正常)、giant(巨大)等!
单人游戏与权限说明
- 单人游戏: 所有功能默认可用,无需特殊设置。
- 多人游戏: 此模组使用 Fabric Permissions API。为了全面控制谁能做什么,建议在服务器上安装兼容的权限管理器(例如 LuckPerms)。
- 默认行为: 如果未找到权限管理器,权限将默认为所需的操作员等级(例如,管理命令需要 OP Level 4)。
点击查看所有权限节点及其描述
SpyGlassMe.command.use: 允许使用 /spyglassme 基础命令。
SpyGlassMe.command.reload: 允许使用 /spyglassme reload 命令。
SpyGlassMe.command.give: 允许使用 /spyglassme give 命令。
SpyGlassMe.command.size.self: 允许用户使用 /size 改变自己的体型。
SpyGlassMe.command.size.other: 允许用户使用 /size 改变其他玩家的体型。
SpyGlassMe.bypass.cost: 允许用户在不支付消耗的情况下使用望远镜。
SpyGlassMe.bypass.limits: 允许用户将实体缩放到超出配置的最小/最大限制。
SpyGlassMe.size.mobs: 允许用户对敌对/中立生物使用望远镜。
SpyGlassMe.size.animal: 允许用户对被动动物使用望远镜。
SpyGlassMe.size.self: 允许用户对自己使用望远镜。
SpyGlassMe.size.other: 允许用户对其他玩家使用望远镜。
SpyGlassMe.size.prevent: 使玩家免疫来自其他玩家的体型变化。
整合包政策
- 你 被允许 将此模组包含在任何整合包中。
- 请勿直接修改模组的 JAR 文件。
- 整合包本身,或整合包内访问此模组的方式,不得出售。
SpyglassMe - Shrink & Grow Your World!
Ever wanted to shrink a creeper to the size of a silverfish, or make your pet wolf a towering giant? SpyglassMe introduces two magical spyglasses that let you alter the size of almost any entity in the world! Gaze through the Shrinking Glass to make things tiny, or the Growing Glass to make them colossal. Your world, your scale!
Features
Magical Spyglasses
- Shrinking Glass & Growing Glass: Two new custom-textured spyglasses that serve as your tools for reality-bending fun.
- How to Obtain: The spyglasses can be crafted using the default recipes or found as treasure in loot chests! Both methods can be customized.
Dynamic Scaling
- Simple to Use: Just look at an entity (players, animals, or monsters) and hold right-click to continuously change their size. You can even look down to change your own size!
- Highly Configurable: Use
settings.yml to control the SCALE_STEP (how much size changes) and SCALE_PER (whether the effect applies per "tick" or per "second").
- Target Permissions: Fine-grained permissions allow you to control who can resize other players, animals, mobs, or themselves.
Configurable Cost System
- Pay to Play: Set a cost for using the spyglasses in the
settings.yml config file. Costs for shrinking and growing can be configured independently.
- Cost Types: Choose between
xp, item (e.g., minecraft:diamond), economy (integrates with server economy plugins via command), or none.
- Bypass: Players with the
SpyGlassMe.bypass.cost permission can use the spyglasses for free.
Safety Limits & Bypasses
- Keep Chaos in Check: Configure server-wide
MIN_SCALE and MAX_SCALE limits to prevent players from creating microscopic or world-breakingly large entities.
- Go Beyond: Admins or VIPs with the
SpyGlassMe.bypass.limits permission can ignore the configured scale limits.
The Milky Way Back to Normal
- Reset Yourself: Drank a little too much growing potion? Drinking a standard Milk Bucket will instantly reset your own size back to default.
- Reset Others: Made a friend a bit too tiny? Right-clicking any entity with a Milk Bucket will return them to their normal size.
Datapack & Customization
SpyglassMe is designed to be easily customized by server owners!
- Auto-Generated Datapack: When a world is first loaded, the mod automatically creates a
SpyGlassMe datapack inside your world's datapacks folder. This contains the default crafting recipes, which you can edit freely.
- Easy Loot Customization: To add the spyglasses to loot chests, we provide an optional pre-configured datapack with common loot tables.
- Download the loot datapack here: SpyGlassMe Loot Datapack
- Copy the loot table files from the download into the mod's auto-generated datapack folder (
/datapacks/SpyGlassMe/...).
- Run
/reload in-game. This gives you full control to add or remove spyglasses from any structure's chests!
- Reloading: Recipe and loot changes require the vanilla
/reload command, while config changes in settings.yml require /spyglassme reload.
Commands
/spyglassme or /sg: Shows the main help page for the mod.
/spyglassme reload: Reloads the settings.yml config file.
/spyglassme give <type> <player>: Gives a player one of the special spyglasses.
/size: Resets your own size to the default (1.0).
/size get <player>: Checks the current size of another player.
/size <value|preset> [player]: Directly sets the scale for yourself or another player. Presets include tiny, normal, giant, and more!
Single-Player & Permissions Notes
- Single-player: All features are available by default without any special setup.
- Multiplayer: This mod uses the Fabric Permissions API. For full control over who can do what, a compatible permission manager (e.g., LuckPerms) is recommended on the server.
- Default Behavior: If no permissions manager is found, permissions default to the required operator level (e.g., OP Level 4 for admin commands).
Click to view all permission nodes and their descriptions
SpyGlassMe.command.use: Allows use of the /spyglassme base command.
SpyGlassMe.command.reload: Allows use of the /spyglassme reload command.
SpyGlassMe.command.give: Allows use of the /spyglassme give command.
SpyGlassMe.command.size.self: Allows a user to change their own size with /size.
SpyGlassMe.command.size.other: Allows a user to change another player's size with /size.
SpyGlassMe.bypass.cost: Allows a user to use spyglasses without paying the cost.
SpyGlassMe.bypass.limits: Allows a user to scale entities beyond the configured min/max limits.
SpyGlassMe.size.mobs: Allows a user to use spyglasses on hostile/neutral mobs.
SpyGlassMe.size.animal: Allows a user to use spyglasses on passive animals.
SpyGlassMe.size.self: Allows a user to use spyglasses on themselves.
SpyGlassMe.size.other: Allows a user to use spyglasses on other players.
SpyGlassMe.size.prevent: Makes the player immune to size changes from other players.
Modpack Policy
- You ARE PERMITTED to include this mod in any modpack.
- Please do not modify the mod's JAR file directly.
- The modpack itself, or access to this mod within the modpack, must not be sold.
评论 0
登录后参与评分
还没有评论,来抢沙发吧