mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
no message
This commit is contained in:
parent
fff0bc7563
commit
3eaac491c8
3 changed files with 24 additions and 12 deletions
|
@ -16,7 +16,6 @@ db_port=3306
|
|||
map=HI1.MAP
|
||||
|
||||
# JSON Format Data
|
||||
|
||||
gamedata=gamedata.json
|
||||
|
||||
# Cross-Domain Policy File
|
||||
|
@ -36,5 +35,9 @@ enable_word_filter=true
|
|||
# (NOTE: This feature is also used to filter some less-'bad' words disabling it will allow users to say them!)
|
||||
enable_corrections=true
|
||||
|
||||
# Wether or not to consider all users "Subscribers"
|
||||
all_users_subscribed=false
|
||||
|
||||
|
||||
# Should print extra debug logs
|
||||
debug=false
|
|
@ -21,6 +21,7 @@ namespace HISP.Server
|
|||
public static string CrossDomainPolicyFile;
|
||||
public static bool Debug;
|
||||
|
||||
public static bool AllUsersSubbed;
|
||||
public static bool BadWords;
|
||||
public static bool DoCorrections;
|
||||
|
||||
|
@ -92,6 +93,9 @@ namespace HISP.Server
|
|||
case "crossdomain":
|
||||
CrossDomainPolicyFile = data;
|
||||
break;
|
||||
case "all_users_subscribed":
|
||||
AllUsersSubbed = data == "true";
|
||||
break;
|
||||
case "enable_corrections":
|
||||
BadWords = data == "true";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue