restructured/cleaned up how admin-pms are sent (retained original code just in case), made it so that only holders with R_ADMIN can see private messages, added a timeout warning to anyone PMing a player so they dont get spammed (default to 5 seconds, config edited)

Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
Cael_Aislinn
2013-02-10 21:29:02 +10:00
parent 6668458b09
commit c05b9869e6
4 changed files with 78 additions and 4 deletions

View File

@@ -109,6 +109,8 @@
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/simultaneous_pm_warning_timeout = 100
var/use_recursive_explosions //Defines whether the server uses recursive or circular explosions.
var/assistant_maint = 0 //Do assistants get maint access?
@@ -393,6 +395,9 @@
if("ghost_interaction")
config.ghost_interaction = 1
if("simultaneous_pm_warning_timeout")
simultaneous_pm_warning_timeout = text2num(value) * 10
else
diary << "Unknown setting in configuration: '[name]'"