Skip to content

Commit

Permalink
Add role and command alias configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Jul 29, 2024
1 parent d9e12af commit 9ff178a
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 0 deletions.
23 changes: 23 additions & 0 deletions data/lpermissions/command_aliases.json
Original file line number Diff line number Diff line change
@@ -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"
}
163 changes: 163 additions & 0 deletions data/lpermissions/roles.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}

0 comments on commit 9ff178a

Please sign in to comment.