Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure the zCatch server with the discord bot? #23

Open
SoapySandwich opened this issue Jun 16, 2020 · 5 comments
Open

How to configure the zCatch server with the discord bot? #23

SoapySandwich opened this issue Jun 16, 2020 · 5 comments
Labels
info some information other people might find helpful

Comments

@SoapySandwich
Copy link

Needed edit autoexec_server.cfg or autoexec.cfg for econ option ? Caz there is no option for ec_address, ec_port, ec_password.... in my own fng, ddrace, infection, zcatch servers.

@SoapySandwich
Copy link
Author

SoapySandwich commented Jun 16, 2020

I didnt found any ec_... command in f2 console , so i added them right in to autoexec-server.cfg like this:

ec_bindaddr localhost
ec_port 8314
ec_password mypass
ec_output_level 2

And this is my discordbot config:

ECON_ADDRESSES=localhost:8314
ECON_PASSWORDS=mypass
REDIS_ADDRESS=localhost:8314

Notice: my zcatch server ro on 8314 too.

@jxsl13
Copy link
Owner

jxsl13 commented Jun 16, 2020

My config is like:
sv_port 8303 is the server port ec_port 9303 is the econ port
and redis is a database that runs after being installed on a completely different default port(6... something, google it).
by default redis has no password and cannot be accessed from outside of localhost.
ec_ commands can only be set at startup and not while the server is running.

@jxsl13
Copy link
Owner

jxsl13 commented Jun 16, 2020

Basically every of your ports needs to be a different port.

@jxsl13
Copy link
Owner

jxsl13 commented Jun 16, 2020

in the readme you can find the default redis configuration that works with redis that has a default configuration:

address of the redis cache REDIS_ADDRESS=localhost:6379

@jxsl13
Copy link
Owner

jxsl13 commented Jun 16, 2020

here I created an example configuration: https://github.com/jxsl13/TeeworldsEconDiscordModerationBot/wiki/Configuration-example

The ec_ commands are the default Teeworlds commands that can be found here: https://www.teeworlds.com/?page=docs&wiki=server_settings

@jxsl13 jxsl13 added the info some information other people might find helpful label Jun 16, 2020
@jxsl13 jxsl13 pinned this issue Jun 16, 2020
@jxsl13 jxsl13 changed the title config ec_ How to configure the zCatch server with the discord bot? Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info some information other people might find helpful
Projects
None yet
Development

No branches or pull requests

2 participants