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

special feature request please :) #13

Closed
advocaite opened this issue Apr 5, 2016 · 3 comments
Closed

special feature request please :) #13

advocaite opened this issue Apr 5, 2016 · 3 comments

Comments

@advocaite
Copy link

hey mamo long time since i spoken with you..any chance you could make it so you can choose multiple servers to rcon to.
for instance

I have strictly vanilla main and strictly vanilla skyblock
when a user votes on site it would be cool if i could have the rcon command sent to both servers this way i can reward people for voting on all servers even if they only play one server ;)

just a feature i would like to know if you could add if you need a fiver for it, ill be glad to donate to you for it. let me know thanks man.

@xmamo
Copy link
Owner

xmamo commented Apr 8, 2016

Hello advo! That's actually a feature I actually wanted to add quite some time ago, but thought it was useless. But since you are now requesting this, I could try it! I'll start to work today!

@advocaite
Copy link
Author

you are awsome man

@xmamo
Copy link
Owner

xmamo commented Apr 20, 2016

Hey advo, sorry if it took so long, but due to university and stuff I only took a look at it today. Anyways, in the newest version you can already do it! Here's an example, where the fisrt Minecraft server is at localhost and the second one is at 81.3.21.12:

{
    "config-version": 3,
    "log-file": "votifier.log",
    "ip": "127.0.0.1",
    "port": 8192,
    "key-pair-files": {
        "public": "public.pem",
        "private": "private.pem"
    },
    "rcon-list": [
        {
            "ip": "127.0.0.1",
            "port": 25575,
            "password": "password1",
            "commands": [
                "tellraw @a {\"text\":\"${user-name} has just voted for this server on ${service-name}. Thanks!\",\"color\":\"yellow\"}",
                "scoreboard players set ${user-name} voted 1"
            ]
        },
        {
            "ip": "81.3.21.12",
            "port": 25575,
            "password": "password2",
            "commands": [
                "tellraw @a {\"text\":\"${user-name} has just voted for this server on ${service-name}. Thanks!\",\"color\":\"yellow\"}",
                "scoreboard players set ${user-name} voted 1"
            ]
        }
    ]
}

@xmamo xmamo closed this as completed Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants