PixelVip

PixelVip

14.2k Downloads

http://image.prntscr.com/image/e17f1d36af9f4e34b59b5dde7b35b4d9.jpeg

Get dev builds on Jenkins:


Dependency:Vault


Chat with us on Discord!
Get dev buils and fast support:
http://image.prntscr.com/image/f3e8037be00e47928aa3533f66c1141e.jpeg


Video Tutorial by FabioZumbi12 (in PTBR):




Description:
Descrição em português: Clique aqui!

PixelVip is a plugin to manage vip on your server with easy commands, easy configuration and a lot of features:

  • Generate Keys with quantity of usage for same Keys;
  • Generate keys for commands, to give itens or permissions, or any type os commands;
  • Allow more than one diferent Vip to be activated, and allow player to choose what use;
  • Full syncronization between Spigot Bungee network;
  • The time is counted on exact moment of activation and not at 00:00 of day. Your players will use 100% of your vip time ;)
  • Configurable commands to run on change vip, remove vip and on vip finish;
  • Commands to give extra itens based on % when the player use a key;
  • The previous group of a player is stored, to on the end of vip, get back to your origin permission group;
  • Hook with Vault to change the player group automatic;
  • Strings 100% translatable;
  • TAB completion for groups;
  • The time counter is based on millis not needing the plugin to save the vip time every time to file;

See the Spigot version: https://www.spigotmc.org/resources/pixelvip.30438/


Commands and Permissions:
[] = Needed
{} = Optional

The permission pixelvip.cmd.player is given by default for players, and other perms only for OPs.

Player commands:

Command: /usekey [key]
Aliases: /usarkey
Permission: pixelvip.cmd.player
Description: To use a generated key to activate a vip;
http://image.prntscr.com/image/0e1c17f4239f436a8bb81f896758c7da.jpeg


Command: /viptime
Aliases: /tempovip
Permission: pixelvip.cmd.player
Description: If the player is vip, use to see the days left to end your vip;
http://image.prntscr.com/image/dc60f32149de44d284cd40d5fe0f5318.jpeg


Command: /setactive [group] {player}
Aliases: /changevip, /trocarvip
Permission: pixelvip.cmd.player (pixelvip.setactive for use with {player})
Description: To change to other vip, if the player has activated more than one key;
http://image.prntscr.com/image/fbc774e8d9ff450188ef9bb2eaa46450.jpeg


Admin commands:

Command: /newkey [group] [days] {uses}
Aliases: /gerarkey
Permission: pixelvip.cmd.newkey
Description: To generate a new key based on configuration lentgh and existing Vip groups, and optional amount of uses of same key;
http://image.prntscr.com/image/35870a9f31c84ab6a05635396ce0a6fc.jpeg

Command: /newitemkey [cmd1, cmd2, ...]
Aliases: /newikey, /gerarikey
Permission: pixelvip.cmd.newitemkey 
Description: To generate a new ITEM key to give itens based on commands on use the key;
http://image.prntscr.com/image/04e1f63333d0487d8a6df902ef3bca75.jpeg

Command: /additemkey [key] [cmd1, cmd2, ...]
Aliases: /addikey
Permission: pixelvip.cmd.additemkey
Description: To add items(commands) to existing VIPs keys and ITEM keys;
http://image.prntscr.com/image/d2e0210d255c4cbdb23453c2e2d0da62.jpeg

Command: /delkey [key]

Aliases: none
Permission: pixelvip.cmd.delkey
Description: To remove any type of generated key;
http://image.prntscr.com/image/6d0e29c7585143d0924967929bb4635c.jpeg


Command: /listkeys
Permission: pixelvip.cmd.listkeys
Description: To list all available Keys;
http://image.prntscr.com/image/7e0eaac175b74e13aa0411912f00a02a.jpeg


Command: /removevip [player vip] {group}
Aliases: /delvip
Permission: pixelvip.cmd.removevip
Description: To remove a vip of a player, or remove all vips of player (if more than one key activated and if {group} is not specified), and put the player back on previous group;


Command: /addvip [player] [group] [days]
Aliases: /givevip, /darvip
Permission: pixelvip.cmd.addvip
Description: To add a vip for player without key, giving the itens on activation. If used in an existing vip plan, the days will be added;


Command: /setvip [player] [group] [days]
Permission: pixelvip.cmd.setvip
Description: To add a vip for player without key and without send activation itens. This command is like a silent activation. If used in an existing vip plan, the days will be added;


Command: /pixelvip reload
Permission: pixelvip.cmd.pixelvip
Description: To reload the configuration from file;


To-Do:

  • Add mysql system;
  • Suggestions?


Bungee Syncronization(beta):
PixelVip is ready(beta) to work in bungeecoord, to sync all Vip plans between all your Bungee servers.

How to install:

  1. Download the PixelVipBungeeBrige and put in your BungeeCoord plug-ins folder;
  2. Download the latest version of plugin (version 1.0.2+) and on your Spigot servers, go to /plugin/PixelVip and change this options on config.yml: https://proxy.spigotmc.org/ea655124cb1cf32f06a7b09a50af20ef5fa87244?url=http://image.prntscr.com/image/67be9a59063c4419ad1e61804fe5bef9.jpeg
  3. On serverID put the name of your server like you used on BungeeCooord config.yml. You need to give the same ID to do not make the sync loop on every command/syncronization;
  4. You need to add the same groups on all servers in your permissions plugin;
  5. Use /pixelvip reload after finish the changes;

How this sync works:

When someone use a PixelVip command in one of the server with sync enabled, the argumments will be sent to all other server with bungee sync enabled.

The sync DONT use schedulers! This sync will only send argumments when a player:

  • Activate a key;
  • Generate a key;
  • Change the vip to other (if more than one is activated);
  • On vip finish;
  • On Vip removed;

Notes about BungeeCoord:
BungeeCoord need at least one player online on Bungee server to receive the argumments. Then if theres no player online in one of the Sync servers, the action will be pendente until a player join on server.

This feature is not 100% tested (but is 90%) waiting to be tested on more ambients and situations i can test on my server and on my off-line server.



PagSeguro API:
Portuguese: Agora o PixelVip já funciona com a API do pagseguro. Veja como configurar e baixe a API jar do pagseguro na WIKI: https://github.com/FabioZumbi12/PixelVip/wiki


Source:
The source is hosted on GitHub: https://github.com/FabioZumbi12/PixelVip-Spigot


What you think to make plugins for your server like PixelVip?