142 lines
5.7 KiB
Plaintext
142 lines
5.7 KiB
Plaintext
[server]
|
|
#Log Level - the level of verbosity used for logs.
|
|
#"verbose" - ALL logs are shown
|
|
#"detailed" - FINE logs are hidden, which is generally bulk/debug info.
|
|
#"cautious" - FINE, INFO logs are hidden, meaning this level only shows warnings and errors.
|
|
#"silent" - FINE, INFO, WARN logs are hidden, meaning this level only shows errors.
|
|
log_level = "verbose"
|
|
#Secret key - this is sent by the client during login.
|
|
#Client/Server MUST match or connection is refused.
|
|
secret_key = "2009scape_development"
|
|
write_logs = true
|
|
msip = "127.0.0.1"
|
|
#preload the map (Increases memory usage by 2GB but makes game ticks smoother)
|
|
preload_map = false
|
|
#--------Note: If both of the below are false, no database is required to run the server.--------------
|
|
#true = login requires password to be correct, passwords are hashed before stored. false = login does not care about the correctness of a password.
|
|
use_auth = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION!
|
|
#true - account data (credits, playtime, etc) is persisted, false - account data is purely temporary
|
|
#NOTE: this does not affect actual save data, like stats, inventory, etc.
|
|
persist_accounts = false #NOTE: THIS MUST BE SET TO TRUE IN PRODUCTION!
|
|
noauth_default_admin = true #NOTE: If we are not using auth, this determines whether or not players are admins by default.
|
|
#------------------------------------------------------------------------------------------------------
|
|
#The limit on how many different accounts a player can log into per day.
|
|
daily_accounts_per_ip = 3
|
|
watchdog_enabled = true
|
|
connectivity_check_url = "https://duckduckgo.com,https://emoscape.org"
|
|
connectivity_timeout = 500
|
|
|
|
[database]
|
|
database_name = "global"
|
|
database_username = "root"
|
|
database_password = ""
|
|
database_address = "127.0.0.1"
|
|
database_port = "3306"
|
|
|
|
[integrations]
|
|
grafana_logging = false
|
|
grafana_log_path = "@data/logs"
|
|
#how long grafana will keep old data for in days (anything older is pruned once on startup)
|
|
grafana_log_ttl_days = 7
|
|
#discord_ge_webhook = "webhook link"
|
|
#discord_moderation_webhook = "webhook link"
|
|
#openrsc_integration_webhook = "webhook link"
|
|
|
|
|
|
[world]
|
|
name = "EmoScape"
|
|
#name used for announcements of bots selling items on the GE
|
|
name_ge = "EmoScape"
|
|
debug = false
|
|
dev = false
|
|
start_gui = false
|
|
daily_restart = false
|
|
#world number
|
|
world_id = "1"
|
|
country_id = "0"
|
|
members = true
|
|
#activity as displayed on the world list
|
|
activity = "EmoScape Classic."
|
|
pvp = false
|
|
default_xp_rate = 5.0
|
|
allow_slayer_reroll = false
|
|
#enables a default clan for players to join automatically. Should be an account with the same name as @name, with a clan set up already.
|
|
enable_default_clan = true
|
|
enable_bots = true
|
|
#message of the week model ID, 0 for random
|
|
motw_identifier = "0"
|
|
#text shown for message of the week - @name will be replaced with the name property set above.
|
|
motw_text = "Welcome to @name!"
|
|
#the coordinates new players spawn at
|
|
new_player_location = "2524,5002,0"
|
|
#the location of home teleport
|
|
home_location = "3222,3218,0"
|
|
autostock_ge = false
|
|
allow_token_purchase = true
|
|
skillcape_perks = true
|
|
increased_door_time = false
|
|
enable_botting = false
|
|
max_adv_bots = 100
|
|
enable_doubling_money_scammers = true
|
|
wild_pvp_enabled = true
|
|
jad_practice_enabled = true
|
|
#minimum HA value for announcements of bots selling on ge
|
|
ge_announcement_limit = 500
|
|
enable_castle_wars = false
|
|
personalized_shops = true
|
|
bots_influence_ge_price = true
|
|
#verbose cutscene logging (for cutscenes in the new system)
|
|
verbose_cutscene = false
|
|
#show the rules the first time a player logs in
|
|
show_rules = true
|
|
#the number of revenants active at a time
|
|
revenant_population = 30
|
|
#enable auto-buy/auto-sell on the GE.
|
|
i_want_to_cheat = false
|
|
#better agility pyramid gp reward (gp reward = 1000 + ((agility level / 99) * 9000))
|
|
better_agility_pyramid_gp = true
|
|
#better dragonfire shield attack (30 second cooldown instead of 2 minutes)
|
|
better_dfs = true
|
|
#new player announcement
|
|
new_player_announcement = true
|
|
#enables holiday random events (no effect on normal random events)
|
|
holiday_event_randoms = true
|
|
#force holiday randoms (can only force one at a time)
|
|
force_halloween_randoms = false
|
|
force_christmas_randoms = false
|
|
#runecrafting formula revision (573 introduced probabilistic multiple runes, 581 extrapolated probabilistic runes past 99)
|
|
runecrafting_formula_revision = 581
|
|
#enable the enhanced deep wilderness, where the area past the members' fence applies a red skull that boosts brawler/pvp drop rates
|
|
enhanced_deep_wilderness = true
|
|
|
|
[paths]
|
|
#path to the data folder, which contains the cache subfolder and such
|
|
data_path = "data"
|
|
#in the lines below, @data will be replaced with the value set for data_path
|
|
cache_path = "@data/cache"
|
|
store_path = "@data/serverstore"
|
|
save_path = "@data/players"
|
|
configs_path = "@data/configs"
|
|
#this is where economy/grand exchange data gets saved
|
|
grand_exchange_data_path = "@data/eco"
|
|
#path to file defining the rare drop table
|
|
rare_drop_table_path = "@data/configs/shared_tables/RDT.xml"
|
|
#path to file defining c.ele minor drop table
|
|
cele_drop_table_path = "@data/configs/shared_tables/CELEDT.xml"
|
|
#path to file defining the uncommon seed drop table
|
|
uncommon_seed_drop_table_path = "@data/configs/shared_tables/USDT.xml"
|
|
#path to file defining the herb drop table
|
|
herb_drop_table_path = "@data/configs/shared_tables/HDT.xml"
|
|
#path to file defining the gem drop table
|
|
gem_drop_table_path = "@data/configs/shared_tables/GDT.xml"
|
|
#path to file defining the rare seed drop table
|
|
rare_seed_drop_table_path = "@data/configs/shared_tables/RSDT.xml"
|
|
#path to file defining the allotment seed drop table
|
|
allotment_seed_drop_table_path = "@data/configs/shared_tables/ASDT.xml"
|
|
#path to file containing boot-time object changes
|
|
object_parser_path = "@data/ObjectParser.xml"
|
|
#path logs are written to
|
|
logs_path = "@data/logs"
|
|
bot_data = "@data/botdata"
|
|
eco_data = "@data/eco"
|