Override max players

Discussion in 'Plugin Development' started by Tj3, Jan 14, 2012.

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

    Tj3

    Is it possible to, from a Bukkit plugin, allow a player to join the server even if the max players is reached? If so, how would I do that?
     
  2. Offline

    Jaker232

    Not possible.
     
  3. Offline

    Tj3

    Dangit. I guess what I'll do is just add a few extra player slots. Is it possible for me to fake the data sent on the server info for the server list? Where you get the MOTD, players, and max players? Not crucial, but I'd like to fake that so people don't wonder why they're not being allowed to join when the server says there are open slots...

    EDIT: Just found it... SERVER_LIST_PING
    :D
     
  4. Offline

    CDMV2

    No, but I think it's possible to have a like VIP list in which players who are listed can join, for example:

    There is 15/20 players online, for normal players who arnt on the list that's like it being 15/15 players online but for "VIPS" who are on like "allowedplayers.txt" can join until the real max is reached at 20/20... make sense?
     
  5. Offline

    broluigi

    This has happened to me before, I used Multicraft to host my server and the limit was 32 and for some reason on crowded days over 40 people can login...

    Soon later i got suspended for some reason.. Weird huh
     
  6. Offline

    zachoooo

    Its possible if you tap into the minecraft_server.jar. Its not possible with bukkit alone.
     
  7. Offline

    Jozeth

    Doesn't essentials allow you to join on a full server if you're opped or have a certain permission?
     
  8. Offline

    zachoooo

    Yes it does.
     
  9. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    You could just use my plugin, problem solved. http://dev.bukkit.org/server-mods/softlimit/
     
  10. Offline

    Milkywayz

    Although it doesn't look like he's going to dev anything but i was once told not to discourage someone from deving but instead use an existing plugin. :p
     
  11. Offline

    ustatennis

    Very possible. Use the well known Reservations.
     
  12. Offline

    peabody505

    Is it possible to make SERVER_PING_LIST look larger than it actually is? For example, I have a server with 12 slots, and I want it to say 30. I know I can let the players on with reservations, but is it possible to make it look like that?
     
  13. Offline

    ElliottOlson

    It is possible to increase the max players size. The way you would do it is by registering a Event called ServerListPingEvent, and inside the method have e.setMaxPlayers( your number );. I wouldn't suggested doing this if your player count is set by the host because of the fact, that the host may not like you tampering with their restrictions.
     
Thread Status:
Not open for further replies.

Share This Page