Like mineplex slots plugin

Discussion in 'Archived: Plugin Requests' started by alexlab963, Nov 17, 2014.

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

    alexlab963

    Plugin category: Fixes

    Suggested name: AutoPlayerSlots

    What I want: I want a plugin that sets automatically the max player slots of the server like mineplex.
    when you have 1 player online the plugin will set automatically one more available slot so the slots will be 2 and so on if you have like 23 players you will have 24 max slots and on player join event the plugin will set one more slots so 25 max slots as you have 24 online players.

    Now propably some of you will thing that they have to override the slot limit of my or other players provider.I dont want this.I am currently paying for unlimited slots on my server and in the server properties i have set them to 999 so the plugin will look there to find the real max player slots and will not add more slots when 999 players online for example

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions: No permissions needed for this plugin.

    When I'd like it by: As soon as possible
     
  2. Offline

    mrCookieSlime

    alexlab963
    May I ask what you would need this for?
    Cant you just set the max Players to a really high number like 100 thousand?
    Why do you want to increase the Player Limit of a Server by 1, whenever somebody joins if you have unlimited slots?
     
    luke_smiff and timtower like this.
  3. Offline

    alexlab963

    mrCookieSlime its not that i need it it is a nice feature too have like many bukkit plugins that have no effect on the gameplay like fancytab you just change how to tab looks like.I only want this plugin as an extra feature and because i likes it and got really impressed when i saw it on mineplex :)
     
  4. Offline

    mrCookieSlime

    alexlab963
    Ooooh, I see. So you want that the TAB-List size is kept at a certain Level. so it does not look that empty or full.

    EDIT: After a bit of research I have seen that it is a Feature from 1.8 and requires Spigot, so sorry not possible with Bukkit.
     
  5. Offline

    alexlab963

    mrCookieSlime wait fancy tab was example that has nothing to do with the plugin request so whats is impossible with my cersion?
    I want to change the player slots not the tablist
     
  6. Offline

    MisterErwin

    alexlab963 You could ask the dev of the tab plugin to set it's size :)

    €: As I got ninjad: Ask for a plugin thats modifies the tablist size (maybe with the use of protocollib)
     
  7. Offline

    Skionz

    This would be fairly simple. When a player pings the server set the max slots to the Bukkit.getOnlinePlayers().length + 1.
     
  8. Offline

    MisterErwin

    Skionz I'm guessing he wants a better looking tablist w/out empty spaces
     
  9. Offline

    Skionz

    MisterErwin
    Ill make this in 40 minutes.
     
  10. Offline

    alexlab963

    As i said i dont want a tab plugin
     
  11. Offline

    mrCookieSlime

    Skionz MisterErwin
    Indeed he wants to set the size of the TAB list.
    And it is not possible with Protocollib as far as I know.
    You can add or remove Players from the tablist but you cannot change the size, that would require 1.8 and Spigot.
    alexlab963
    The impossible thing with your Version is the Tab Size.
    Changing/Adding Text to the List is possible but you cannot change the Size.
     
  12. Offline

    MisterErwin

    alexlab963 It would be kind of you if you correct me, if I missunderstood you- so Skionz doesn't has to do any extra work :)

    And Skionz : As soon as he says go, I watch the clock ;)

    €: Ninjas, ninjas, ninjas...

    alexlab963 - Why would you need it then?

    @mcCookieSlime You could fake the packets :p
     
  13. Offline

    mrCookieSlime

    However, this Thread has to be moved to the Bukkit Alternatives Section since it is only possible using 1.8 and Spigot as far as I know.

    Timtower says: No move required
     
  14. Offline

    alexlab963

    dude i dont want to change the tab i want to change the player slos on player join and leave event
     
    Skionz likes this.
  15. Offline

    mrCookieSlime

    alexlab963
    Oh i see.
    Sorry, misunderstood it then...
    Because you answered my question "What do you need this for" with "Because it looks cool, just like fancytab changes the tab list."
    So I assumed that you wanted to change the Max amount of Players which can be displayed in the Tablist just like Mineplex. Because that would require 1.8 and Spigot.
     
  16. Offline

    MisterErwin

    alexlab963 Afaik the slots can only be changed w/ spigot (or maybe reflections, but that would most likely lead to instability)

    But what interests me: Why do you want to change the slots?
     
  17. Offline

    alexlab963

    already replied this at mrCookieSlime just too like cool :)
    And the answer for 1.8 spigot
    i thing if you can add slots to your server without paying for them cant you do it automatically when you pay for it?

    If you dint understand what i want i will explain it again a bit better i thing

    When a player join the server the max player slots of the server are increased by 1 and when a player leaves the slots are decreased by 1 so there will be always one available player slot that means if someone join the server the plugin will increase the max player slots so there will be again 1 player slot available and if the player leaves the plugin will decrease the max player slots by 1 so again there will be only one available player slot

    Edit by Timtower: Merged posts
     
  18. Offline

    mrCookieSlime

    alexlab963
    Please dont double post. There is an Edit Button right next to the Date.
     
  19. Offline

    Skionz

    alexlab963 Finished, Its untested so post the stack-trace if it doesn't work. Here is the download:
    <Edit by Moderator: Redacted mediafire url>
    and here is the source lol
    http://pastebin.com/nRAF8Hin
     
    Last edited by a moderator: Oct 31, 2016
  20. Offline

    alexlab963

    [quote uid=90861229 name="Skionz" post=2892642]alexlab963 Finished, Its untested so post the stack-trace if it doesn't work. Here is the download:
    <Edit by Moderator: Redacted mediafire url>
    and here is the source lol
    http://pastebin.com/nRAF8Hin[/quote]

    Skionz I thing you forgot to remove a player slot on player leave event

    Edit: nope its fine thanks a lot man
    btw since we already talk about fancy tab can you add support for the %maxplayers% variable it has ?
     
    Last edited by a moderator: Oct 31, 2016
    Skionz likes this.
  21. Offline

    mrCookieSlime

    alexlab963
    Also, he just changes the Max-Player amount on the Ping. There is no need to decrease this number when someone leaves since it's live updated.
     
  22. Offline

    Skionz

    What do you mean support for %maxplayers%?
     
  23. Offline

    alexlab963

    Skionz Well the fancy tab has variables like %player% that shows your name %online% that shows number of online players and %maxplayers% which shows the max amount of the player slots ....and it doesnt change , It still is 999 which is my real player slots.
     
  24. Offline

    Skionz

  25. Offline

    mrCookieSlime

    alexlab963
    We can pretty much assume what these Variables mean based on there name. However I think what Skionz is trying to say: What should these Variables be used for?

    EDIT: Skionz Ninja'd
     
    Skionz likes this.
  26. Offline

    alexlab963

    I am confused.
    I use the variable %maxplayers% like this Online %online%/%maxplayers% the %online% variable is working properly but the %maxplayers% variables show my real max players (999) i want it to show the same thing ex Online 10/11 ,11/12 and so on and i said if it is possible to do this
    Skionz what data?
     
  27. Offline

    mrCookieSlime

    alexlab963

    Again, we know what the Variables mean, we just don't know where these are supposed to be used...
     
  28. Offline

    alexlab963

    What do you mean where ,Its fancy tab they will be used on the tab
     
  29. Offline

    mrCookieSlime

    Then you should state that right away.
    Anyway, why don't you just use FancyTab then?
     
    17xDillz1997 likes this.
  30. Offline

    Skionz

    alexlab963 I thought you didn't want a tab lol
     
    MisterErwin likes this.
Thread Status:
Not open for further replies.

Share This Page