mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-23 08:31:28 +01:00
v 1.5:
- Fixed opOverrides and bukkit_perms_override to read the correct entries. - Better commenting in config.yml
This commit is contained in:
parent
569af0bcf0
commit
fadfc490a7
@ -49,3 +49,6 @@ v 1.4:
|
|||||||
- Fixed reading world mirrors from the config.
|
- Fixed reading world mirrors from the config.
|
||||||
- Simplified config.yml while retaining backwards compatibility.
|
- Simplified config.yml while retaining backwards compatibility.
|
||||||
- Added data.save.hours setting to config. This allow control over how long backups are retained.
|
- Added data.save.hours setting to config. This allow control over how long backups are retained.
|
||||||
|
v 1.5:
|
||||||
|
- Fixed opOverrides and bukkit_perms_override to read the correct entries.
|
||||||
|
- Better commenting in config.yml
|
@ -1,9 +1,10 @@
|
|||||||
settings:
|
settings:
|
||||||
config:
|
config:
|
||||||
# With this enabled anyone set as op has full permissions when managing GroupManager
|
# With this enabled anyone set as op has full permissions when managing GroupManager
|
||||||
|
# The user will be able to promote players to the same group or even above.
|
||||||
opOverrides: true
|
opOverrides: true
|
||||||
|
|
||||||
# If enabled any bukkit permissiosn which default to true will be left enabled.
|
# If enabled any plugins bukkit permissions which default to true will be left enabled.
|
||||||
# If the player is op any permissions set to Op will follow suit.
|
# If the player is op any permissions set to Op will follow suit.
|
||||||
bukkit_perms_override: false
|
bukkit_perms_override: false
|
||||||
|
|
||||||
@ -21,6 +22,9 @@ settings:
|
|||||||
|
|
||||||
mirrors:
|
mirrors:
|
||||||
# Worlds listed here have their permissions mirrored in their children.
|
# Worlds listed here have their permissions mirrored in their children.
|
||||||
|
# the first element 'world' is the main worlds name
|
||||||
|
# subsequent elements '- world_nether' are worlds which will use the same
|
||||||
|
# user/groups permissions as the parent.
|
||||||
world:
|
world:
|
||||||
- world_nether
|
- world_nether
|
||||||
- world2
|
- world2
|
||||||
|
@ -52,10 +52,10 @@ public class GMConfiguration {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOpOverride() {
|
public boolean isOpOverride() {
|
||||||
return GMconfig.getBoolean("settings.config.bukkit_perms_override", true);
|
return GMconfig.getBoolean("settings.config.opOverrides", true);
|
||||||
}
|
}
|
||||||
public boolean isBukkitPermsOverride() {
|
public boolean isBukkitPermsOverride() {
|
||||||
return GMconfig.getBoolean("settings.config.opOverrides", true);
|
return GMconfig.getBoolean("settings.config.bukkit_perms_override", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<String, Object> getMirrorsMap() {
|
public Map<String, Object> getMirrorsMap() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
name: GroupManager
|
name: GroupManager
|
||||||
version: "1.4 (Phoenix)"
|
version: "1.5 (Phoenix)"
|
||||||
main: org.anjocaido.groupmanager.GroupManager
|
main: org.anjocaido.groupmanager.GroupManager
|
||||||
website: http://www.anjocaido.info/
|
website: http://www.anjocaido.info/
|
||||||
description: Provides on-the-fly system for permissions system created by Nijikokun. But all in memory, and with flat-file saving schedule.
|
description: Provides on-the-fly system for permissions system created by Nijikokun. But all in memory, and with flat-file saving schedule.
|
||||||
|
Loading…
Reference in New Issue
Block a user