-
Notifications
You must be signed in to change notification settings - Fork 298
Permissions
•Multiverse World Permissions
Multiverse allows you to control who can enter worlds via permissions! When you create a world or import a world into Multiverse-Core, it automatically creates a permission: multiverse.access.WORLDNAME
. If a player has multiverse.access.WORLDNAME
, then they can enter that world.
NOTE: Ensure you have opfallback disabled in your Multiverse config.yml
. If opfallback
is set to true
(and it is by default currently) anyone can go to any world.
If you give a user multiverse.access.*
they can go to all worlds.
•About PermissionsBukkit
PermissionsBukkit is the Official Bukkit plugin to manage permissions using the new Permissions API. Other permission plugins will probably begin incorporating the API to manage your servers permissions, but for now the official plugin(PermissionsBukkit) is what we have. Luckily, there is a bridge included with PermissionsBukkit to satisfy plugins still requesting Permissions 2.7/3.1 and will bridge those requests through and handle them. The bridge is not required to use permissions with Multiverse 2.
•PermissionsBukkit config.yml
Setting up the permissions in the config is pretty straight forward. You may find it similar to pre-1000 permission plugins. Here is an example config file which includes some permissions for Multiverse 2:
users:
myplayername:
permissions:
groups:
- admin
groups:
default:
permissions:
permissions.build: false
multiverse.core.tp.self: true
admin:
permissions:
permissions.*: true
multiverse.world.create: true
inheritance:
- default
messages:
build: '&cYou do not have permission to build here.'
With this setup, all users will have the ability to teleport themselves using the /mvtp
command, while users assigned to the admin group will also have the ability create worlds. Notice also that the admin has permissions.*: true
and therefore can use the PermissionsBukkit commands in game. This may be especially useful for Multiverse 2.
You can use: multiverse.*
to give someone all permissions for Multiverse. If you only want to give someone access to all worlds, use: multiverse.access.*
for example.
•Setting Permissions in game
Multiverse has the courtesy to show which permission node is needed for a command if you enter a /command and it fails due to permissions. Having this info readily available to you in the game can save you some time looking up the permission, and allow you to enter that permission into a group on the spot if need be. An admin can simply enter permissions in as you need them. For example you try to run /mvlist
and oh my you dont have permission, but you will be notified that you need multiverse.world.list
permission node. Entering
/perm group setperm admin multiverse.core.list true
will add the permission to your admin group and viola! you have permission to use that command. MV has a lot of commands and permissions, so adding them in a need-to-use basis can sometimes be easier.
•Setting OP's
OP's by default have all the Multiverse permissions set to true. So the easiest way to give your admins all the Multiverse permissions is to just make them OP. Of course, this may not be the best option for everyone.
Getting Started
Configuration
- Config.yml
- World Properties
- Destinations
- Currency
- Custom Generator Plugins
- Anchor Tutorial
- Placeholders
Help
Developers
Other
Getting Started
Configuration
Developers
Getting Started
Configuration
Help
Developers
Getting Started
Configuration
Help
Developers
Getting Started
Configuration
A great place to get help is from Multiverse's Discord (Click the logo for invite link):