Skip to content

Commit

Permalink
Player roles
Browse files Browse the repository at this point in the history
  • Loading branch information
acikek committed Jan 13, 2024
1 parent eafb8dd commit 55357b8
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 48 deletions.
41 changes: 0 additions & 41 deletions config/config/roles.example.json

This file was deleted.

67 changes: 67 additions & 0 deletions config/config/roles.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"netadmin": {
"level": 99999,
"overrides": {
"permission_level": 4,
"permission_keys": {
"modfest.netadmin": "allow"
},
"command_feedback": true,
"commands": {
".*": "allow"
}
}
},
"organizer": {
"level": 100,
"overrides": {
"permission_level": 3,
"permission_keys": {
"modfest.organizer": "allow"
},
"entity_selectors": true,
"commands": {
"role.*": "allow"
}
}
},
"builder": {
"level": 10,
"overrides": {
"permission_level": 2,
"permission_keys": {
"modfest.builder": "allow",
"worldedit.*": "allow"
},
"command_feedback": true,
"entity_selectors": false,
"commands": {
"gamemode.*": "allow",
"tp @[^e].*": "allow",
"fill.*": "allow",
"setblock.*": "allow",
"summon.*": "allow",
"rregion.*": "allow",
"anshar network list": "allow",
"flounderfest (start|stop)": "allow",
"weathersync timer (get|reset)": "allow",
"kill.*": "deny"
}
}
},
"everyone": {
"overrides": {
"permission_keys": {
"modfest.everyone": "allow",
"worldedit.*": "deny"
},
"commands": {
"help": "allow",
"warp.*": "allow",
"weathersync (enable|disable|sync)": "allow",
"weathersync location (get|set)": "allow",
"polymer.*": "deny"
}
}
}
}
13 changes: 6 additions & 7 deletions config/config/styled-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"parse_links": true,
"parse_mentions": false,
"markdown": true,
"formatting_from_other_mods": false
"respect_colors_client_setting": true
},
"auto_completion": {
"tags": false,
Expand Down Expand Up @@ -82,10 +82,10 @@
{
"require": {
"type": "permission",
"permission": "group.organizer"
"permission": "modfest.netadmin"
},
"message_formats": {
"chat": "<c:#ff0099>\\<</c>${player}<c:#ff0099>\\></c> ${message}"
"chat": "<c:#24f9ff>\\<</c>${player}<c:#24f9ff>\\></c> ${message}"
},
"formatting": {},
"emoticons": {},
Expand All @@ -94,11 +94,10 @@
{
"require": {
"type": "permission",
"permission": "group.op",
"operator": 2
"permission": "modfest.organizer"
},
"message_formats": {
"chat": "<c:#24f9ff>\\<</c>${player}<c:#24f9ff>\\></c> ${message}"
"chat": "<c:#ff0099>\\<</c>${player}<c:#ff0099>\\></c> ${message}"
},
"formatting": {},
"emoticons": {},
Expand All @@ -107,7 +106,7 @@
{
"require": {
"type": "permission",
"permission": "group.builder"
"permission": "modfest.builder"
},
"display_name": "${default}",
"message_formats": {
Expand Down

0 comments on commit 55357b8

Please sign in to comment.