Control access to dimensions like never before with the Gate Keep mod for Minecraft Pocket Edition (MCPE). This mod offers powerful tools for server administrators to manage when and how players can access different dimensions.
Introducing Gate Keep
The Gate Keep mod enables server administrators to set parameters around dimensional access, allowing for complete restrictions or scheduling access based on specific dates and times.
Key Features
- Full Dimension Block: Completely prevent access to specific dimensions.
- Scheduled Access: Unlock dimensions on predetermined dates and times.
- Customizable Notification Messages: Tailor the messages that display when players attempt to enter restricted dimensions.
- Broadcast Notifications: Automatically alert players when timed unlocks occur, making it clear when a dimension becomes accessible.
Setting Up Gate Keep
The mod’s configuration is handled through a JSON file located at config/gatekeep.json
. This configuration file is generated the first time the mod is activated. If you experience issues, consider regenerating the config by deleting the old file.
Configuration Options Explained
- disabledDimensions: A listing of dimensions that are fully restricted.
- announce: A toggle to enable or disable announcements for unlock events.
- restrictedDimensionMessage: The message players see if they try accessing a disabled dimension.
- timedDimensionRestrictedMessage: The prompt shown for dimensions that are time-restricted.
- unrestrictedAnnouncementMessage: The message shown when a previously restricted dimension is accessible.
- timeRestrictions: Details of dimensions with scheduled access, including:
- enabled: Indicator for whether the time restriction is active.
- timeZone: Specifies the time zone for unlocking (using recognized time zone IDs).
- unlockDateTime: The exact date and time for when the dimension will be unlocked (in ISO format).
Message Formatting Options
Utilize Minecraft’s color coding in your messages using the &
character:
&0
to&9
,&a
to&f
: Color codes&k
: Obfuscated text&l
: Bold text&m
: Strikethrough text&n
: Underlined text&o
: Italics&r
: Reset formatting
Within the message templates, you can utilize the following variables:
%dimension%
: Will replace with the designated dimension name.%time%
: Will display the formatted unlock time for time-restricted dimensions.
Configuration Examples
Basic Configuration: Blocking The End
{
"disabledDimensions": ["minecraft:the_end"],
"announce": true,
"timeRestrictions": {}
}
Scheduled Nether Access
{
"disabledDimensions": [],
"announce": true,
"timeRestrictions": {
"minecraft:the_nether": {
"enabled": true,
"timeZone": "America/New_York",
"unlockDateTime": "2024-06-01T12:00:00"
}
}
}
Multiple Access Controls
{
"disabledDimensions": ["minecraft:the_end"],
"announce": true,
"timeRestrictions": {
"minecraft:the_nether": {
"enabled": true,
"timeZone": "UTC",
"unlockDateTime": "2024-05-15T18:00:00"
},
"twilightforest:twilight_forest": {
"enabled": true,
"timeZone": "UTC",
"unlockDateTime": "2024-07-22T15:06:20"
}
}
}
Functionality Overview
- When a player attempts to switch dimensions via commands or other means, Gate Keep assesses if the dimension is restricted.
- If the dimension appears on the
disabledDimensions
list, entry is prohibited. - Access is also denied if there is a time restriction that has not yet reached its unlocking time.
- Players with operator privileges level 4 can bypass all restrictions while in creative mode.
- The mod regularly checks for unlock conditions on a background thread, reducing the impact on server performance.
- Upon unlocking a time-restricted dimension, a message is broadcasted to all active players (when enabled).
Compatibility
Gate Keep is designed to function seamlessly with most modded dimensions and methods of dimensional travel, ensuring a versatile addition to your Minecraft experience.