permission system

This commit is contained in:
ZeroEpoch1969
2020-04-13 23:40:22 -07:00
parent e23bfa7f87
commit bc8ff3cd7f
44 changed files with 662 additions and 378 deletions

View File

@ -1,3 +1,3 @@
#
# TotalFreedomMod 5.2 Activity Log
# TotalFreedomMod 5.5 Activity Log
#

View File

@ -1,5 +1,5 @@
#
# TotalFreedomMod 5.2 Admin List
# TotalFreedomMod 5.5 Admin List
#
prozza:

View File

@ -1,3 +1,3 @@
#
# TotalFreedomMod 5.2 Player Bans
# TotalFreedomMod 5.5 Player Bans
#

View File

@ -1,5 +1,5 @@
#
# TotalFreedomMod 5.2 Configuration
# TotalFreedomMod 5.5 Configuration
# by Madgeek1450 and Prozza
#

View File

@ -1,3 +1,3 @@
#
# TotalFreedomMod 5.2 Master Builder List
# TotalFreedomMod 5.5 Master Builder List
#

View File

@ -1,5 +1,5 @@
#
# TotalFreedomMod 5.2 Permanent Bans
# TotalFreedomMod 5.5 Permanent Bans
#
badplayer1:

View File

@ -0,0 +1,78 @@
#
# TotalFreedomMod 5.5 Permissions
# by ZeroEpoch1969
#
# Note that every group inherits the previous groups' permissions
# Meaning Telnet Admins have the permissions of Operators and Super Admins, and etc
# This is used to remove all permission begging with the root node
# This is useful when a plugin gives all permissions to a player because they are opped
remove:
- "coreprotect"
# Operator permission nodes
operators:
# WorldEdit
- "worldedit.help"
- "worldedit.history.undo.self"
- "worldedit.history.redo.self"
- "worldedit.history.clear"
- "worldedit.limit"
- "worldedit.reorder"
- "worldedit.drawsel"
- "worldedit.searchitem"
- "worldedit.navigation.*"
- "worldedit.selection.*"
- "worldedit.wand"
- "worldedit.wand.*"
- "worldedit.region.*"
- "worldedit.generation.*"
- "worldedit.clipboard.*"
- "worldedit.tool.info"
- "worldedit.biome.*"
- "worldedit.removeabove"
- "worldedit.removebelow"
- "worldedit.removenear"
- "worldedit.replacenear"
# CoreProtect
- "coreprotect.inspect"
- "coreprotect.lookup"
- "coreprotect.help"
- "coreprotect.status"
- "coreprotect.lookup.block"
- "coreprotect.lookup.click"
- "coreprotect.lookup.container"
- "coreprotect.container"
- "coreprotect.core"
- "coreprotect.coreprotect"
- "coreprotect.co"
# WorldGuard
- "worldgyardregion.list.own"
- "worldguard.region.addmember.own.*"
- "worldguard.region.removemember.own.*"
- "worldguard.region.info.*"
# Master Builder permission nodes
master_builders:
- "worldedit.tool.*"
- "worldedit.brush.*"
- "worldedit.snow"
- "worldedit.green"
- "worldedit.extinguish"
- "worldedit.thaw"
# Super Admin permission nodes
super_admins:
- "coreprotect.*"
- "worldedit.*"
- "worldguard.*"
# Telnet Admin permission nodes
telnet_admins: []
# Senior Admin permission nodes
senior_admins: []

View File

@ -5,4 +5,4 @@ description: Plugin for the Total Freedom server.
depend: [Aero]
softdepend: [BukkitTelnet, Essentials, LibsDisguises, WorldEdit]
authors: [Madgeek1450, Prozza]
api-version: 1.14
api-version: 1.15

View File

@ -1,3 +1,3 @@
#
# TotalFreedomMod 5.2 Player Punishments
# TotalFreedomMod 5.5 Player Punishments
#

View File

@ -1,5 +1,5 @@
#
# TotalFreedomMod 5.2 VPN Bans
# TotalFreedomMod 5.5 VPN Bans
#
badnetwork1: