Thinking long and hard about how to make player leaderboards? And exactly what value will they be based on?
Therefore, we present you one of the solutions to this misunderstanding.
It's simple, the player performs certain actions (Trade with a villagers, killing a boss (or other mobs), winning a raid and etc) and gets rewarded for it in the form of rating points.
Placeholders for PlaceholderAPI
Full support for HEX-colors
Multilanguage. You can create your own localization files
Detailed customization of events for which players get points
Launching without an active MySQL database is impossible!
Commands
/nekorating reload - Configuration reload
/profile, /top, /rating - Opens GUI
/rp, /rpoints, /rpedit <add/take/set> <Username> <Amount> - Add, take away, set points to a player
Permissions
nekorating.enableget - Access to earn points
nekorating.seeprofile - Access to '/profile, /top, /rating'
nekorating.rpedit - Access to '/rp, /rpedit, /rpoints'
nekorating.reload - Access to '/nekorating reload'
%nrating_top_username_<Place>% - Nickname of the specified player
%nrating_top_points_<Place>% - Points of the specified player
%nrating_player_top% - Position of the player in the top when seeing this placeholder
%nrating_player_points% - Points of the player when seeing this placeholder
language: "en" # Enter the name of the localization file. For example, use "de" if you want to use the file "de.yml"
# Standard value of a player's points
points:
start-points: 0
players:
# Notifications for a player when /rpoints are used for them
notify-player-add-command: true
notify-player-take-command: true
notify-player-set-command: true
# Type of notification displayed when points are received
notify-player-reward: "ACTION_BAR" # CHAT_MESSAGE or TITLE or ACTION_BAR or DISABLE
# Play sound when earning points
# You can see the full list of sounds here -
https://jd.papermc.io/paper/1.20/org/bukkit/Sound.html notify-player-reward-sound:
enabled: true
sound: BLOCK_AMETHYST_BLOCK_STEP
# Frequency of updating the top players
tops:
refresh-top-global: 10
# The reward that will be given for a player killing a mob
# You can set each mob a different reward.
# Important. The enumeration must start with 0
# The entire list of mobs is listed here -
https://jd.papermc.io/paper/1.20/org/bukkit/entity/EntityType.html entities-kill:
0:
entity-type: ENDER_DRAGON
reward: 200
1:
entity-type: BEE
reward: 5
#3:
# entity-type: ZOMBIE
# reward: 3
# A reward that will be given for a player killing a mob that is not on the list above
other-entities-kill:
enable: true
reward: 1
# Reward to be given for 1 transaction with a villager
trades:
enable: true
reward: 5
# Reward to be given for the pop of the totem
totem-use:
enable: true
reward: 15
# The reward that will be given out when a player has started a raid
raid-trigger:
enable: true
reward: 15
# A reward that will be given to ALL players who are winners of the raid
raid-win:
enable: true
reward: 50
# Reward to be given for using the enchantment table
enchantment-item:
enable: true
lvl1-reward: 1
lvl2-reward: 2
lvl3-reward: 3
# Reward to be given for obtaining achievements
achievement:
enable: true
reward: 5
en.yml; ru.yml...
You can create your own localization file, for example "de.yml", and in config.yml specify "de" in the "language" field. The plugin will start using the new localization file
An example of hologram realization is presented on the cover of the resource
Additionally
If you have any questions or you want to use custom events from other plugins (for example, getting points for opening cases, or played mini-game), you can order by writing me in
Telegram Price from 10$ [ USDT, TON ]
TODO:
Top in chat (Like /baltop by Essentials)
Сfg placeholder {sender} - Returns the sender of the command (for /rp <add/take/set>)
Queuing of reward messages (For example, when killing a bunch of different mobs one by one, the information about how many points were awarded is displayed)