
Allows server admins to control access to dimensions. With GateKeep, you can completely restrict dimensions or set up time-based restrictions that automatically unlock at specific dates and times.
GateKeep uses a JSON configuration file located at config/gatekeep.json. The config file is created automatically when the mod is first loaded (in-case of a crash or mis-behavior re-check the config and deleting it and generating a fresh one)
{
"disabledDimensions": [
"minecraft:the_end"
],
"announce": true,
"restrictedDimensionMessage": "&c%dimension% dimension is restricted",
"timedDimensionRestrictedMessage": "&eRestricted till &6%time%",
"unrestrictedAnnouncementMessage": "&a%dimension% dimension is now open!",
"timeRestrictions": {
"minecraft:the_end": {
"enabled": true,
"timeZone": "UTC",
"unlockDateTime": "2024-12-31T23:59:59"
}
}
}
Messages support Minecraft color codes using the & character:
&0 to &9, &a to &f: Colors&k: Obfuscated&l: Bold&m: Strikethrough&n: Underline&o: Italic&r: ResetIn the configuration messages, you can use the following variables:
%dimension%: Will be replaced with the formatted dimension name%time%: Will be replaced with the formatted unlock time (for time-restricted dimensions){
"disabledDimensions": ["minecraft:the_end"],
"announce": true,
"timeRestrictions": {}
}
{
"disabledDimensions": [],
"announce": true,
"timeRestrictions": {
"minecraft:the_nether": {
"enabled": true,
"timeZone": "America/New_York",
"unlockDateTime": "2024-06-01T12:00:00"
}
}
}
{
"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"
}
}
}
disabledDimensions list, access is deniedGateKeep should be compatible with most modded dimensions and forms of dimensional travel.