1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add some basic commands for sysadmins and permission system for them

This commit is contained in:
NG (Graham)
2025-10-31 21:02:10 -04:00
parent 77b6d8c11f
commit 3ef1aa20d0
13 changed files with 290 additions and 29 deletions

View File

@@ -14454,21 +14454,24 @@
"op": {
"type": "BuiltIn",
"built_in": "OnlineUsers"
}
},
"permission": "Player"
},
{
"regex": "\\?users",
"op": {
"type": "BuiltIn",
"built_in": "TotalUsers"
}
},
"permission": "Player"
},
{
"regex": "\\?version",
"op": {
"type": "BuiltIn",
"built_in": "Version"
}
},
"permission": "Player"
},
{
"regex": "\\?banner",
@@ -14476,14 +14479,34 @@
"type": "BuiltIn",
"built_in": "Intercom",
"intercom": "DevMessage"
}
},
"permission": "Player"
},
{
"regex": "\\?maintenance",
"op": {
"type": "BuiltIn",
"built_in": "Intercom",
"intercom": "Maintenance"
},
"permission": "Developer"
},
{
"regex": "\\?broadcast",
"op": {
"type": "BuiltIn",
"built_in": "Intercom",
"intercom": "DevBroadcast"
},
"permission": "Developer"
},
{
"regex": "\\?help",
"op": {
"type": "BuiltIn",
"built_in": "Help"
}
},
"permission": "Player"
}
]
},