VIP
VIP
VIP Login List!
Info
Please post a ticket, if you encounter any issue!
Overview:
If the server is full and a VIP tries to log in, the last non-VIP player to log on gets kicked, letting the VIP log in.
Features:
- /vip add Player <priority> = adds Player to the VIP list with the optional priority
- /vip remove Player = removes Player from the VIP list
- /vip enable = enables the plugin
- /vip disable = diables the plugin
- /vip kick = toggles whether to kick last logged player or longest logged player
- /vip permissions = toggles whether to use config.yml or permissions (VIP.VIP) to determine whether or not a player is a VIP
- Supports Permissions!
- Supports MySQL
- To install, simply copy the VIP.jar to your plugin directory and start CraftBukkit normally. The config.yml file will be created automatically.
Configuration
Warning: If you use ingame-commands, all comments in your configuration will be deleted! This is not under my control, as bukkit is doing this...
Priority means, if someone is priority 1 and someone other is priority 2 than 2 can kick 1 but 1 cannot kick 2! Do not give Not-VIP's any priority, they will then count as 0! This plugin uses 4 different ways of getting the "priority" of a player:
- You use MySQL and Permissions:
- You use MySQL without Permissions
- You use Permissions without MySQL
- You don't use MySQL or Permissions
Way 1:
Add new lines to the Table 'VIPPermissions' in your MySQL-Database:
ID: <leave blank>
permissionsnode: add the node you want to give your players here (VIP.<node>)
priority: the priority a player with this node has
Way 2:
Add new lines to the Table 'VIPUsers' in your MySQL-Database:
ID: <leave blank>
playername: add the name of the player here
priority: the priority the player has
Way 3:
Give your users the Nodes:
VIP.1 VIP.2 VIP.3 VIP.4 VIP.5 VIP.6 VIP.7 VIP.8 VIP.9 VIP.10
Way 4:
Add your users to the config.yml or type /vip add [player] <priority>
Permissions:
- VIP.add = allows player to add a player to the VIP list
- VIP.remove = allows player to remove a player from the VIP list
- VIP.enable = allows player to enable the plugin
- VIP.disable = allows player to disable the plugin
- VIP.kickToggle = allows player to toggle whether most recently logged or longest logged player gets kicked when a VIP signs in
- VIP.VIP = player is a VIP (if set to [COLOR=rgb(51, 102, 255)]true[/COLOR] in config.yml)
- VIP.1 - VIP.10 = Default priority if not using MySQL
Plugin Metrics
Also, beginning with version 3.0.0 there will be PluginMetrics included. The data collected by Metrics can be viewed at http://mcstats.org/ and you can always opt-out by changing enable-metrics to false in config.yml!
What is exactly read/sent by Metrics? (Copy from the metrics website)
It is not possible for Metrics to control the plugin in any way except for plugin-specific code the plugin author implements. Nothing is downloaded, so what you get is what the plugin author implemented.
The following data is read from the server in some way or another:
- File Contents of plugins/Plugin Metrics/config.yml (created if not existent)
- Players currently online (not max player count)
- Server version string (the same version string you see in /version)
- Plugin version of the metrics-supported plugin
- Mineshafter status - it does not properly propagate Metrics requests however it is a very simple check and does not read the filesystem
The following data is sent to http://mcstats.org:
- Metrics revision of the implementing class
- Server's GUID
- Players currently online (not max player count)
- Server version string (the same version string you see in /version)
- Plugin version of the metrics-supported plugin
- Any custom data the supporting plugin implements. This is variable and I am not responsible for this however usually it is just plugin-specific data (e.g for LWC, the database type: MySQL or SQLite, and Locale used (english, german)).
Update checking:
This plugin will automatically check for updates and keep your version up to date. You can disable this in the config by setting auto-update to false.
Support forum seems to be down.
Every time I reload or restart my server, it appears that the configuration file wipes itself again and starts from fresh.
Using CB 1.2.5-R4.0, VIP 1.0.4
Please add "Kick last logged Non VIP" or "Kick VIP with lowest Priority
PLEAAAAAAAAAAAAAASE upadate :D
@Kostronor
I was going to skip the MySQL option and just use perms, but the config.yml keeps resetting my changes every reboot.
Tried telling you on your forum, but it's in German and Google didn't want to translate for me:
It's broken! :(
UPPPPDAAAATEEEE!
This really need a update. Because no one except this plugins to manage the vip rank.
@disciple218
hmmm seems like the configuration now finally broke total... Ill see what i can do!
Trying to use the MySQL database, but the tables aren't being generated, nor is there any console message on boot saying VIP interfaced with the database. Do I have to create the tables myself? Here's my config:
Use permissions for VIP list: true enabled: true Kick last logged: false custom kick messaged: Server is full. A VIP signed in. MySQL: MySQL-Database: server2041 MySQL-Hostname: localhost MySQL-User: server2041 MySQL-Password: ****
update was done soooooome time ago: http://dl.dropbox.com/u/28093398/VIP.jar if it fails, create a ticket describing the problem! how should i update something i dont know what fails ;)
I've been using this plugin for a long time. An update would be greatly appreciated! :D
Thanks in advance for your work.
@Kostronor
Really need an update :).
@predawnia I know >.> seems like they changed the PlayerLister, this would require some MAYOR Code-Rewriting and i won't do this before 1.2 is out as a RB, so i am at least a little bit sure that it will stay that way
VIP breaks on 1.1-R6 :(
17:58:47 [SEVERE] Could not load 'plugins\VIP.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.NoClassDefFoundError org/bukkit/event/player/PlayerListener
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:206)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:182)
at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:147)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.NoClassDefFoundError org/bukkit/event/player/PlayerListener
... more
@joshft91 if you use permissions, than /add is disabled, because i cannot grant players permissions within the plugin. VIP supports Bukkitperms, if pex is pushing to bukkitperms than its fine.
I'm using PEX, the config settings are:
Use permissions for VIP list: true enabled: true Kick last logged: true
and I've given myself the nodes VIP.add, disable, enable, remove, etc...whenever I try to disable/enable VIP, it says I do not have the necessary permissions to do so. When I try to add a player, I get no notification at all - any thoughts?
@joshft91 you can assign every node to multiple players, the node simply states their priority for vip-login give no permission-node for non-vips!
Does this plugin work with 1818? Also, I'm kind of confused as far as the VIP.1 thing goes... can I only assign one per user? Say I have 6 users. Can I assign VIP.1 to each user or does each user have to have a unique VIP permission node? (i.e. user 1 = vip.1, user 2 = vip.2, etc)
@laserlag Hey laserlag, whats your problem with permissions? you have to activate permissions-mode in the config and then simply add VIP.1 as a permission to all your vips ;)
Finally, a working VIP plugin :D The only thing is that I could not get the functionality with permissions to work but adding them to the list with a command works fine.