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.
@johnbrasil
A última versão deve funcionar para a 1.4.6.
Teremos logo uma atualização a versão 1.4.6 R0.3 ?
@gkovalechyn
Infelizmente eu não posso esperar, então, eu mesmo vou concertar.
Vlw.
@BoomerBR
Provavelmente só vou consertar ano que vem, vou aproveitar o natal e o ano novo.
@gkovalechyn
O problema é quando eu dou /ev end, pra ver quando o meu vip acaba, aparece Your vip ends $date.
Estou usando a database flatfile.
Alguma solução?
@BoomerBR Sim, segue o link da print. http://i.imgur.com/Espvf.png
@gkovalechyn Para atualizar as correções que devem ser feitas:
1º o plugin não cria no MySQL a tabela "lastOnline". 2º Realmente não tem um campo em nenhuma das tabelas criadas, marcando quanto tempo ainda resta. 3º Quando usado um codigo mais de 1 codigo na mesma conta, ela não acumula o tempo, também nao da nenhum aviso e deixa o codigo invalido.
Obs.: Não testei a parte em que o plugin doa os Itens ao player, então não sei se ele só não acumula, como também não deve doar os itens... Estarei fazendo testes mais profundos e postarei aqui. Sobre a source, meu socio esta analisando e se ambas as partes toparem, estarei disponibilizando o plugin corrigo e com os codigos limpo. (se conseguirmos.. rsrsrsrs)
@BoomerBR
Você está "pesquisando" pelo nome exatamente igual?
@jhonnlennon
Então quer dizer que esse bug com /ev end, so acontece com a database flatfile?
Se for, pf gkovalechyn ajeite-o.
@jhonnlennon
Atualizei.
Bom dia. Teria como você atualizar a source?
Talvez possamos te ajudar, aparentemente somente esse erro que o @BoomerBR citou.
"Quando eu digito /ev end, aparece alguma coisa assim: Your vip end in $date. E quando um vip é ativado e eu tento olhar quantos dias o player ainda tem de vip, diz que o player não ativou nenhum vip."
@Edit
O plugins não gera a tabela lastOnline no mysql. Somente gera: 'Codes' e 'Log'
@Edit 2
No MySQL, não acontece esse erro do /ev end! Porem, 1º Quando usa o codigo mais de uma vez, ele não acumula... e não aparece nenuma mensagem dizendo que o codigo foi usado. 2º Quando usado o codigo mais de uma vez, alem de nao acumular, o codigo fica invalido.
@gkovalechyn
A ta vlw.
@BoomerBR Vou procurar o erro no /ev end.
No arquivo lastOnline é para aparecer: "nomeDeQuemAtivou: dataQueTermina".
@gkovalechyn
Quando eu digito /ev end, aparece alguma coisa assim: Your vip end in $date.
E quando um vip é ativado e eu tento olhar quantos dias o player ainda tem de vip, diz que o player não ativou nenhum vip.
Alguma solução?
@edit: Quando player ativa o vip, não apareçe nada no lastonline.yml além do nome do player e uma data, ta certo isso?
@BoomerBR
Em caso de flatfile: lastOnline.yml
No caso de MySQL: tabela lastOnline.
Em que arquivo fica armazenado o tempo do vip dos player?
Pois não estou vendo nenhum arquivo com dados sobre isso.
@BoomerBR
Funciona sim.. Eu nao sou ele.. mas nao custa ajudar =D
O calculo de tempo funciona com a database FlatFile Também?
It's not working for me, please respond.
Permissions Plugin: SimplyPerms EasyVIP Config: http://pastebin.com/hUPeNK7e
Codes generate fine... but when i claim a code i go to group "default" not "VIP"
@guimartino
Já que não tem como criar um ticket aqui, vá aqui: https:bitbucket.org/gkovalechyn/easyvip/issues/new, e preencha com as informações. Se puder coloque a sua versão do bukkit, do plugin, outros plugins, config.yml, ect.
@gkovalechyn
Nunca enviei ticket no bukkit, como faz?
E obrigado por tentar resolver!
Desculpa o encomodo, mas o plugin, depois de eu colocar uma serie de comando pra executar, ele crasha e nao funciona mais...