Sueta
[S

[Spigot] RankupSign

1.0

RankupSign is a plugin that makes it possible to place down a sign, you can use to upgrade your rank

·Plugin

Just so you know, this is my first plugin, so don't expect much.

Features:
/rankup and rankup sign
customizable prices
customizable teleport locations
supports 4 ranks

features that might be added:
A way to add a specific amount of ranks

Permissions:
RankupSign.GM
RankupSign.Rankup

DEPENDENCIES
Vault
Econ Plugin
Perms Plugin

Usage
First, place the jar file in your plugins folder, and start your server to create the config file(Located in RankupSign Folder).

Here you have to name the 4 ranks the same as the 4 ranks you want to use and set the prices, and if you want to teleport to a location when ranking up, you should turn on Teleportation(Default off). These locations can be changed with the 3 commands, or in the config file(coordinates).
When you have done that, you are done, now just add the perm for rankup, if you want to use that, and if you want to use a sign, write:
"Rankup A" For first rankup(A To B)
"Rankup B" For second rankup(B To C)
"Rankup C" For third rankup(C To D)
The a, b and c is also the same order for the position commands

Commands:

  • /aposition: Will set the teleport pos for first rankup(A To B)
  • /bposition: Will set the teleport pos for second rankup(B To C)
  • /cposition: Will set the teleport pos for third rankup(C To D)
  • /rankupteleport: Will toggle between on and off for teleport after rankup(Default is "Off")
  • /rankup: You can probably guess what this does
  • /reload: will reload the config file

Config:

# Default Configuration File for SignRankup
# Rank names have to be exactly like the ingame rank names, and only so long, so it can be shown on a sign. And prices also have to fit on a sign.
# If the other ranks have the lowest rank as inheritance, they are also allowed to use the first rankup sign.
# To fix this, all the ranks should inheritance another rank with the basic commands(You can still have The first rank as default).
RankName1: D
RankName2: C
RankName3: B
RankName4: A
SignPrice1: 10000
SignPrice2: 50000
SignPrice3: 100000
Teleportation: false
xPosition: 0
yPosition: 0
zPosition: 0
xPosition1: 0
yPosition1: 0
zPosition1: 0
xPosition2: 0
yPosition2: 0
zPosition2: 0

Similar projects

Plugin →