-
Notifications
You must be signed in to change notification settings - Fork 35
Add rcon-cli support for server interaction #54
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
base: master
Are you sure you want to change the base?
Conversation
0f3cfb5 to
d65be37
Compare
|
Looks good! |
|
Nice - thank you for the contribution! Everyone has different workflows, so I generally support this - I really like the way this is optional (if people don't configure the RCON variables, it won't attempt to run any RCON commands). I'm not sure how I feel about the added complexity of I'll continue to think about this, but I really do appreciate the contribution. |
|
You could probably just download the As far as the code itself, it's been working fine in my own distribution and I haven't had any tile corruption since starting. I'm also using an Ofelia container to restart my overviewer container every hour. |
|
I thought I would just mention that yes, easy-add is bit a overkill for adding a single binary. I also put this in easy-add's README, but here's one alternative I used to use: |
|
How can you specify the RCON password? |
|
|
|
@itzg Maybe you could run some kind of optimization step on the Golang binaries when you build them? Remove debug info and compress maybe? 15MB seems like a pretty big static binary for a one-file Golang program... |
@magneticflux- I had already offered my advise to remove the use of easy-add, so I found this comment was not helpful. First of all, the easy-add binary is only 7MB if you look at the release assets here: https://github.com/itzg/easy-add/releases/tag/0.7.1 . The size of Go binaries is already a source of contention way outside my control; there's even an official blog article about their efforts to reduce that https://blog.golang.org/go1.7-binary-size . Finally, you're welcome to look into the module dependency graph and build definition of easy-add and contribute specific improvements. |
cbb189d to
ac6167d
Compare
|
I appreciate the build improvements, but can we try to keep this PR for just the rcon-cli? It's starting to expand to build improvements and shellcheck fixes. I like 'one PR per thing'. For example, most of the other suggestions are solid and minor so I'd just merge them in, this one is a bit larger for me to consider. |
Sorry, I didn't mean to offend!
Sure, I'll rebase with just the |
|
I did a massive rebase and moved everything to do exclusively with Shellcheck and build improvements to #65. I think this is the optimal way to add everything now! |
|
@magneticflux- I added a commit with some suggestions, please let me know what you think. We can revert if needed. |
|
That cleans it up nicely, thanks! |
|
Super. I'd like to test this (I haven't yet tested against a live running server). If everything looks good, I'll merge when I get a chance. |
Closes #53
I'm currently testing this on my own deployment to see how well it works.