diff --git a/data/lpermissions/command_aliases.json b/data/lpermissions/command_aliases.json new file mode 100644 index 00000000..efb34b68 --- /dev/null +++ b/data/lpermissions/command_aliases.json @@ -0,0 +1,23 @@ +{ + "updatehosts": "function lt:utility/hosts/hosts_dummy", + "tools": "function lt:utility/buildmode/checker", + "spawn": "warp spawn", + "about shops": "function lt:welcome_center/info/shops", + "about parkour": "function lt:welcome_center/info/parkour", + "about crab_golf": "function lt:welcome_center/info/crab_golf", + "about dropper": "function lt:welcome_center/info/dropper", + "about elytra_course": "function lt:welcome_center/info/elytra_course", + "about minigames": "function lt:welcome_center/info/minigames", + "about theatre": "function lt:welcome_center/info/theatre", + "about free_build": "function lt:welcome_center/info/free_build", + "about edu": "function lt:welcome_center/info/edu", + "about minigames biodiversity_blitz": "function lt:welcome_center/info/minigame/biodiversity_blitz", + "about minigames qottott": "function lt:welcome_center/info/minigame/qottott", + "about minigames spleef": "function lt:welcome_center/info/minigame/spleef", + "about minigames levitation": "function lt:welcome_center/info/minigame/levitation", + "about minigames block_party": "function lt:welcome_center/info/minigame/block_party", + "about minigames calamity": "function lt:welcome_center/info/minigame/calamity", + "about minigames turtle_race": "function lt:welcome_center/info/minigame/turtle_race", + "about minigames trash_dive": "function lt:welcome_center/info/minigame/trash_dive", + "about minigames survive_the_tide": "function lt:welcome_center/info/minigame/survive_the_tide" +} diff --git a/data/lpermissions/roles.json b/data/lpermissions/roles.json new file mode 100644 index 00000000..8d45817c --- /dev/null +++ b/data/lpermissions/roles.json @@ -0,0 +1,163 @@ +{ + "organiser": { + "includes": [ + "administration" + ], + "overrides": { + "name_decoration": { + "style": "#2ecc71" + } + } + }, + "live": { + "includes": [ + "host" + ], + "overrides": { + "name_decoration": { + "prefix": { + "text": "▶ ", + "color": "red" + }, + "style": "#e91e63" + }, + "host": true + } + }, + "host": { + "overrides": { + "name_decoration": { + "style": "#E91E63" + }, + "commands": { + "fly": "allow", + "gamemode": "allow" + } + } + }, + "mojangsta": { + "includes": [ + "privileged" + ], + "overrides": { + "name_decoration": { + "style": "#d84283" + } + } + }, + "moderator": { + "includes": [ + "moderation", + "privileged", + "building" + ], + "overrides": { + "name_decoration": { + "style": "#3498db" + } + } + }, + "builder": { + "includes": [ + "building" + ], + "overrides": { + "name_decoration": { + "style": "#a95cdd" + } + } + }, + "modder": { + "includes": [ + "privileged" + ], + "overrides": { + "name_decoration": { + "style": "#9b6565" + } + } + }, + "helper": { + "overrides": { + "name_decoration": { + "style": "#30f0a7" + } + } + }, + "administration": { + "overrides": { + "commands": { + ".*": "allow" + } + } + }, + "building": { + "overrides": { + "commands": {} + } + }, + "moderation": { + "overrides": { + "commands": { + "kick": "allow", + "ban": "allow", + "ban-ip": "allow", + "pardon": "allow", + "pardon-ip": "allow", + "banlist": "allow", + "give": "allow", + "unban": "allow" + } + } + }, + "privileged": { + "overrides": { + "commands": { + "tp": "allow", + "fly": "allow", + "game": "allow", + "gamemode .*": "allow" + } + } + }, + "build_mode": { + "overrides": { + "commands": { + "fly": "allow" + } + } + }, + "in_tutorial": { + "overrides": { + "commands": { + ".*": "deny" + } + } + }, + "everyone": { + "overrides": { + "commands": { + "help": "allow", + "game join": "allow", + "game spectate": "allow", + "game play": "allow", + "game leave": "allow", + "game register": "allow", + "me": "allow", + "w": "allow", + "tell": "allow", + "msg": "allow", + "chat": "allow", + "shout": "allow", + "spawnitems": "allow", + "tpa": "allow", + "tpaccept": "allow", + "warp": "allow", + "tools": "allow", + "about": "allow", + "spawn": "allow", + "((?!title|tellraw|give).)*": "deny" + } + } + } +}