Solved Reserved slots

Discussion in 'Plugin Requests' started by Redfyre, Dec 13, 2015.

  1. I would like to see if it is possible to have a Reserved slot system for people who choose to donate a certain amount to the server. Now this list of people would have to be a manually updated list as donators start donating more and more.

    But as long as donators have a reserved slot in the server, that would be ideal.
     
  2. Wulf

    Wulf Community Admin

    I'll be porting my Reserved plugin from Rust soon.
     
  3. i tried to make it for my serv, but you cant kick someone by using OnPlayerConnected hook,
    we need: CanClientLogin | Oxide
     
  4. Wulf

    Wulf Community Admin

    You can kick in there, but the player isn't fully connected at that point, so it can cause issues and may require a timer. I'll look into the hook.
     
  5. This would be good if we could have something that allows us to have 5 hidden slots for reserved so that players see 50 slots, but admins/donators could get in using one of the 5/10 reserved slots. If that can't be done, then maybe having it kick that last person to join to allow for a reserved slot to join the game.
     
  6. Anyone could do this? please my server is full al the time because it has 40 slots.
    Edit: please someone can do this i really need it, or at least how i can make it, i never programmed a oxide plugin but i have some c# knowledge.
     
    Last edited by a moderator: Dec 18, 2015
  7. Now that we have the CanClientLogin hook, are we any closer to getting this? I have looked over Wulf's reserved plugin for Rust, but it is written in lua, and I'm only beginning to understand C#, so I'm of no help in porting it over.
     
  8. Wulf

    Wulf Community Admin

    I'm working on rewriting mine in C# for both games.
     
  9. Thank you for the reply. I do appreciate what you have been doing for this game. Without Oxide our community servers would be in as much trouble as official. I sent over a donation as a gesture of my thanks.
     
  10. I've got so many people waiting on reserved slots to donate its ridiculous. :p

    Patiently waiting though. I will donate to you once this gets created as well.
     
  11. Sweet! Can't wait!!! theres not many plugins for hurtworld, it needs more!
     
  12. I have been working on a reserve slot plugin, but I'm currently running in to an issue that if players who have the reserved slot permission are already on the server, I have no logic to allow the remaining slots to fill up. If there are 50 slots, 5 reserved slots, and 5 reserved players are online with 40 other normal players, it will not allow the remaining 5 slots to fill up. So once I have that figured out, I will see if I can post my plugin.
     
  13. So there currently is no logic to prevent currently connected reserved slot players from being kicked to allow additional ones to join?
     
  14. Well my plugin doesn't kick anyone on the server, just denies the ability to join the server once players + reserved slots are greater or equal to maxplayers. I need to add some more logic to take in to account any reserved slots that are currently playing on the server. So basically have reserved slots be a floating number than can change from 5 to 0 depending on who has used up a reserved slot.
    [DOUBLEPOST=1450804494][/DOUBLEPOST]With that Logic, there will always be 45 players and 5 reserved slot players when the server is full. Right now my server could be sitting at 43 players and 2 reserved slot players and it will never allow anyone to join that doesn't have a reserved slot flag.
     
  15. Wulf

    Wulf Community Admin