forked from EngineTribe/EngineTribe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
51 lines (47 loc) · 2.3 KB
/
config.yml
File metadata and controls
51 lines (47 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
enginetribe:
host: '0.0.0.0' # Engine Tribe server host
port: 30000 # Default port that SMM_WE uses
api_root: 'https:api.enginetribe.online/' # Used in level links
api_key: "enginetribe" # Engine Bot API key
verify_user_agent: false # Verify user agent
rows_perpage: 32 # Levels per page
upload_limit: 25 # Max levels per account
booster_extra_limit: 10 # Privileges of boosters
record_clear_users: true # Record and display cleared users
cors_allowed_origins: [ 'https://web.enginetribe.online', 'http://web.enginetribe.online' ] # CORS allowed origins
database:
adapter: 'sqlite' # Database adapter to use, mysql, postgresql and sqlite is supported
host: 'database/database.db' # Database host (or file name when using sqlite)
#timeout: 20
port: 3306 # Database port
user: 'enginetribe' # Database user
password: 'P455W0RD' # Database password
database: 'enginetribe' # Database name
ssl: false # Use SSL for database connection
debug: false # Log SQL connections to stdout
redis:
host: '0.0.0.0' # Redis host
port: 6379 # Redis port
database: 1 # Redis database
password: 'si' # Redis password
storage:
provider: 'database' # Storage provider to use, onemanager, onedrive-cf and database are supported now
# database: use database to store levels (recommended)
# onedrive-cf: https://github.com/spencerwooo/onedrive-cf-index
# onemanager: https://github.com/qkqpttgf/OneManager-php
url: 'https://api.enginetribe.online/' # Storage url with '/'
auth_key: '' # Storage auth key, onedrive-cf and onemanager only
proxied: true # Proxy levels via CloudFlare CDN, onedrive-cf only
push:
engine_bot:
enabled: false # Enable push to Engine Bot
enable_counter: false # Enable counter (100 / 1000 plays, death, etc.) push
enable_new_arrival: false # Enable new level push
urls: [ 'http://engine_bot/enginetribe' ] # Engine Bot webhook url
discord:
enabled: false # Enable push to Discord
enable_new_arrival: false # Enable new level push
urls: [ 'https://discord.com/api/webhooks/my_awesome_webhook' ] # Discord webhook url
avatar: 'https://raw.githubusercontent.com/EngineTribe/EngineBotDiscord/main/assets/engine-bot.png'
nickname: "Engine Tribe (LL)"
server_name: "test"