Flexible Ranker

^ Flexible Ranker

Description

This plugin is a ranker plugin, which means it manages the ranks depend on the players' stats and the requirements of the ranks. Currently you can set playtime and required rank requirements, and money or exp price. Other requirements will be added later on. In the Beta 1.1 the language support has been added, english and hungarian translations are downloadable. Currently you must have a language file to use my plugin, but later on it will generate the english one if no other found in the folder. What about flexible which in its name? Flexible because it has a good API that I made easy to hook into, and easy to handle. It works like Vault, any plugin that someone writes easily can register itself into this plugin without make any contact with me about implementing. Just extend an abstract class, and ask the API to register it. That's all. This also means that I'll add other plugins into mine easily.

HEY! Todo!

You must set the playtime plugin in the config.java:

plugins:
  time-manager: PlayTime
  money-manager:

I plan to make it automatic to find which plugin is available for connection but it is manual yet. After the modify of the config restart the server or use the /ranker reload config command.
This feature is going to come in version 1.3.

Features

  • Create "virtual" ranks
  • Connect "virtual" and "real" ranks from another plugin
  • Make requrements for the virtual ranks
  • Make a price for the rank to buy it
  • Automatic and command check for avaliable ranks
  • Save and load backups
  • Multilanguage support (built in english and hungarian)

Available requirements to set:

  • Playtime
  • Required rank
  • Permission (coming soon)
  • Money price (coming soon)
  • Experience price

Commands

You can check here all the commands used in the plugin.
Commands by functionality: here.

Permissions

You can check the list of permissions here.

Usage

You create "vritual" ranks which points to a real one. What does it means? First of all we create a virtual rank "A". We set it's "playtime" requirement to 5 hour, and set its "link" to "gm:Builder". This means, The next time when a player will be checked for ranks and player alredy 5 hours on the server will automatically gain the rank. Which rank? The link points to the rank which contains the real rights, permissions, for example the like now is "gm:Builder" which means "group manager > Builder rank", so player will be moved into Builder group in Essentials groupManager plugin. There is also an ingame help, that you can use to navigate and learn the plugin, just type: /ranker help to read it.

Setting up

First of all you must have the plugins to work with. Basically you must have a plugin that handle ranks, now you can only use Essentials:GroupManager for this purpose. If you want to use playtime as requirement you should have a plugin that measures the time. Currently you can use the PlayTime plugin, which works great. The plugin Stats also have the code to use, but it isn't tested yet. Use on your own risk. After we collected all the plugins we need let's start use the Ranker plugin itself. I think the best way to make ranker hierarchy stuff to write into file. You also can do all the things ingame where you can't write anything wrong, like in the files. But if you are experienced in setting up stuff in text files I advise you that. The file structure is a little bit like yaml, but I always use my own specific structure for my plugins, but do not afraid it is easy to understand what goes where. How-to set up the ranks is a little bit longer topic, so I created other pages for that. If you want to write files click here, but if you prefer to play ingame with commands click here.

Supported plugins

Supported time plugins:
Planned:
Supported rank plugins:
Planned:

PEX


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files