3.0.X - GeheimagentNr1/DimensionAccessManager GitHub Wiki
This Mod adds, that access to dimensions can be granted or locked.
If a dimension is locked, you can stand in the portal to this dimension, but don't change to this dimension.
If a dimension is granted, you can stand in the portal to this dimension and change to this dimension.
Since Minecraft 1.19.1 the Mod is needed on the server and client side.
For 1.19 and before, the Mod is only needed on the server side, but can also be used on the client side.
Granting / Locking
There is a general flag, a whitelist and a blacklist, to manage which players have access to a dimension.
Flag
For every dimension can be set, if the dimension access is granted or locked. If a player is not on the white- or blacklist for the dimension, this flag is used to define, if the player can teleport to the dimension or not. For non player entities this flag is used to define, if they can teleport to the dimension or not.
Whitelist
The whitelist is only active, if the dimension access is locked. Players on the whitelist, can teleport to the dimension, even if the dimension access is locked. If the dimension access is locked and the whitelist is active, only players and no other entities can teleport to the dimension.
Blacklist
The blacklist is only active, if the dimension access is granted. Players on the blacklist, cannot teleport to the dimension, even if the dimension access is granted.
Server Config
The config file can be found in the "serverconfig" folder in the "world" folder and is named "dimension_access_manager-server.toml". The name of the world folder is set for servers in the "server.properties" file and for clients it is the name of the world/save game in the world list, and it can be found in the "saves" folder in the ".minecraft" folder.
- default_dimension_access_type
Defines if new dimensions are GRANTED or LOCKED by default
Default = "GRANTED"
The access type for a dimension is set, if the dimension is generated for the first time.
I.E: This value should set before pre-generating the dimensions.
Commands
-
/dimensions status
Shows the status of all dimension, if they are granted or locked. -
/dimensions default defaultDimensionAccessType
Shows the value of the config option "default_dimension_access_type". -
/dimensions default defaultDimensionAccessType <dimensionAccessType>
Sets the value of the config option "default_dimension_access_type".
dimensionAccessType values: GRANTED or LOCKED -
/dimension <dimension> access status
Shows the status of the selected dimension, if it is granted or locked. -
/dimension <dimension> access grant
Grants the selected Dimension. -
/dimension <dimension> access lock
Locks the selected dimension. -
/dimension <dimension> players list
Shows players on the whitelist and the blacklist of the selected dimension. -
/dimension <dimension> players whitelist list
Shows players on the whitelist of the selected dimension. -
/dimension <dimension> players whitelist add <targets>
Adds players (<targets>) to the whitelist of the selected dimension. -
/dimension <dimension> players whitelist remove <targets>
Removes players (<targets>) from the whitelist of the selected dimension. -
/dimension <dimension> players blacklist list
Shows players on the blacklist of the selected dimension. -
/dimension <dimension> players blacklist add <targets>
Adds players (<targets>) to the blacklist of the selected dimension. -
/dimension <dimension> players blacklist remove <targets>
Removes players (<targets>) from the blacklist of the selected dimension.
Thanks for the logo to Muse31.
You can use this mod in non-commercial modpacks without asking.
You can find more mods from me here.