JourneyMapStages
本模组是 GameStage API 的扩展组件。它允许将 Journey Map 的部分功能整合到自定义进度系统中。请查阅 GameStage API 模组的说明以获取更多信息。简要来说,进度阶段是由整合包或服务器设置的进度系统的一部分。玩家通过命令获得这些阶段,该命令通常由任务模组、成就(advancement)甚至命令方块触发。
设置
本模组使用 CraftTweaker 进行配置。
可以限制哪些内容?
航点 (Waypoints)
如果玩家未解锁所需阶段,他们将无法创建新航点或访问航点管理器。如果他们在解锁前意外获得了航点,该航点将被立即销毁。
mods.jmapstages.JMapStages.setWaypointStage(String stage);
死亡点 (Deathpoints)
如果玩家未解锁所需阶段,他们在死亡时将无法创建死亡点。如果他们在解锁前意外获得了死亡点,该死亡点将被立即销毁。
mods.jmapstages.JMapStages.setDeathpointStage(String stage);
小地图 (Minimap)
如果玩家未解锁所需阶段,他们将无法看到小地图。
mods.jmapstages.JMapStages.setMinimapStage(String stage);
全屏地图 / 选项
如果玩家未解锁所需阶段,他们将无法打开全屏地图。
mods.jmapstages.JMapStages.setFullscreenStage(String stage);
本项目由 Nodecraft 赞助。使用代码 DARKHAX 可在首月服务中获得 30% 折扣!
示例脚本
// 限制玩家创建航点或在世界中查看航点。
mods.jmapstages.JMapStages.setWaypointStage("one");
// 限制玩家访问全屏地图和选项界面。
mods.jmapstages.JMapStages.setFullscreenStage("two");
// 限制玩家在地图上创建死亡点。
mods.jmapstages.JMapStages.setDeathpointStage("three");
// 限制玩家在屏幕上打开小地图。
mods.jmapstages.JMapStages.setMinimapStage("four");
JourneyMapStages
This mod is an addon for the GameStage API. This allows for aspects of Journey Map to be put into custom progression systems. You should check out the GameStage API mod's description for more info. To give a brief run down, stages are parts of the progression system set up by the modpack or server. Stages are given to players through a command, which is typically ran by a questing mod, advancement, or even a Command Block.
Setup
This mod uses CraftTweaker for configuration.
What can be restricted?
Waypoints
The player will not be able to create new waypoints or access the waypoint manager unless they have the required stage unlocked. If they somehow get a waypoint before hand it will be immediately destroyed.
mods.jmapstages.JMapStages.setWaypointStage(String stage);
Deathpoints
The player will not be able to create death points when they die until they unlock the required stage. If they somehow get a death point before the stage it will be immediately destroyed.
mods.jmapstages.JMapStages.setDeathpointStage(String stage);
Minimap
The player will not be able to see the minimap until they unlock the required stage.
mods.jmapstages.JMapStages.setMinimapStage(String stage);
Fullscreen Map / Options
The player will not be able to open the fullscreen map until they have the required stage.
mods.jmapstages.JMapStages.setFullscreenStage(String stage);
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
Example Script
// Restricts players from making waypoints or seeing them in world.
mods.jmapstages.JMapStages.setWaypointStage("one");
// Restricts players from accessing the fullscreen and options screen.
mods.jmapstages.JMapStages.setFullscreenStage("two");
// Restricts players from making death waypoints on the map.
mods.jmapstages.JMapStages.setDeathpointStage("three");
// Restricts the player from having the minimap open on their screen.
mods.jmapstages.JMapStages.setMinimapStage("four");
评论 0
登录后参与评分
还没有评论,来抢沙发吧