Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
update #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Uh oh!
There was an error while loading. Please reload this page.
update #1
Changes from all commits
acd2a9d16f7d3bcd8947134871fa21065b95351db216e7cc890d394feeae4729c898f0a6d6947e8ae5a762413b012c31ca14a5a76e9e1398ce27c2cad1b7b618fe8acd6490b2ee663e10f453d23ed1dcd4e82cc2ef35d7663f328e1429df6b3ff65d5f07ea331963e70564d9f57f375b10f26b04edcac123f4351ba837cc58d5aac8b9bfdd2c059ea44fee572c6e6c299125cca2383972e918f7dcfaaf160c3cd7c51c24f44586218f7e75f959ef5accf7a4653944a3c50bd08f166d7b5b5e143cac05c29c0dc5fdd23e7005d104761ed1067d5e5c738fc0070c7c84206f61537deca4fab87a3aeb80e9f73555a002a8f38d1e0af67074bf41a8451c1d2ed97e2650701847bd92c7da9f93df068dc343c13d810b9File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
CyberLevels
A leveling system plugin for Spigot and Paper (Folia-supported). Store player levels and experience, reward players for activities like breaking blocks, fishing, and more. Show progress via chat, action bar, PlaceholderAPI, and more.
Supported versions
Features
levels.yml.max-positionsinconfig.yml).earn-exp.yml(break blocks, PvP, fishing, etc.), including block state keys for crops (e.g. fully grown wheat).Soft-dependencies: PlaceholderAPI, Vault, CyberWorldReset, RivalHarvesterHoes, RivalPickaxes (hooks load when present).
Installation
pluginsfolder.config.yml,lang.yml,levels.yml,earn-exp.yml, etc./clv reload(requires permission).For database setup, follow the mysql (or other SQL) section in
config.ymland the wiki.Commands
Main command:
/clv(aliases:cyberlevels,cyberlevel,cyberlvl,levels,level,lvl,lvls)./clv about/clv help/clv reload/clv top/clv info [player]/clv addExp <amount> [player]/clv setExp <amount> [player]/clv removeExp <amount> [player]/clv addLevel <amount> [player]/clv setLevel <amount> [player]/clv removeLevel <amount> [player]Permissions
Players
CyberLevels.player.*CyberLevels.player.helpCyberLevels.player.infoCyberLevels.player.aboutCyberLevels.player.multiplier.<name>Admins
CyberLevels.admin.*CyberLevels.admin.helpCyberLevels.admin.infoCyberLevels.admin.reload/clv reloadCyberLevels.admin.exp.*CyberLevels.admin.exp.addCyberLevels.admin.exp.setCyberLevels.admin.exp.removeCyberLevels.admin.levels.*CyberLevels.admin.levels.addCyberLevels.admin.levels.setCyberLevels.admin.levels.removePlaceholderAPI
Prefix:
%clv_…%Leaderboard
Use
leaderboard_<type>_<position>where:name,displayname,level, orexp1… up to your configured leaderboard size (config.leaderboard.max-positions)Examples:
%clv_leaderboard_name_1%— name at rank 1%clv_leaderboard_level_3%— level at rank 3If the leaderboard is disabled or the position is out of range, the expansion returns a short hint string (see config).
Player (viewer must be online for these)
%clv_player_level%%clv_player_level_next%/%clv_player_next_level%%clv_player_exp%/%clv_player_experience%%clv_player_exp_required%/%clv_player_experience_required%%clv_player_exp_remaining%/%clv_player_experience_remaining%%clv_player_exp_progress_bar%/%clv_player_experience_progress_bar%%clv_player_exp_percent%/%clv_player_experience_percent%Global (no online player restriction in implementation)
%clv_level_maximum%%clv_level_minimum%%clv_exp_minimum%/%clv_experience_minimum%%clv_experience_minimum%API (for plugin developers)
CyberLevels exposes a small Bukkit event you can listen to from another plugin.
Dependency
compileOnly(or provided) dependency if you build against its API classes, and list it undersoftdepend(ordepend) in yourplugin.ymlso your plugin loads after CyberLevels at runtime.ExpChangeEventcom.bitaspire.cyberlevels.event.ExpChangeEventsetExpflows that bypass the same path.async = truewhen the calling thread is not the server main thread (seeEventconstructor). Handle both sync and async listeners as usual.Methods
getUser()LevelUser<?>receiving the EXPgetOldExp()/getNewExp()getOldLevel()/getNewLevel()getExpAmount()/setExpAmount(double)Example
plugin.yml(ensure CyberLevels loads first):Register a
Listenerin your plugin’sonEnable:Support & contributing
Resource terms (summary)
Per the Spigot listing: do not redistribute or sell the resource as your own, do not decompile to claim ownership, and follow any updated terms on the resource page.
Authors
Kihsomray, CroaBeast
Contributors
Klema_LP
© BitAspire.com | Product of ZeroToil LLC
Uh oh!
There was an error while loading. Please reload this page.