Sueta

EZPrestige

1.2.2

Let players /prestige the EZ way

·Plugin


YouTube

The perfect solution for a prestige system in any type of server rankup scenario!

Allow players the ability to /prestige when they reach a certain rank to start over as a prestige player!
You can create as many prestige levels you want!

This plugin is compatible with EzRanksPro and should be compatible with any other /rankup plugin!

No database needed aside from your permissions plugin to keep track of what prestige a player is!

/prestige
can be used at the permission group set in the config.yml

/prestiges
view a dynamic list of the server prestiges that can be customized in the config.yml

/prestige reload
reload EZPrestige
ezprestige.admin

/prestige version
check EZPrestige version
ezprestige.admin

When EZPrestige is loaded for the first time, it will create 2 files.

Edit the files to your liking, and use /prestige reload to update any changes you have made.

chat_integration settings will not update on /reload and can only be enabled/disabled on startup!

Click on the file name to see a detailed version of how I setup my test prestige system.

config.yml

prestiges.yml


EZPrestige has a chat_integration option that allows you to add
{prestige} in your chat plugins chat format String to display a players prestige tag you defined in your prestiges.yml!
(tested with essentials so far)

Here is how I set it up:
essentials chat config section



EZPrestige has methods that developers can use to get prestige information related to a player.

The Prestige object in EZPrestige holds all data related to a prestige:
displayname,
displaytag,
prestige number,
commands to be executed when players /prestige,
cost, etc

You can obtain a Prestige object related to a specific player by calling the methods below


/**
* This method will return a players current {@link Prestige}
* if they have one
*           
* @param p Player to get Prestige object for
* @return null if player does not have a prestige
*/
PrestigeManager.getCurrentPrestige(Player);

/**
* This method will return a players next {@link Prestige}
* if they have one (will return null if a player is the last prestige or
* if no prestiges have been loaded)
*           
* @param p Player to get next Prestige object for
* @return null if player does not have a next prestige
*/
PrestigeManager.getNextPrestige(Player);

/**
* check if a player is the last prestige
* @param p Player to check
* @return true if player is the last prestige
*/
PrestigeManager.isLastPrestige(Player);

idk....

If my plugins have helped your server and you would like to buy me a redbull or pizza, click the button below to donate to me :)

Similar projects

Plugin →