mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-10-03 10:07:34 +02:00
Made World Access by default OP. However, opfallback is still set to true by default
This commit is contained in:
parent
49e3a42550
commit
eb4f9700bc
@ -144,7 +144,7 @@ public class MVWorld {
|
|||||||
this.canSave = true;
|
this.canSave = true;
|
||||||
saveConfig();
|
saveConfig();
|
||||||
|
|
||||||
this.permission = new Permission("multiverse.access." + this.getName(), "Allows access to " + this.getName(), PermissionDefault.TRUE);
|
this.permission = new Permission("multiverse.access." + this.getName(), "Allows access to " + this.getName(), PermissionDefault.OP);
|
||||||
this.exempt = new Permission("multiverse.exempt." + this.getName(), "A player who has this does not pay to enter this world, or use any MV portals in it " + this.getName(), PermissionDefault.OP);
|
this.exempt = new Permission("multiverse.exempt." + this.getName(), "A player who has this does not pay to enter this world, or use any MV portals in it " + this.getName(), PermissionDefault.OP);
|
||||||
try {
|
try {
|
||||||
this.plugin.getServer().getPluginManager().addPermission(this.permission);
|
this.plugin.getServer().getPluginManager().addPermission(this.permission);
|
||||||
|
Loading…
Reference in New Issue
Block a user