Wizards ❱ Domination | CTF | TDM | icon

Wizards ❱ Domination | CTF | TDM | -----

Domination, CTF & TDM | Leaderboards | Classes or Kits | Special Effects/Systems | Mounts |



Leveling/Ranking System & Important Fixes
This is a big update, please read everything about this update.

  • BETA FEATURE Added a new option, Options.Leveling-System
    • This option is disabled by default, read about it below.
    • Important: Two new database columns will be added, if you are worried about anything backup your database before updating.
  • Added new PAPI placeholders for levels
    • %wizards_rank%
    • %wizards_exp%
    • %wizards_rank_prefix%
  • Added %exp% and %level% placeholder for stats message.
  • Added Exp Leaderboard.
  • Fixed a problem with Bungee arenas.
  • Fixed a major issue causing the game to give x2 points after a kill.
  • Fixed some language.yml typos.

Leveling System

[​IMG]

When enabled, a new file will be generated, levels.yml, with this file you will be able to add your levels, rewards and more:

Code (Text):

Levels:
  Level-1: #Do not change the Level-1 section
    exp: 0 #Required Exp
    display-name: "&6Level 1" #Display name in level up message
    prefix: "&6[1]" #Chat prefix, if enabled, hooked to PAPI
    commands-to-execute: [] #Commands to execute when reaching the level
    level-up-message: [] #Message to display
  Level-2: #From now on you can change
    exp: 10
    display-name: "&6Level 2"
    prefix: "&6[2]"
    commands-to-execute:
      - wizards coins add %player% 100
    level-up-message:
      - '&7&m--------------&7[&6&lWIZARDS&7]&m--------------'
      - ''
      - '&a&lLevel Up &e&l%level%'
      - ''
      - '&9Next level: &b%next_level% &7(%until_next_level%/%next_level_exp% EXP)'
      - ''
      - '&7&m-------------------------------------'
  Level-3:
    exp: 20
    display-name: "&6Level 3"
    prefix: "&6[3]"
    commands-to-execute:
      - wizards coins add %player% 100
    level-up-message:
      - '&7&m--------------&7[&6&lWIZARDS&7]&m--------------'
      - ''
      - '&a&lLevel Up &e&l%level%'
      - ''
      - '&9Next level: &b%next_level% &7(%until_next_level%/%next_level_exp% EXP)'
      - ''
      - '&7&m-------------------------------------'
 
Please do not change Level-1 as it is the default Database value, you can just use display-name to not show "Level-1" in game, the section name is just a backend thing.

After updating and loading the plugin for the first time, Wizards will start rebuilding your Database to add Exp and Rank data, this can take some time. PLEASE BACKUP YOUR DATABASE in case anything goes wrong. You can backup SQLite just by copying the players.db file, in MySQL it will depend, download the Wizards table or create a backup if a backup option is available.

After that, everything should work fine. Stop the server and modify levels.yml to add your ranks and rewards.

How to Earn Exp
Players can earn Exp by playing, kills/assists, wins cand capturing points, check options.yml and you will see a new Exp section to modify.

Give Exp to old players

Set Options.Update-Levels to true in options.yml, when a player joins the server after this update, players will get exp based on wins, games played and kills/assists.

Note that some exp methods (like point captured) is not stored to calculate.

What if I don't want to use Leveling system?
Just don't enable the option. Everything will work just fine without it.

Leave a review about this update if you can! Please report bugs via Private Message (Sometimes I don't get Discussion notifications, If you report a problem via Discussion and get no answer within 24 hours please send me a PM).
----------, Aug 18, 2021
Resource Information
Author:
----------
Total Downloads: 135
First Release: Jul 7, 2018
Last Update: Dec 16, 2024
Category: ---------------
All-Time Rating:
20 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings