EasyVIP
EasyVIP is a plugin for VIP with various benefits and features you will like! EasyVIP codes provides you with the possibility to give Items, Money, XP, and even some commands when the person activates the VIP. Outside the great ease of using the same. With editable messages!
- <> - Means that that that part is necessary.
- [] - This part is optional.
- /ev claim <code> - Promotes the player to the group specified in the config.
- /ev list - Lists all the codes and if they are used or not.
- /ev gen <amount of codes> [amount of codes:match:Start at]... - Generates random codes.
- /ev end [player] - Tells when a player's vip ends.
- easyvip.claim - Allows the use of the "/ev claim" command.
- easyvip.list - Allows the use of the "/ev list" command.(Give this to trusted persons only!)
- easyvip.gen - Allows the use of the "/ev gen" command.
- easyvip.end - Allows the use of the "/ev end" command.
- easyvip.end.others - Allows the player to see when the vip ends of another player.
- Put the plugin in the "plugins" folder.
- After that, start the server, the config should be created, it will give errors because you haven't setup the MySQL yet.
- Change the MySQL options.
- Change the "vipGroup" to match the one in your permissions.
- Add the codes to the table "Codes", or generate them when a player purchases the VIP.
Configuration (Language English).
Configuração (Linguagem Português Brasileiro).
The table created by the plugin is named "Codes", it contains two colums:
- "Codes": The codes are a 16-character string. (case sensitive)
- "Used": A tinyint(1) used for a boolean check to see if the codes are used or not. When you insert a value in the table, set this value to 0.
If you decide not to use MySQL you can set the option "flatfile" to true in the configuration.
After you reload the server, there should be a file called "Codes" in the plugin folder. That file will contain the codes, they can be as long you want.
The code syntax is (code): ('0' if not used or '1' if used).
- Page of description updated.
- It is being developed a new version of the plugin EasyVIP, which turns with new features soon. And it will soon be ready to download on Bukkit Dev.
Estamos no aguardo!
@shukamu
Pode demorar um pouco, porque pelo que eu estou pensando, posso ter que mudar o jeito com que o cálculo de tempo é feito ou adicionar mais coisas para guardar valores.
Realmente ta faltando essa opção ai, ia usar o plugin só que tenho muito player que compra mais de uma vip no mês, ai complica ;/ Espero que consiga desenvolver isso rapidamente, grato.
@gkovalechyn
Vlw :D
@BoomerBR
Vou ver se adiciono isso depois.
Faz ai, se ativar 2 vip o tempo dos 2 se soma.
@lucasbocca
I didn't think that, but it should override the older time, if you had 15 days left and you activated another code you should have only 30 days left not 45.
If I activate 2 VIPs at the same time, the time will be added?
@BoomerBR
tenho a mesma duvida, se ativar 2 vips seguidos o tempo será somado?
grato.
Se ativar 2 vip seguidos o tempo será somado?
m== y java version is already 1.7.0_09
i used this to check:
http://javatester.org/version.html
EDIT: ive just realised i needed to update the batch file :D thanks
@tylers1234
Update your java to 1.7
@gkovalechyn
208 recipes
27 achievements
15:58:10 [INFO] Starting minecraft server version 1.4.2
15:58:10 [INFO] Loading properties
15:58:10 [INFO] Default game type: SURVIVAL
15:58:10 [INFO] Generating keypair
15:58:11 [INFO] Starting Minecraft server on *:25565
15:58:12 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.2-R0.2
-b2455jnks (MC: 1.4.2) (Implementing API version 1.4.2-R0.2)
15:58:13 [INFO] ----- Bukkit Auto Updater -----
15:58:13 [INFO] It appears that you're running a Beta Build, when you've specifi
ed in bukkit.yml that you prefer to run Recommended Builds.
15:58:13 [INFO] If you would like to be kept informed about new Beta Build relea
ses, it is recommended that you change 'preferred-channel' in your bukkit.yml to
'beta'.
15:58:13 [INFO] With that set, you will be told whenever a new version is availa
ble for download, so that you can always keep up to date and secure with the lat
est fixes.
15:58:13 [INFO] If you would like to disable this warning, simply set 'suggest-c
hannels' to false in bukkit.yml
15:58:13 [INFO] ----- ------------------- -----
15:58:14 [INFO] DataSourcePool [TriggerCmds] autoCommit[false] transIsolation[SE
RIALIZABLE] min[2] max[20]
15:58:14 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.Plugi
nClassLoader]
15:58:15 [INFO] Entities enhanced[0] subclassed[1]
15:58:16 [SEVERE] Could not load 'plugins\EasyVIP.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError
: com/gmail/gkovalechyn/ev/EasyVIP : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:154)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
.java:230)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:229)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:205)
at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(Server
ConfigurationManagerAbstract.java:51
at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:818)
Caused by: java.lang.UnsupportedClassVersionError com/gmail/gkovalechyn/ev/Easy
VIP : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:44)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:29)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
ava:143)
... 9 more
@tylers1234
Could you show me?
@gkovalechyn
i came up with an error:
about a no class exception.
@tylers1234
It should work for 1.4.2, I am usually lazy to update plugins to match the new bukkit versions.
when is this going to be updated to 1.4.2 ?
@gkovalechyn
Sent you a PM, on both dev.bukkit and bukkit, be great on a reply :-)
@mig4ng Eu estou adicionando a opção de vários grupos VIP, pode demorar um pouco, cada grupo vai ter o seu próprio "set" de comandos a serem executados quando o código é usado, o único problema é que eu ainda não sei como vou fazer para diferenciar os códigos.
Para diferenciar eu posso fazer pelo início do código ou simplesmente executar o comando de mudar o grupo quando o código é ativado.
Um portugues developer :) Eu tenho 1 pequena sugestão a fazer, em vez de o plugin ir buscar o nome do grupo, adicionas um campo no MySQL chamado "cmd" por exemplo, e o plugin vai buscar o comando associado ao tal codigo, isto vai tirar a dependencia do Vault ;) Depois mais tarde podes adicionar outros campos como "Expire" (variavel entre true e false), ExpireTime (dias até expirar). Isto já vai dar mais algum trabalho, mas acho que ficaria um optimo plugin, pois muitos servidores têm mais que um rank vip e isto limita um bocado a coisa.