Implemented configurable daily account limit per world, defaults to 3 (daily_accounts_per_ip in worldprops)

This commit is contained in:
Ceikry
2022-08-21 05:18:03 +00:00
committed by Ryan
parent 4930740b6f
commit c3250acce1
5 changed files with 52 additions and 13 deletions
+2
View File
@@ -13,6 +13,8 @@ use_auth = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION!
#NOTE: this does not affect actual save data, like stats, inventory, etc.
persist_accounts = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION!
#------------------------------------------------------------------------------------------------------
#The limit on how many different accounts a player can log into per day.
daily_accounts_per_ip = 3
[database]
database_name = "global"