Sueta

NametagsPlus [1.8.8 - 1.15.X | DeveloperAPI]

1.0

A multi-platform (Spigot/BungeeCord) Minecraft plugin for assigning nametags to players.

·Plugin

Features

➤ Big API
➤ Updater
➤ Custom Prefixes/Suffixes
➤ Custom Permissons
➤ Custom Header & Footer
➤ Custom Scoreboard
➤ Unlimited Ranks
➤ Custom Chat Layout
➤ Custom Join/Quit Message
➤ BungeeCord (Network) Support
➤ PlaceholderAPI Support

Screenshots:

Installation:

1. Download th e Plugin.
2. Put the File "MyPrefixSystem.jar" in the /plugins/ Folder from the Spigot Server.
3. Start the Spigot Server.
4. If you want edit the config.yml, ranks.yml.
5. Add Ranks in the same format like the Examples.
6. Enjoy MyPrefixSystem.

Commands & Permissons:

➤ /myprefixsystem [/mps] - myprefixsystem.command - MyPrefixSystem Main Command.

➥ /myprefixsystem help [/mps help] - MyPrefixSystem Help Command.
➥ /myprefixsystem reload [/mps reload] - MyPrefixSystem Reload Command.

Information:

Ranks:
SortID: 0 = Is the highest Rank in the Tablist and if you set the SortID higher the Rank is lower in the tablist!

MySQL:

MySQL is for Networks!
You need one BackendServer wich synchronize the ranks.yml with the Database!
Everytime you edit the ranks.yml this will be loaded to the Database on Startup, Shutdown & Reload.
For your over Servers in the Network must deactivate the Setting "BackendServer" in the config.yml.
Only one Server can be the BackendServer.
If you don't use MySQL, you can ignore this Setting.

Placeholders:
➤ %player% - Player Name
➤ %displayname% - Player Displayname
➤ %rank% - Rank Name
➤ %prefix% - Player Prefix
➤ %suffix% - Player Suffix
➤ %rankcolor% - Player Rankcolor
➤ %health% - Player Health
➤ %food% - Player Food
➤ %world% - Player World
➤ %server% - Server Name
➤ %online-players% - Current Players
➤ %max-players% - Max Players
➤ %server-version% - Server Version
➤ %server-port% - Server Port
And all PlaceholderAPI Placeholders!

Developer API:

RankAPI
Rank rank = Rank.getRank(String rankName); //Get the Rank by Name.
Rank rank = Rank.getRankByPlayer(Player p); //Get the Player Rank.

rank.getName(); //Get Rank Name.
rank.getPrefix(); //Get Rank Prefix.
rank.getSuffix(); //Get Rank Suffix.
rank.getColor(); //Get Rank Color.
rank.getSortID(); //Get Rank SortID.
rank.getPermission(); //Get Rank Permission.
rank.getBoardName(); //Get Rank BoardName.

Rank.getRanks(); //Get all Ranks.
PlayerAPI
CustomPlayer cp = getCustomPlayer(Player p); //Get a CustomPlayer.

cp.sendNametag(); //Set the Player his Rank Nametag.
cp.sendTablist(); //Set the Header and Footer.
cp.sendTitle(String title, String subtitle, int fadeIn, int stay, int fadeOut); //Send the Player a Title.
cp.sendActionBar(String message); //Send the Player a ActionBar Message.
cp.getPlayer(); //Get the Player.
cp.getRank(); //Get the Player Rank.
cp.getScoreboard(); //Get the Player Scoreboard.
cp.getCustomScoreboard(); //Get the Player Custom Scoreboard.

CustomPlayer.getCustomPlayers(); //Get all CustomPlayers.
ScoreboardAPI
CustomScoreboard csb = getCustomPlayer(Player p).getCustomScoreboard(); //Get a CustomScoreboard.

csb.updateSideboard(); //Update the Scoreboard.
csb.getCustomPlayer(); //Get the CustomPlayer.
csb.getObjective(); //Get the Scoreboard Objective.

CustomScoreboard.getCustomScoreboards(); //Get all CustomScoreboards

Files:

config.yml
Settings:
  Prefix: '&7[&bMyPrefixSystem&7]'
  Updater:
    Enabled: true
    Download: false
  Network:
    BackendServer: true
  Nametags:
    Enabled: true
  Tablist:
    Enabled: true
    Header: '&eThis is the Header!'
    Footer: '&cThis is the Footer!'
  Chat:
    Enabled: true
    Format: '%displayname%&8: &f%message%'
    Join:
      Enabled: true
      Message: '&7[&a+&7] %displayname%'
    Quit:
      Enabled: true
      Message: '&7[&c-&7] %displayname%'
  Scoreboard:
    Enabled: true
    Title: '&6&lMyPrefixSystem &7&l❙ &aBoard'
    Lines:
    - '&0'
    - "%rankcolor%⬛ &8| &7Your Rank:"
    - "&7➥ %rankcolor%%rank%"
    - '&2'
    - "&b⬛ &8| &7World:"
    - "&7➥ &b%world%"
    - '&3'
    - "&a⬛ &8| &7Players:"
    - "&a➥ &a%online-players%/%max-players%"
    - '&4'
    - "&e⬛ &8| &7Website:"
    - "&7➥ &equanturix.de"
    - '&5'
    - "&9⬛ &8| &7TeamSpeak:"
    - "&7➥ &9ts.quanturix.de"
mysql.yml
MySQL:
  Enabled: false
  Hostname: localhost
  Port: 3306
  Database: MyPrefixSystem
  Username: MyPrefixSystem
  Password: password
  SSL: false
ranks.yml
Ranks:
  Example:
    Prefix: '&8'
    Suffix: ''
    RankColor: '&8'
    SortID: 100
    Permission: system.example

Terms:

➤ You are not permitted to redistribute the plugin in any form, including as a part of any software package.
➤ You are not permitted to decompile or modify the software and its files in any form.
➤ You will not receive any refunds.
➤ Disrespecting Terms or Copyrights in any way will cause an complaint.
➤ Do not use the rating section for contacting me, bug reports, or feature requests!
➤ We reserve the right to change these Terms at any time, with or without warning, and you agree to abide by the most recent version.

Similar projects

Plugin →