62 lines
1.1 KiB
Elixir
62 lines
1.1 KiB
Elixir
import Config
|
|
|
|
# Default configuration (overridden by runtime.exs)
|
|
|
|
config :odinsea, :server,
|
|
name: "Luna",
|
|
host: "127.0.0.1",
|
|
revision: 1,
|
|
flag: 0,
|
|
slide_message: "Welcome to Luna",
|
|
data_prefix: "Luna"
|
|
|
|
config :odinsea, :rates,
|
|
exp: 5,
|
|
meso: 3,
|
|
drop: 1,
|
|
quest: 1
|
|
|
|
config :odinsea, :login,
|
|
port: 8584,
|
|
user_limit: 1500,
|
|
max_characters: 3,
|
|
flag: 3,
|
|
event_message: "Welcome to Luna"
|
|
|
|
config :odinsea, :game,
|
|
channels: 2,
|
|
channel_ports: %{1 => 8585, 2 => 8586},
|
|
events: []
|
|
|
|
config :odinsea, :shop,
|
|
port: 8605
|
|
|
|
config :odinsea, :features,
|
|
admin_mode: false,
|
|
proxy_mode: false,
|
|
extra_crypt: false,
|
|
log_trace: true,
|
|
log_packet: true,
|
|
rsa_passwords: false,
|
|
script_reload: true,
|
|
family_disable: false,
|
|
custom_lang: false,
|
|
custom_dmgskin: true,
|
|
skip_maccheck: true
|
|
|
|
config :odinsea, ecto_repos: [Odinsea.Repo]
|
|
|
|
config :odinsea, Odinsea.Repo,
|
|
database: "odin_sea",
|
|
username: "root",
|
|
password: "",
|
|
hostname: "localhost",
|
|
port: 3306,
|
|
pool_size: 32
|
|
|
|
config :odinsea, :redis,
|
|
host: "localhost",
|
|
port: 6379,
|
|
timeout: 5000,
|
|
pool_size: 10
|