Filled [Plugin Request] Server to server commands

Discussion in 'Archived: Plugin Requests' started by MrCodeMiner, Feb 8, 2013.

  1. Offline

    MrCodeMiner

    Hello everyone,

    Plugin category: Admin Tools

    Suggested name: (Something like:) ServerToServerCMD

    What I want: I would like to have a plugin that allows you to connect multiple servers with each other (Please make it easy to configure) and that I can set a server as default server. All commands that are being executed in the Default server's Console, will be send to the other servers and on those server will be the same commands executed! I hope this is possible without creating/having any sort of Database.


    Ideas for commands: /stscmd reload - Reloads the configuration (all connected servers)

    Ideas for permissions: stscmd.reload - Gives the player permission to use: /stscmd reload.

    Huge thanks to the person who can create this for me!
    The person who makes this for me can get a [Dev] rank on my server!
     
  2. Offline

    Debels

    Well as far as I know, there 2 ways of achieving this:
    1.- Having a global database for all of those servers.
    2.- Sending custom messages to each server and processing them.

    Maybe I could do it, so if anyone else wants to take it, then do so :)
     
  3. Offline

    Shevchik

    3 way - use rcon console
     
    Ne0nx3r0 and jtjj222 like this.
  4. Offline

    MrCodeMiner



    Can you make this for me without any sort of database? If so please PM me!
    ~ minecraftfailzzz

    Thanks for your reply but for that you need a special minecraft client

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  5. Offline

    AlexLeporiday

    I've just written a plugin that lets you share chat across servers and this could be extended to commands but I'd prefer, for security, to not have commands shared between servers.
     
  6. Offline

    MrCodeMiner

    Could you please make a special version for me then if you don't want to make it public? Plz pm me!
     
  7. Offline

    jtjj222

    For whoever does this, you should look into Rcon. If nobody takes this project, I will :D
     
  8. Offline

    MrCodeMiner

    Could you please make it for me? Because I'm not looking for a remote control plugin. I'm looking for a plugin that sends a command to other servers, and its secured with a key connection between the servers via that plugin.
     
  9. Offline

    jtjj222

    Well, RCon isn't secure. Would you need something that is very secure?
     
  10. Offline

    eodomo

    There's that Bungee cord thing. It's easy if you know what you're doing. Unfortunately, it doesn't have server-to-server commands. If you need any help with the setup, I might be able to help. I've gotten it working before.
     
  11. Offline

    Mango

    The best way is probably RCON.
     
  12. Offline

    jtjj222

    If he needs security, RCON isn't the way to go. It sends a plain-text password to authenticate, and there is no encryption in the packets whatsoever. Anyone could sniff out the password, or even easier, change the packet as it is being sent! It would probably be better to just make our own protocol.

    minecraftfailzzz
    What exactly do you need this plugin for?
     
  13. Offline

    penguinben

    this is painful watching people repeat "use RCon"
    He wants a plugin that sends a command to other servers, and its secured with a key connection between the servers. Packet encryption would be the way to go im thinking. (if i have interpreted it right)
     
  14. Offline

    zsombi28

    I know this sounds weird but there are a lot plugins that use irc chat to execute commands, and irc can be used with https connection so that is secure I think (correct me if I'm wrong). So you can use irc (psw protected channel) to link server consoles easily
     
  15. Offline

    Mango

    Nope.
     
    jtjj222 likes this.
  16. Offline

    zsombi28

    How do you mean by that?
     
  17. Offline

    jtjj222

    What you mentioned will not be secure. Https is for connecting to a web server, not an irc server. Besides, even if that did work, it would be a lot more work than necessary.
     
  18. Offline

    nhadobas

    I know you dont want to use a database, but it would simplify the plugin and would most likely get it done quicker. Use a MySQL database to save the command on the other server. Then have the other server check if the tables contain something every so often. Then if it does contain a command, the server would run it. Really would make it much easier if you choose to use a database.
     
  19. Offline

    zsombi28

    Sorry... I meant connection over ssl when I wrote https. And all data which sent over ssl, are encrypted, so I believe it's secure. As mIrc wiki says
     
  20. Offline

    jtjj222

    It could work then, but it would be less work to just make a plugin to do it. Also, I think that this topic is pretty much dead, because minecraftfailzzz isn't responding.
     
    zsombi28 likes this.
  21. Offline

    MrCodeMiner

    I need it to use buycraft, I dont have enough money to pay for premium so I would like to have a plugin that sends all commands that are being executed in the Hub server, to the other servers i can set in the config.
    And sorry for my late respond! I was very busy the last 2 weeks! I'm sorry

    Yeah your right!

    I know that, and if there is no way to do it without I would like a plugin WITH MySQL. But there is one problem, I don't know how to use a MySQL database. But i think i can find that out. Also I use Skype a lot, so it will be pretty difficult to use both. But thanks for your reply!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  22. Offline

    stuntguy3000

    So,you own a hub server and I guess a bunch of others, and you can't pay 15 for 3 months and you don't have a database?

    Well....
     
  23. Offline

    MrCodeMiner

    I'm very sorry that I didn't respond! I was very very busy last 2 weeks! Now i have 1 week vacation so I can watch this tread more often!
    sorry again!
    - Minecraftfailzzz

    Yeah i cant pay that... Well i dont only want 3 months, i want for 1 year. and that's a lot money (I don't have)!
    But i might try the database thingy.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  24. Offline

    nhadobas

    Did your host not give you a database?
     
  25. Offline

    MrCodeMiner

    No I host my servers on my Own PC. (a special server computer tough)
     
  26. Offline

    nhadobas

    Alright I'm guessing you keep it on 24/7. You can use apache and phpmyadmin to set up a SQL database. From there the plugin is much easier to make.
     
    zsombi28 likes this.

Share This Page