-
Notifications
You must be signed in to change notification settings - Fork 1
File formats
config.yml
DataProvider: FlatFile
DefaultWorld: hub
Mirrors:
hub:
- world1
- world2
- world3
creative: []
pvp: []
MySQL:
host: localhost
database: minecraft
prefix: droxperms_
username: drox
password: perms
DataProvider: define the DataProvider to use. At this time FlatFile and MySQL are supported.
DefaultWorld: DroxPerms falls back to this world if it encounters a world it doesn't know.
Mirrors: defines a list of worlds DroxPerms knows. in the example world1, world2 and world3 use the same Permissions.
MySQL-preqix: the prefix defined here will be added to all tables created by DroxPerms.
users.yml
users:
mydrox:
group: admin
subgroups:
- vip
permissions:
hub:
- hawkeye.admin
globalpermissions:
- droxperms.*
info:
prefix: '&4Darth '
datafrompluginfoo: 'whatever'
group: This is Main-Group of the Player.
subgroups: User inherits the Permissions and Subgroups of these Groups.
globalpermissions: Here are the Permissions that apply to all worlds.
info: The Info-Node can be used by Plug-ins to store information about the Player. The Info-Node does not get inherited.
To reduce file-size, loading-speed and RAM-usage empty nodes will not be written to the file.
groups.yml
groups:
admin:
subgroups:
- op
- miner
- survivor
- defender
- opkit
globalpermissions:
- -SpawnControl.sethome
- -SpawnControl.sethome.*
- -warpz0r.home
- -warpz0r.sethome
- -warpz0r.worldhome
- '*'
permissions:
hub:
- hawkeye.admin
info:
prefix: '&4Darth '
suffix: '[Admin] '
datafrompluginfoo: 'whatever'
subgroups: The Group inherits the Permissions and Subgroups of these Groups.
globalpermissions: Here are the Permissions that apply to all worlds.
info: The Info-Node can be used by plug-ins to store information about the Group. The Info-Node does not get inherited.
To reduce file-size, loading-speed and RAM-usage empty nodes will not be written to the file.