[QUESTION]Hosting Multiple Servers

Discussion in 'Bukkit Help' started by np98765, Jun 28, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    np98765

    Hello,

    I would like to host multiple servers - For example, a survival, pvp, and creative. But, my Admin thinks I should host a server with different worlds. He said he could create a plugin that will allow me to enable/disable plugins per world, and I would have to make users have different economy balances, items, donor rewards, etc. per world. I would need to have per-world permissions, plugins, and tons more.

    It seems easier to just host 3 different servers off of a new machine.


    1- Is there some reason why this isn't possible, or why running one server with three completely different worlds is better/less laggy/less expensive/easier?

    2- Is it possible for a plugin to only allow certain plugins in certain worlds? (For example, Factions in PvP only)

    3- How would the performance differ if I ran three servers versus or three worlds?

    Thank you for your time! I really need to know so I can tell my users what we're doing...
    Thanks!
     
  2. Offline

    Krazy

    multiverse .
     
  3. Offline

    np98765

    Yes, that would be a multi world plugin. But my question was a bit more complicated...
     
  4. Offline

    Krazy

  5. Offline

    np98765


    ... Thank you, I understand that. >.<

    I understand how to use both MultieVerse and PermissionsEX - I was merely stating that I would need to have separate balances/permissions/etc. in my post. I was asking more about the distribution of RAM and performance of the server.

    I'm sorry if I didn't make that clear enough...
     
  6. Offline

    Krazy

    1- Is there some reason why this isn't possible, or why running one server with three completely different worlds is better/less laggy/less expensive?
    Not use Anti-xray plugin, it make Much lag in server, maybe this plugin solve ore poblem: http://dev.bukkit.org/server-mods/anti-x-ray/

    2- Is it possible for a plugin to only have plugins per-world?
    Yes, u can use PEX for it, read this: https://github.com/PEXPlugins/PermissionsEx/wiki/Advanced-permissions-setup#wiki-pex-multiworld

    3- How would the performance differ if I ran three servers, or three worlds?
    idk
     
  7. Offline

    np98765

    1- I'm not asking how to decrease lag on the server. I'm asking how the lag would differ between separate servers and worlds.

    2- I'm asking for plugins per-world, not permissions.

    3- ...
     
  8. Offline

    Subaca

    I do exactly what you need with Multiverse and PEX. If you want help, ask away.

    Sorry for not answering the questions :(

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

    np98765

    Lol, I was writing up my reply when I got the alert notification. It's fine... Thanks for the offer. :) I know PEX quite well, Multiverse not as well as I'd like to. One day, though. :)

    I have an off topic question about PEX - Is there a way to set a timed permission, and have it reset a user to the group they were before?

    Example: Someone is a Builder. They donate for VIP. In 30 days, they go back to builder.

    Thanks! :)




    And is anyone able to answer my questions in the OP? :3

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

    Sir_Wai

    /pex user <user> timed add <permission> <lifetime in seconds> [world]


    https://github.com/PEXPlugins/PermissionsEx/wiki/Commands

    Personally I don't think you can have 3 different servers WITHIN a server... only way I see it is if you rewrite how minecraft finds folders (like plugin1 folder plugin2 folder lol sounds like a headache and might just do the same thing) or you have like 60 plugins and certain worlds you just don't use them

    i also know you can link servers to other servers with a plugin, forgot what it was but that can also be something too look at.

    Also i believe each server needs a separate IP but i could be wrong and hosting 3 servers off a company might be expensive...

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

    Tythus

    Not that hard when you think on it actually.
    Yes you will need 3 separate IP's or use different ports or use sub-domain redirection such as
    p.servername.com
    c.servername.com
    s.servername.com

    I hope I can answer your questions with enough detail but here we go!
    As far as performance goes your server if with multiverse would scale much in the same way a normal server would maybe a bit less due to disk usage as more chunks would have to be loaded more likely with the main issue being bukkit and minecraft single threaded nature if your planning on having over 50 players I would advise you start to shard your servers to keep performance up especially if you arn't running e3-1250+ which are currently the best around for this due to there high core clocking being 3Ghz+ which is what really makes minecraft tick and decrements of tickrate and chunk veiw.
    You can run multiple servers on the same server (just run the program multiple times) but you have to bear in mind port changes with sub-domains, extra strain on your HDD (maybe get multiple ones and have one server on each hard disk), ram space spare 100MB per person is a general max usage but it can vary heavily in both ways, speed of connection availble to that machine and you are limited by how many cores you have on your server where you can run efficiently as many servers minus one (for the backgroud O/S etc).
    As these seem to be separate worlds lots of possible issues should be major and as far as I can see the servers would be to a certain extent independent with maybe the possibility of using a mysql server across all 3 disks to hold golbal data such as perms/bans etc

    For those who might read these and TLDR

    1.no reason at all why not and there are 2 main ways of doing both of which you mentioned having multiple worlds on one server instance or multiple server instances

    2.yes,yes and yes

    3.same as running a server with one world to a certain extenet with slightly less efficiency but once you start hitting 50-100 players sharding your servers becomes a more attractive option (even just running multiple instances on the same server)

    Anything else you think I have skipped or if you want to chat on skype gimme a shout!

    Tythus

    LOTC Admin

    EDIT:Just expanded on stuff
     
    np98765 likes this.
  12. Offline

    Subaca

    Whatever Sir_Wai said will work, I think. PEX is awesome!
     
  13. Offline

    Tythus

    You would need to make your own piece of code to do that but Imagine it would be relatively easy.
     
  14. Offline

    np98765

    Thank you so much for the in-detail description, I really appreciate it!

    Sir_Wai
    And no need to combine them - All I have to do is run three start.command's :D
    Tythus Subaca

    Thanks all three for your help!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 26, 2016
Thread Status:
Not open for further replies.

Share This Page