Sueta

Fabled Rank

0.1

Fabled Rank, a simple rank up plugin !

·Plugin

Music-Template-Invitation-invitation-PixTeller.png

ONLY FOR FABLEDSKYBLOCK AND ASKYBLOCK


Fabledrank is a comprehensive rank plugin. Even if it only applies to fabledskyblock for now, there will also be transactions for askyblock and similar ranks recently.

name: FabledRank
depend: [ Vault ]
authors: [ Mixeration ]

commands:
FabledRankAdmin:
usage: /FabledRankAdmin
permission: FabledRank.Admin

permissions:
FabledRank.Admin:
description: FabledRankAdmin command perm


To access ready message files & config file and repostories

messages:
you-have-no-island: '&6FabledRank &8&l▸ &7You dont have a fabled island !'
already-have-that-rank: '&6FabledRank &8&l▸ &7You already have &e%fabledrank_rank%'
rank-up: '&6FabledRank &8&l▸ &fWell Done ! &7Your new rank is &6%fabledrank_rank%'
need-level: '&6FabledRank &8&l▸ &7You need to &e%fabledrank_level%&7/&6%fabledrank_neededlevel% &7level for &e%fabledrank_rank%'
need-point: '&6FabledRank &8&l▸ &7You need to &e%fabledrank_point%&7/&6%fabledrank_neededpoint% &7level for &e%fabledrank_rank%'
player-cant-found: '&6FabledRank &8&l▸ &e%player% &7Cant found !'
player-not-online: '&6FabledRank &8&l▸ &7Player &e%player% &7not online.'
no-permission: '&6FabledRank &8&l▸ &7You dont have a enough permission !'

### `%fabledrank_rank%`
* The placeholder fabledrank you have seen also shows the 'rank-name' part of the rank you have set in config.yml

a Simple:
. FabledRank:
. type: point
. point: 10
. run-command: "!fabledranktest"
. group-name: "Test"
. rank-name: "Test" # Here is a where we using fabledrank_rank placeholder
. rank-up-command:
. + "manuadd %fabledrank_player% Test world"

### `%fabledrank_player% & %player%`
* A simple placeholder created for commands rendered in the event of a Fabledrank player jumping rank or performing an activity

a Simple:
. FabledRank:
. type: point
. point: 10
. run-command: "!fabledranktest"
. group-name: "Test"
. rank-name: "Test"
. rank-up-command:
. + "manuadd %fabledrank_player% Test world" # Here is a where we using fabledrank_player placeholder

### `%fabledrank_level%`
* It transfers the player's island level into itself using the API in the FabeldSkyBlock plugin and makes it editable with the help of the placeholder (String.format) was used.

### `%fabledrank_point%`
* It transfers the player's island pointinto itself using the API in the FabeldSkyBlock plugin and makes it editable with the help of the placeholder (String.format) was used.

### `%fabledrank_neededlevel%`
* If this placeholder is config.converts the required level that you set through yml to a placeholder with a simple replace (String.format) not used

a Simple:
. FabledRank:
. type: level
. level: 10 # This is a neededlevel string.
. run-command: "!fabledranktest"
. group-name: "Test"
. rank-name: "Test"
. rank-up-command:
. + "manuadd %fabledrank_player% Test world"

### `%fabledrank_neededpoint%`
* If this placeholder is config.converts the required point that you set through yml to a placeholder with a simple replace (String.format) not used

a Simple:
. FabledRank:
. type: point
. point: 10 # This is a neededpoint string.
. run-command: "!fabledranktest"
. group-name: "Test"
. rank-name: "Test"
. rank-up-command:
. + "manuadd %fabledrank_player% Test world"

public long getPlayerIslandLevel_FabledSkyBlock(Player getPlayer) {
        return com.songoda.skyblock.api.SkyBlockAPI.getIslandManager().getIsland(getPlayer).getLevel().getLevel();
    }

    public long getPlayerIslandLevel_ASkyBlock(Player getPlayer) {
        return com.wasteofplastic.askyblock.ASkyBlockAPI.getInstance().getLongIslandLevel(getPlayer.getUniqueId());
    }

Config & Source Code & Discord

Similar projects

Plugin →