mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
SERVER HOSTS: This commit replaces the existing admin-rank system. It is now more customizable. Admin.txt essentially works the same as it always has. Each line should look like: ckey - admin rank There is now however, an admin_ranks.txt. This textfile allows you to define ranks like so: admin rank +ADMIN +FUN +BUILD the +KEYWORD are flags adding permissions to that rank. There are brief descriptions in the text-file explaining what they do. You can now name the ranks anything you like, and give them the permissions you want them to have. This allows, for instance, ranks like: Game Admin on disciplinary +ADMIN +BAN This would give that game admin only the tools they need to admin. They would not have access to 'fun' verbs which control events and antags. There's lots of things you can do. For instance, a coder rank whom can debug stuff but cannot do admin tasks: Codermin +DEBUG +VAREDIT +SERVER There's lots you can do. As it evolves it will hopefully become more flexible. admin_ranks.txt defaults to use the old admin rank names. Apologies in advance as there will be a lot of anomalies, such as ranks losing verbs they once had. Please let me know about any problems. I can fix them quite easily simply by moving verbs between the lists or splitting the lists up into new flags. CODERS: There is now a check_rights(flags) proc. It check is usr is and admin and has -at least one of- the rights specified. It checks > usr < not src, so keep that in mind! If you need to check if something other than usr has specific tights, you can do if(holder.rights & R_ADMIN) etc. KNOWN ISSUES: +FUN probably needs to be split up into +MOBS and +EVENTS In-game promotion/demotion is currently disabled. It will be readded after everything else works ok. Erro's sql rights changes stuff is currently commented out. It will be re-added. There are still many many verbs which need updating. Apologies in advance for any inconvenience. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4991 316c924e-a436-60f5-8080-3fe189b3f50e
55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
client/script = {"<style>
|
|
body {font-family: Verdana, sans-serif;}
|
|
|
|
h1, h2, h3, h4, h5, h6 {color: #0000ff; font-family: Georgia, Verdana, sans-serif;}
|
|
|
|
em {font-style: normal; font-weight: bold;}
|
|
|
|
.motd {color: #638500; font-family: Verdana, sans-serif;}
|
|
.motd h1, .motd h2, .motd h3, .motd h4, .motd h5, .motd h6
|
|
{color: #638500; text-decoration: underline;}
|
|
.motd a, .motd a:link, .motd a:visited, .motd a:active, .motd a:hover
|
|
{color: #638500;}
|
|
|
|
.prefix { font-weight: bold;}
|
|
|
|
.ooc { font-weight: bold;}
|
|
.adminobserverooc {color: #0099cc; font-weight: bold;}
|
|
.adminooc {color: #b82e00; font-weight: bold;}
|
|
|
|
.adminobserver {color: #996600; font-weight: bold;}
|
|
.admin {color: #386aff; font-weight: bold;}
|
|
|
|
.name { font-weight: bold;}
|
|
|
|
.say {}
|
|
.deadsay {color: #5c00e6;}
|
|
.radio {color: #008000;}
|
|
.deptradio {color: #993399;}
|
|
.comradio {color: #ACA82D;}
|
|
.syndradio {color: #6D3F40;}
|
|
|
|
.alert {color: #ff0000;}
|
|
h1.alert, h2.alert {color: #000000;}
|
|
|
|
.emote { font-style: italic;}
|
|
.selecteddna {color: #FFFFFF; background-color: #001B1B}
|
|
|
|
.attack {color: #ff0000;}
|
|
.moderate {color: #CC0000;}
|
|
.disarm {color: #990000;}
|
|
.passive {color: #660000;}
|
|
|
|
.danger {color: #ff0000; font-weight: bold;}
|
|
.warning {color: #ff0000; font-style: italic;}
|
|
.rose {color: #ff5050;}
|
|
.info {color: #0000CC;}
|
|
.notice {color: #000099;}
|
|
|
|
.alien {color: #543354;}
|
|
.newscaster {color: #800000;}
|
|
|
|
.interface {color: #330033;}
|
|
|
|
</style>"}
|