Split World
这是一个插件,允许创造模式与生存模式在同一世界中共存。你可以定义一个轴和一个位置,一侧为生存模式,另一侧为创造模式。该模组会自动管理边界两侧的物品栏保存与加载,以及药水效果。
游戏模式切换:
- 游戏模式可按世界设置
- 一个世界可以拥有两种游戏模式,通过一条边界将世界划分为创造模式侧和可配置的默认游戏模式侧
- 玩家的游戏模式和药水效果按各自的游戏模式进行管理
- 根据玩家处于缓冲区哪一侧,他们将被切换到生存模式或创造模式
- 边界轴由缓冲区填充,边界会通过可选的粒子效果进行可视化,以形成可见墙壁,并且/或者渲染为黑色混凝土材质的实心方块
- 当玩家切换游戏模式时会有声音提示,可通过命令启用或禁用(见下文)
- 包含多种防止作弊的方法(见下文)
缓冲区
- 由边界轴和位置定义,若
border_axis: 'X'且border_location: 0,则分界线将放置在 x=0 处, resulting in a border perpendicular to the x-axis(即垂直于 X 轴的边界) - 玩家在缓冲区内不会死亡
- 玩家在缓冲区内无法恢复生命值
- 玩家在缓冲区内饥饿值不会下降
- 玩家会被置于冒险模式并开启飞行能力
- 怪物无法进入缓冲区,它们会在边界处停止
- 怪物无法锁定位于缓冲区内的玩家为目标
- 如果玩家位于缓冲区内,则无法拾取物品
- 玩家无法在缓冲区内与箱子交互,也无法与非玩家所在侧的箱子交互
- 液体不会流入缓冲区
- 载具无法进入缓冲区
命令
- 玩家可以在创造模式侧使用 /fill、/setblock 和 /clone 命令,你必须通过 LuckPerms 授予相应权限,插件会阻止执行包含任何非创造模式侧方块的命令,并防止其在生存模式侧执行。
- /understood: (你应该将此权限授予所有人)
description: 你了解分割世界的性质,不再希望看到欢迎消息。 usage: /understood permission: split-world.understood - /disable-split-world: (仅应授予管理员/OP)
description: 禁用分割世界的游戏模式切换 usage: /disable-split-world permission: split-world.disable-split-world - /enable-split-world: (仅应授予管理员/OP)
description: 启用分割世界的游戏模式切换 usage: /enable-split-world permission: split-world.enable-split-world - /play-border-sound: (你应该将此权限授予所有人)
description: 当你跨越分割世界边界时播放声音 usage: /play-border-sound <true|false> permission: split-world.play-border-sound
防作弊措施
- 当离开边界的任一侧时,玩家的物品栏、活跃的药水效果和末影箱内容都会被保存。随后会加载他们在另一侧的保存数据。
- 在缓冲区掉落的物品会被返还到用户的物品栏中
- 流体无法流入缓冲区
- 物品/实体无法通过创造模式侧的传送门发送
- 当玩家穿过传送门时,会设置其游戏模式
- 当玩家传送到某个地点或另一个玩家时,会设置其游戏模式(应与任何经过测试的 tp 插件兼容,如 simple tpa)
- 防止玩家使用钓鱼竿从创造模式侧向生存模式侧拉取物品
- 玩家无法与他们所在侧不同的箱子进行交互
配置示例
完整配置
default_game_mode: "survival" # 全局默认设置
disable_welcome_message: false # 全局禁用欢迎消息
enable_xp_mod: false # 更改死亡时的经验值丢失行为
disable_advancements_in_creative: true # 在创造模式中禁用进度系统
xp_loss_percentage: 25.0 # 死亡时丢失的经验值百分比
custom_respawn: false # 自定义全局重生位置
respawn_location: #
world: "split_world" # 玩家应生成的世界(如果未设置重生点)
x: 140.0 # X 坐标
y: 53.0 # Y 坐标
z: -64.0 # Z 坐标
yaw: 0.0 # 玩家朝向方向
pitch: 0.0 # 玩家朝向方向
border_particles: true # 切换边界粒子墙的渲染效果
border_blocks: true # 切换客户端侧缓冲区方块替换,这不会改变你的世界
enable_easter_eggs: false # 编码时加入了一些趣味彩蛋,启用此选项看看能否找到所有彩蛋
world_configs: # 需要配置的世界列表
- world_name: "world" # 世界名称
enabled: true # 是否拆分该世界
default_game_mode: "survival" # 可选的全局 default_game_mode 覆盖,即使世界未拆分也可设置此项
border_axis: "X" # 边界放置的轴向
border_location: 0 # 边界在轴向上的位置
creative_side: "negative" # 可为 positive 或 negative。当世界拆分时,决定创造模式一侧是位于小于还是大于 border_location 的坐标区域
border_width: 5 # 缓冲区宽度。某些防作弊方法在小缓冲区上可靠性较低
no_creative_monsters: true # 阻止怪物在创造模式一侧生成
最小化单世界示例
default_game_mode: "survival"
world_configs:
- world_name: "creative_world"
default_game_mode: "creative"
- world_name: "adventure_world"
default_game_mode: "adventure"
最小化拆分世界示例
default_game_mode: "survival"
world_configs:
- world_name: "split_world"
enabled: true
最小化混合示例
default_game_mode: "spectator"
world_configs:
- world_name: "split_world"
enabled: true
default_game_mode: "survival"
- world_name: "world"
default_game_mode: "survival"
- world_name: "world_nether"
default_game_mode: "survival"
- world_name: "world_the_end"
default_game_mode: "survival"
Split World
This is a plugin that allows for both creative and survival to coexist in the same world. You define an axis and a location and one side will be survival and the other will be creative. The mod automatically manages saving, and loading inventories on either side of the border as well as potion effects.
GameMode Switching:
- Game mode can be set per world
- A world can have two game modes with a border dividing the world into a creative side and a configurable default game mode
- Player's inventory and potion effects are managed per-game mode
- Player will be switched to either survival or creative depending on the side of the buffer zone they are on
- The border axis is padded by the buffer zone, the boundary is visualized with optional particle effects to create a visible wall and/or solid blocks will be rendered as if they were black concrete
- Sound indicator for when player switches GameMode, can be enabled or disabled with a command (see below)
- Many methods to prevent cheating are included (see below)
Buffer Zone
- Defined by border axis and location, with
border_axis: 'X'andborder_location: 0the dividing border will be placed at x=0, resulting in a border perpendicular to the x-axis - Players cannot die in the buffer zone
- Players cannot regain health in the buffer zone
- Players will not lose hunger in the buffer zone
- Players are put in adventure mode with flying enabled
- Monsters cannot enter the buffer zone, instead they will stop at the border
- Monsters cannot target players in the buffer zone
- Players cannot pick up items if they are in the buffer zone
- Players cannot interact with chests in the buffer zone, or with chests that are not on the same side as the player
- Liquids will not flow into the buffer zone
- Vehicles cannot enter the buffer zone
Commands
- Players can use /fill /setblock /clone on the creative side, you must give the permission for this command with LuckPerms, the plugin will prevent the commands if they contain any blocks not on the creative side and prevent their execution on the survival side.
- /understood: (you should give permission for this to everyone)
description: You understand the nature of the split world and don't want to see the welcome message anymore. usage: /understood permission: split-world.understood - /disable-split-world: (you should give this to admins/ops only)
description: disables split world game mode switching usage: /disable-split-world permission: split-world.disable-split-world - /enable-split-world: (you should give this to admins/ops only)
description: enables split world game mode switching usage: /enable-split-world permission: split-world.enable-split-world - /play-border-sound: (you should give permission for this to everyone)
description: plays a sound when you cross a split world border usage: /play-border-sound <true|false> permission: split-world.play-border-sound
Cheat Prevention
- When leaving either side of the border, the player's inventory, active potion effects, and ender chest contents are saved. Then their saved data for the other side is loaded.
- Items dropped in the buffer zone are returned to the user's inventory
- Fluid cannot flow into the buffer zone
- Items/Entities cannot be sent through portals on the creative side
- GameMode is set when a player crosses through a portal
- GameMode is set when a player teleports to a location or player (should work with any tp plugin tested with simple tpa)
- Players are prevented from using a fishing pole to pull items from the creative side to the survival side.
- Players cannot interact with chests that are not on the same side as them
Config Examples
Full Config
default_game_mode: "survival" # global default
disable_welcome_message: false # globally disable welcome message
enable_xp_mod: false # changes XP loss behavior on death
disable_advancements_in_creative: true # disable advancements in creative mode
xp_loss_percentage: 25.0 # percentage of XP lost on death
custom_respawn: false # customize global respawn location
respawn_location: #
world: "split_world" # which world players should spawn in (if they have not set their spawn point)
x: 140.0 # x coordinate
y: 53.0 # y coordinate
z: -64.0 # z coordinate
yaw: 0.0 # player facing direction
pitch: 0.0 # player facing direction
border_particles: true # toggles rendering particle wall for boundary
border_blocks: true # toggles client-side buffer-zone block replacement, this will not alter your world
enable_easter_eggs: false # had some fun while coding, enable this to see if you can find them all
world_configs: # list of worlds to configure
- world_name: "world" # name of the world
enabled: true # should the world be split
default_game_mode: "survival" # optional override for the global default_game_mode, this can be set even if the world is not split
border_axis: "X" # axis the border is placed on
border_location: 0 # location on the axis to place the border
creative_side: "negative" # can be positive or negative. when split, determines if the creative side is for coordinates less than border_location or greater than border_location
border_width: 5 # how wide the buffer zone should be. some cheat prevention methods are less reliable for smaller buffer zones
no_creative_monsters: true # stops monsters from spawining on the creative side
Minimal Per-World Example
default_game_mode: "survival"
world_configs:
- world_name: "creative_world"
default_game_mode: "creative"
- world_name: "adventure_world"
default_game_mode: "adventure"
Minimal Split World Example
default_game_mode: "survival"
world_configs:
- world_name: "split_world"
enabled: true
Minimal Mixed Example
default_game_mode: "spectator"
world_configs:
- world_name: "split_world"
enabled: true
default_game_mode: "survival"
- world_name: "world"
default_game_mode: "survival"
- world_name: "world_nether"
default_game_mode: "survival"
- world_name: "world_the_end"
default_game_mode: "survival"
下载 Split World
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Split World
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Split World
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Split World
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Split World
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Split World
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Split World
下载 Split World
下载 Split World
下载 Split World
移植到 1.19
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧