Reservations
Reservations is a plugin that provides kicking players on a full server if special players tries to join. You can use the rank system that will kick players with a lower rank, or/and the VIP system that extends the slots on a full server for VIPs. Simple, but with enough features for everyone!
Configuration:
- Open config.yml
- For every new VIP make a new line in ranks, and type : [PlayerName]: ' '
- Example:
VIPs: HomerBond005: '' MyPictures: '' Jeb: '' AnotherPlayerHans: ''
- Change the messages.
- Set Permissions to true if you want to use Permissions, otherwise OP-only.
- Set PEXRankSystem to true if you want to use the ranks from PermissionsEx. (Tutorial will follow)
- Edit the ranks
- For every player you want to set the rank add it like the following:
Ranks: TheBoss: 1 TheCoBoss: 2 TheModerator: 3 TheSupporter: 4 ThePlayer: 5 SomeoneYouDontLike: 6
- For every player you want to set the rank add it like the following:
- Set defaultRank to the rank, that newbies will have.
- Save it.
Commands:
You have to be OP to use the following ones or use the Permission nodes behind it!
- /reserv list - Lists all VIPs Reservations.list
- /reserv add <player> - Adds <player> to VIP list. Reservations.add
- /reserv delete <player> - Deletes <player from the VIP list. Reservations.delete
- /reserv set kickmsg <message> - Changes the message for kicking a non VIP, when a VIP joines a full server. Reservations.set.kickmsg
- /reserv set serverfullmsg <message> - Changes the message if the server is full. Reservations.set.serverfullmsg
- /reserv set sorrymsg <message> - Changes the message if a player can't join. Reservations.set.sorrymsg
You can use the commands /res, /reser, /reserve and /reservations if they aren't taken by other plugins (like residence).
Permissions:
Reservations.VIP - User(s) is(/are) VIP(s)
If you are not using PermissionsEx based ranks you can use 5 ranks as Permission that can be applied to groups and users:
- Reservations.rank.1 -> Rank 1
- Reservations.rank.2 -> Rank 2
- Reservations.rank.3 -> Rank 3
- Reservations.rank.4 -> Rank 4
- Reservations.rank.5 -> Rank 5
- etc.
You have to change the value for permissionBasedRanks in the config.yml to gain more ranks for the permissions. The default value is 10 that means you can add all ranks up to the permission Reservations.rank.10.
FAQs
See the FAQ page for more help.
Tutorials
I do not assume liability for the content of the videos!
- Tutorial in portuguese: (Thanks to AbsintoJ)
Make your own tutorials in different languages and I will add them to this description!
Here is my config file. PLEASE HELP ME. http://pastebin.com/fyXtV2bJ
I sort of confused. My server is a private server. Maximum players are 4 players. When there are 4 players in the server and all of them are the lowest ranks, and a special one joins, it just makes the server 5/4. Doesn't kick anyone. HELP?
Please don't stop developing :(
@Jalulek
u need more ranks
In file "config" is Rank. My config:
KickMsg: Someone with a higher rank joined you were randomly selected for kicking.
SorryMsg: No one was found with a lower rank. :(
Permissions: true
PEXRankSystem: false
defaultRank: 100
permissionBasedRanks: 10
Broadcast: '[Reservations]: %lowerrank% have been kicked because %higherrank% joined.'
preventKickFromAnotherLocationLogin: true
loginFromAnotherLocationMessage: You are already logged in from another location!
Ranks:
expampleplayer: 1
VIPs:
- Admin
- HomerBond005
updateReminderEnabled: true
Example: I have 2 slots. When i connecting from nick exampleplayer, i see message 'No one was found with a lower rank. :('
What I'm doing wrong?
@Jalulek
use the ranks, not the vip function
I have a question. Why plugin adds the slot when it comes to server admin and not kick a player? How to configure? There are 2 slots, connect admin, and one player is eliminated? Sorry for my English ...
@michalkomar
A session steal, allowed through hacked clients where you can "sign in" as any user name you want. Hosting a server in offline-mode does not validate the name of the person is real, so you can easily log in as anyone. My guess is that you are allowing cracked clients access to the game without first purchasing MC? Or you just... disabled it randomly? Anyways, that's what's happening and there's no fix other than turning online mode back on or making logins specific to 1 IP per account. That means no traveling and playing at the same time unless constantly connected to 3G or something.
@michalkomar
Ticket please.
Session stealing problem is back on 1.4.2 :(
@Adrenalineq
You have activated the "usePEXRanks" option in the config. The PermissionsEx system did not seem to be active when you got this error. Please check PermissionsEx and open a ticket if you can the error again.
@HomerBond005
@michalkomar
I'm not quite sure but I think so. I will test it in the next week.
Does it work for you on 1.4.2 Beta build? Thanks.
still works fine here
@HomerBond005
Done. Thank's for your effort.
@michalkomar
Wow, this seems interesting :D Please create a ticket, this is a real bug and I'm going to fix it.
There is a bug. I am using extending feature of your plugin in offline mode and someone found out that if he joins the full server with the name of "vip" player which is currently online, he can completly take control of his character. Maybe some fix?
Thank you.
@LEOcab
-Vips only extend max slots
-Then use Pex's rank system to kick players with a lower rank when the server is full
example:
this means when the server is full, guests get kicked when a member joins (because guests have a lower rank) and VIP's will join extending the server's slots (11/10)
I don't understand the config... I want to have 10 slots and kick anyone who isn't VIP whenever a VIP joins. I've been playing around with the config but all I can get it to do is let the VIP join without kicking a non-VIP. The reason I want to do this is to spare bandwidth so it has to be 10 players maximum. What should I set the config to? :/