Difference between revisions of "MyWorlds/Permissions"

From BergerHealer Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
[[MyWorlds|« Go back]]
 
[[MyWorlds|« Go back]]
  
Below the permission nodes of MyWorlds. This plugin supports Permissions 3 and the built-in Bukkit permissions. To use this plugin with Permissions 3, enable it in the configuration.
+
Below the permission nodes of MyWorlds. Works best with Luckperms as it better handles .* permissions natively.
  
Command permissions
+
== Command permissions ==
 
The following permissions are used with the respectable Commands:
 
The following permissions are used with the respectable Commands:
  
Command Permission Node Default
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 67: Line 66:
 
| /tpp|| myworlds.tpp || OP
 
| /tpp|| myworlds.tpp || OP
 
|}
 
|}
Chat permissions
+
== Chat permissions ==
 
The following permissions set with what world(s) a player can chat when being on certain or any world. Chat permissions need to be enabled in the Configuration first.
 
The following permissions set with what world(s) a player can chat when being on certain or any world. Chat permissions need to be enabled in the Configuration first.
  
Line 135: Line 134:
 
|-
 
|-
 
| Sets if the player is ignored during per-world inventory changes || myworlds.world.keepinventory || || OP
 
| Sets if the player is ignored during per-world inventory changes || myworlds.world.keepinventory || || OP
 +
|-
 +
| Sets whether the player can generate nether portals when taking a linked nether portal || myworlds.world.linknether || || TRUE
 
|}
 
|}
 
''* = Needs to be enabled in the main [[MyWorlds/Configuration|Configuration]]''
 
''* = Needs to be enabled in the main [[MyWorlds/Configuration|Configuration]]''

Latest revision as of 14:24, 10 July 2024

« Go back

Below the permission nodes of MyWorlds. Works best with Luckperms as it better handles .* permissions natively.

Command permissions

The following permissions are used with the respectable Commands:

Command Permission Node Header text
/world create myworlds.world.create OP
/world load myworlds.world.load OP
/world unload myworlds.world.unload OP
/world list myworlds.world.list OP
/world info myworlds.world.info OP
/world portals myworlds.world.portals OP
/world listgenerators myworlds.world.listgenerators OP
/world setdefaultportal myworlds.world.setportal OP
/world spawn myworlds.world.spawn OP
/world evacuate myworlds.world.evacuate OP
/world repair myworlds.world.repair OP
/world save myworlds.world.save OP
/world saving myworlds.world.setsaving OP
/world delete myworlds.world.delete NO
/world copy myworlds.world.copy NO
/world difficulty myworlds.world.difficulty OP
/world togglepvp myworlds.world.togglepvp OP
/world op myworlds.world.op OP
/world deop myworlds.world.deop OP
/world togglespawnloaded myworlds.world.togglespawnloaded OP
/world allowspawn myworlds.world.allowspawn OP
/world denyspawn myworlds.world.denyspawn OP
/world weather myworlds.world.weather OP
/world time myworlds.world.time OP
/world gamemode myworlds.world.gamemode OP
/world setspawn myworlds.world.setspawn OP
/world config myworlds.world.config OP
/tpp myworlds.tpp OP

Chat permissions

The following permissions set with what world(s) a player can chat when being on certain or any world. Chat permissions need to be enabled in the Configuration first.

Situation Permission
The player can chat with world2 from world1 myworlds.world.chat.world1.world2
The player can chat with every world from world1 myworlds.world.chat.world1.*
The player can chat with world2 from every world myworlds.world.chat.*.world2
The player can chat globally from every world with every world (default OP) myworlds.world.chat.*.*
The player can chat in every world, but not to other worlds (default true) myworlds.world.chat.*
The player can chat in world1 (also needed to chat with other worlds from world1) myworlds.world.chat.world1


Important: For all other permissions it is needed to have the permissions to use chat in a certain world:

myworlds.world.chat.world1.world2

He needs permission to use the chat in world1 too, so he also needs one or both of these two:

myworlds.world.chat.world1 myworlds.world.chat.*

General permissions

Type Permission node Extra information Default
Sets if the player can enter a world myworlds.world.enter.[name]] [name] is the world name NO*
Sets if the player can enter any world myworlds.world.enter.* OP*
Sets if the player can enter a portal myworlds.portal.enter.[name]] [name] is the portal name NO*
Sets if the player can enter any portal myworlds.portal.enter.* OP*
Sets if the player can teleport to a world myworlds.world.teleport.[name]] [name] is the world name NO*
Sets if the player can teleport to any world myworlds.world.teleport.* OP*
Sets if the player can teleport to a portal myworlds.portal.teleport.[name]] [name] is the portal name NO*
Sets if the player can teleport to any portal myworlds.portal.teleport.* OP*
Sets if the player can create portals myworlds.portal.create OP
Sets if the player can replace portals myworlds.portal.override OP*
Sets if the player can use (enter) portals myworlds.portal.use YES
Sets if the player can build on a world myworlds.world.build.[name]] [name] is the world name NO*
Sets if the player can build on any world myworlds.world.build.* OP*
Sets if the player can use blocks on a world myworlds.world.use.[name] [name] is the world name NO*
Sets if the player can use blocks on any world myworlds.world.use.* OP*
Sets if the player is ignored during game mode changes myworlds.world.ignoregamemode FALSE
Sets if the player is ignored during per-world inventory changes myworlds.world.keepinventory OP
Sets whether the player can generate nether portals when taking a linked nether portal myworlds.world.linknether TRUE

* = Needs to be enabled in the main Configuration

  • Portal enter permissions are for when a player enters the physical portal. The portal name (second line on the sign) is used, not the destination name (third line).
  • Portal enter permissions are not used when teleporting using chat commands, you need to use the teleport permissions then
  • World enter permissions are active when entering portals, and when teleporting to portals and worlds using chat command
  • Portal and world teleport permissions are only used when teleporting using chat commands, they are not active when walking into a physical portal

A player can teleport to another portal by entering a portal when these two conditions are met:

  • Portal enter permissions are disabled, the player has 'enter any portal' permission or the player has the specific permission for the portal he entered
  • World enter permissions are disabled, the player has 'enter any world' permission or the player has the specific permission for the world he is about to enter

A player can teleport to another world using chat commands when these three conditions are met:

  • The player has access over the 'teleport to portal' or 'world spawn' commands
  • World enter permissions are disabled, the player has 'enter any world' permission or the player has the specific permission for the world he is about to teleport to
  • World teleport permissions are disabled, the player has 'teleport to any world' permission or the player has the specific permission to teleport to the world