VIP-Code 2
VIP-Code 2 [4.2.0]
I'll update the plugin in soon!
Latest version: 4.2.0
IMPORTANT! Befor you update to a newer version you must delete the old config.yml! You can manually copy the generated codes in the new config.yml!
Required
- Any Permissions plugin
- Java 7
or Java 6 - Server Version < 1.7.5
How to use
- Copy the .jar file in your plugins folder.
- Reload or Restart your server:
- The config will be generated automatically
- Enter "/vipcode gen <group>" to generate a code
- Give the Code soneone who bought VIP and he/she can use the code with /vip <code>
- He/she will move to the configured group :)
Commands
- /vipcode gen - Generate a Code
- /vipcode list - List all generated Codes
- /vipcode reload - Reload config file
- /vip XXXX-XXXX-XXXX-XXXX - Use a code
Permission Nodes
- vipcode.admin - /vipcode *
Features
- Lightwight!
- Configurable messages
- Configurable groups per code
- Support any permissions plugin
- Auto disable on errors
- Optional log file to avoid "brute force" - Thanks to Devidra
- Firework on promotion
- Give diamond with custom name on promotion
- Time-limited permissions (Added but currently in the testing phase! / Not uploaded)
- Kick on false Code
- Custom Kick messages
- Your idea here!
Config
MSG_CODE_ALREADY_USED: §cYou can use a code only one time! //Message if someone tried to use a code twice MSG_NO_CODE: '§cWrong usage: /vip XXXX-XXXX-XXXX-XXXX' //Message if someone entered no code MSG_SUCCESS: §aCode successfully used! //Message if a player used a code OPTION_LOG: true //Enables logging OPTION_LAUNCH_FIREWORK: true //Launch firework on right code OPTION_GIVE_DIAMOND: true //Give diamond on right code OPTION_DIAMOND_NAME: §6§lThank you for your donation! //Name of the diamond OPTION_SEND_MESSAGE_ON_JOIN: true //send a message to VIP's on join OPTION_COMMAND_IF_EXPIRED: 'manuadd #player user' //Execute this command when the VIP-Code is expired. OPTION_COMMAND_ON_SUCCESS: 'manuadd #player #group' //Execute this command on right code (#player will be replaces with the command sender; #group with the configured group) //Generated codes: VIP-Codes: '0': //Code-ID code: 1586-3363-0505-5041 //Code used: false //Is the code used? group: test //Group expirydate: 72 //Expiry time code used-by: Eioz //Code used by expired: false //Is the code expired?
Color codes:
Support
- In German and English
- via support ticket
- Skype: imEioz
- NOT in the comments!
Bugs
On some servers only Code '0' works.UnsupportedClassVersionErrorCan't execute /vipcode gen from console.
Legend
- : Feature added.
- : Working
- : Removed
- : Bug fixed.
Can you give me a link to download VIP-Code 2 [4.2.1]? This link doesn't work.
Error, it spam my console http://pastebin.com/EPqRDjNM
After I use a vip code...
How can i make codes that give limited permission or limited group..?
When will the time limit vip come out? Really need dis! :)
@Requnael
Look at "Features"
Time-limited permissions Feature added! (Added but currently in the testing phase! / Not uploaded)
Hello, i suggest you add duration for ranks.
Like.
1)Key for VIP 1 month 2)Key for Premium 2 month. 3)Add times for VIP/PREMIUM rank.
when 1 month will left, this player automatic move to MEMBER rank.
or its already have other plugin or so??
@dhannyjsb
You can't but I'll add this feature in the future.
How to add more OPTION_COMMAND_ON_SUCCESS ?
@Devidra
added
im working on it...
Got 2 suggestions @Eioz..
After a Code was "used" by a Player, it is possible to make a TXT File with the Playername Date and the Code?
It would be really nice, so if the Code was "scammed" or someone try to bruteforce Codes we can see it
And like suprememiners, can you add a interval how long the user is in this group?
can you add a time limit and then send players back to a member. i dont want to do all the manually.
@Eioz:
Yes I do have Pex installed.
lyrow, me too
The Vip is automatically removed after one month? When i use a false code cause internal error...
@Builder874
You don't have PermissionsEx or Essentials Groupmanager installed!
All Bugs are fixed in 3.1.3!
@daviDOS4
Add me in Skype. imEioz
Every time I do /vip [codehere] it spits this error at me: 5:37:36 PM [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'vip' in plugin VIP-Code v3.0.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:514) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852) at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at de.mineastre.vipcode.main.onCommand(main.java:242) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more Any help?
@daviDOS4
YES. PLEASE ADD THAT. I want to give certain people a day trial VIP.
Can I add a life Time ?