SQL Placeholder network level plugin

Status
This thread has been locked.

hxree

Feedback score
0
Posts
2
Reactions
0
Resources
0
So this might be an odd way of doing things, but this is what I want.

I am making a new bungee network called Hellabread. I would like a Spigot plugin which allows me to create a network level placeholder ( maybe %hellabread_level% ) which is stored in SQL in order to sync across all Spigot servers with the plugin installed and is compatible with PlaceholderAPI so it can be used in scoreboards, etc.

The value of the placeholder will be an integer representing the player's total experience on the network. I would like the value to be configurable in a config.yml file as a mathematical combination of other placeholders, for example:

0.5*{mcmmo_level} + 3*{kitpvp_level} + {another_placeholder} + ...

If the result of this expression is not an integer, I would like the value of %hellabread_level% to be rounded down to an integer. It would also be nice (but not necessary) if boolean placeholders could be used in this expression by taking values of 1 or 0

For example, McMMO is installed on the survival server only, and KitPvP is installed on the KitPvP server only. However, the network level ( %hellabread_level% ) should not change depending on the player's server. These individual placeholders should be saved in some way so that the network level shows correctly even on servers which do not have those plugins.

Additionally, I would like a command which adds and removes levels from a player's network level for use in events and rewards etc. Something like this:

/hlevel <player> add <number of levels to add>

/hlevel <player> remove <number of levels to remove>

If anything didn't make sense or further info is needed, leave a reply :)

Not sure how difficult or time-consuming this plugin will be to create, so leave a quote and I can decide if I'm willing to pay it :)

Discord: hx7e#0001

The server versions range from Spigot 1.8.8 to 1.15.2
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

hxree

Feedback score
0
Posts
2
Reactions
0
Resources
0
if a bungeecord plugin would be better or necessary for this to work, that's cool too :) any way to get the job done
 
Status
This thread has been locked.
Top