Adds cfg option to let players see their own notes

This lets players see the admin notes that have been added to their
ckey, by using a verb in the OOC tab.
This is a config option and is off by default.
This commit is contained in:
tkdrg
2014-12-19 22:39:28 -03:00
parent 579f297076
commit 9d7567f46d
5 changed files with 47 additions and 3 deletions
+3
View File
@@ -64,6 +64,7 @@
var/admin_legacy_system = 0 //Defines whether the server uses the legacy admin system with admins.txt or the SQL system. Config option in config.txt
var/ban_legacy_system = 0 //Defines whether the server uses the legacy banning system with the files in /data or the SQL system. Config option in config.txt
var/use_age_restriction_for_jobs = 0 //Do jobs use account age restrictions? --requires database
var/see_own_notes = 0 //Can players see their own admin notes (read-only)? Config option in config.txt
//game_options.txt configs
var/force_random_names = 0
@@ -281,6 +282,8 @@
global.comms_key = value
if(value != "default_pwd" && length(value) > 6) //It's the default value or less than 6 characters long, warn badmins
global.comms_allowed = 1
if("see_own_notes")
config.see_own_notes = 1
else
diary << "Unknown setting in configuration: '[name]'"