You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,10 +14,13 @@ The plugin also features an auto update System. This System downloads the newest
14
14
15
15
16
16
The plugin now also features a "per-warp-permission System".
17
-
That means if you enable "RequirePermissionForEachWarp" in your Warps.yml Config, every Warp Point gets an individual Permission that follows this scheme: "simplewarp.warp.WARPNAME".
17
+
That means if you enable `RequirePermissionForEachWarp` in your `Warps.yml` Config, every Warp Point gets an individual Permission that follows this scheme: `simplewarp.warp.WARPNAME`.
18
18
(You have to replace WARPNAME with the exact name of your warp point). Only players with the correct permissions can see and use the warp points.
19
19
You can now set Default Warp Point permissions in the Permission.yml file. Note: Only simplewarp permissions can be set by default. Other Permissions in the Permission.yml file will be ignored.
20
20
21
+
The new Integrated Permission Manager allows you to manage SimpleWarp permissions without the need of an external Permission System. To use this, set `IntegratedPermissionSystem` in your `Warps.yml` to `true`
22
+
Please note that only SimpleWarp permissions can be set via the integrated permission manager.
Bukkit.getLogger().log(Level.INFO, "The Following default permissions will be set for each player: ${PermissionFile.getFile().getList("DefaultPermissions")}")
76
78
}
79
+
80
+
if (Config.getConfig().getBoolean("IntegratedPermissionSystem")) {
Bukkit.getLogger().log(Level.INFO, "The integrated permission system has been enabled. That means you can use the /pm command as OP to give permissions to your players. This only works if the permission you are trying to add is a simplewarp permission.")
83
+
}
77
84
}
78
85
79
86
privatefuninitConfig() {
@@ -89,6 +96,9 @@ class SimpleWarp : JavaPlugin() {
89
96
if (Config.getConfig().get("DefaultPermissions") ==null) {
player.sendMessage("${SimpleWarp.instance.prefix} The permission §a${args[2]} §6has been §2added §6to §b${target.name}§6. §7Remember that permissions set by this plugin only works with SimpleWarp.")
0 commit comments