Level Me
LevelMe
LevelMe is a plugin that allows you to configure your own leveling system and rewards. The basic idea is after breaking enough blocks or killing enough stuff you will level up. At each level the console may (or may not) execute a list of commands (depending on if its configured to) that will reward (or punish) the player.
Config (for the CB 1.7.2-R0.3 build)
Default config with extra comments
Commands
- addExp: usage: /addExp <player> <class> <amount> Adds exp to the user
- setLevel: usage: /setLevel <player> <class> <amount> Sets the level of the user
- stfu: usage: /<command> toggles exp gain messages
- levelUp: usage: /<command> shows command list
- level: usage: /<command> <class> shows users level and exp for specified class
- classes: usage: /<command> shows the user a list of enabled classes
Permissions
- levelup.addxp Allows user to execute the addexp command
- levelup.setlevel Allows the user to execute the setlevel command
- levelup.leave.<className> Allows the player to leave a class.
Whats configurable?
- Classes
- Exp gain for each mob/block on a class based system (I.E swordman can get 5 for killing enderman, while archer gets 15)
- Permission(s) required for a class
- Level up reward commands
- Exp cap per configurable time length
- HINT! Give players abilities by putting commands in to add permission nodes to the player upon leveling up!
To Do
- Add timer to block placement to prevent xp gain on re-break.
Configurable messages.- Comment for suggestions!
My other plugins
- Mob Randomizer - randomize the health and damage of mob spawns!
- Combat Timer - Change the time required to wait between entities taking damage!
- statspp - Created to be used with this plugin, gives players cool stats!
Servers using levelMe
- CyberCraft - cybergcraft.nn.pe:25607
- comment or message me if your server uses levelMe and I'll add it here.
Donation Info
If you really enjoy this plugin, or are thankful for me adding some request, or just have a great paying job, your welcome to donate by clicking the button on the top right. What will donations go to? My girlfriend... obviously. However, if your a cheap son of a penny pincher like me, then feel free to like my posts about updates, comment, and just show your general gratitude for my sitting at a desk for hours and hours to make these plugins just for you... well you and the other few hundred people that use it. :)
-
View User Profile
-
Send Message
Posted May 11, 2015@kev3200
You can pretty much view the code for any plugin you want just by decompiling it.
-
View User Profile
-
Send Message
Posted May 11, 2015Just uploaded a pretty large update. Enjoy
-
View User Profile
-
Send Message
Posted Apr 29, 2015@donsavage1
Dude. I have a part time job too, college and I love playing games :) Thanks for the reply, didn't mean to come across as snarky. I'm trudging through finals too. :/ And btw, I was only asking for access to source code so I can take a look. Git hub or etc. would be nice. Plus you could get direct input from readers who may even help out with coding (myself included).
-
View User Profile
-
Send Message
Posted Apr 29, 2015@kev3200
Well, when you have a part time job, full time college, and enjoy playing games, you will have problems finding time to code. Especially when coding is something that you need more than an hour at a time to get anything done. It's finals week now, then I work about 12 hours a day friday, saturday, and sunday. After that we'll see how much time I get to update.
-
View User Profile
-
Send Message
Posted Apr 29, 2015@Bartek06PL
If you find a prefix plugin that has commans to set a players prefix, you can do this already with my plugin. As a "Level Reward." For each level add the node:
As for using the exp bar, I started working on it but then I realized, this system allows players to have more than one class at the same time, which beggs the question "Which class should it show the level for?" I think I will start working on the "level class" also change the exp bar to be the same as the classes level. This will require servers who use this option to disable default minecraft exp and enchant with some other system though.
setTitle <player> [<level>] I will work on adding a command that will be triggered for each level.
@cab00se177
I'm assuming Citizens allows you to issue commands as a reward, if so just have them issue the commad to give the player exp.
@zxz8592430
That's probably because I was keeping track of the amount of kills and blocks each player broke, and their type. I was thinking It may be useful later but I'm removing that part of the code.
-
View User Profile
-
Send Message
Posted Apr 19, 2015And another month goes by with no reply.. (oh look, that rhymed)
-
View User Profile
-
Send Message
Posted Apr 15, 2015I'm sorry /setLevel <player> <class> <amount>
<class> = ??
-
View User Profile
-
Send Message
Posted Mar 16, 2015Any chance you could upload source to github repository? I'd like to take a look at the code if you don't mind. :)
-
View User Profile
-
Send Message
Posted Dec 23, 2014Can you add prefix for chat please?
Prefix with your level and can you add your level on xp bar?
Thank You
-
View User Profile
-
Send Message
Posted Dec 16, 2014You should try connecting this to a Questing plugin so that once you complete a quest you would get Exp for the quest, Try using it for citizens... Just an idea.
Thanks
-
View User Profile
-
Send Message
Posted Sep 21, 2014Hello, respect of the author. I come from China, hope you can make allowance for my English.
Don't know if you have found that there is a problem with this plugin, it will increase unlimited memory footprint
-
View User Profile
-
Send Message
Posted Sep 10, 2014@donsavage1
Sounds great. Thanks for getting back to me on this. I'll update now.
-
View User Profile
-
Send Message
Posted Aug 11, 2014I just uploaded a new build to be accepted by bukkit. Should fix the exp calculation as well as the nickname problem.
-
View User Profile
-
Send Message
Posted Aug 11, 2014@kev3200 I havn't abandoned the project, it just got pushed back in my to do list. Iv been working more lately and learning Unity to make my own game. The math error was probably some simple typo that I'll look at tonight, as for the player name not found I have no idea whats causing that but it is obviously something to do with your nickname plugin or perhaps the special characters in the name.
@adw123
This plugin has no effect at all on exp orbs, it uses its own exp system entirely.
-
View User Profile
-
Send Message
Posted Aug 10, 2014@kev3200:
Yea, looks like this plug in may be abandoned. Shame, only other plug I can think of that lets you adjust exp needed for levels is Heroes but that is too complex for my needs at the moment...
-
View User Profile
-
Send Message
Posted Aug 10, 2014@adw123
If you read my below comments, I think the exp formula is faulty so you may want to hold off on that. I did an Excel spreadsheet and mapped out all the values of what the formula should be, but it didn't match up with the values in-game. Still waiting for a response... For over a month now.
-
View User Profile
-
Send Message
Posted Aug 7, 2014@donsavage1:
Does the exp formula in your mod affect normal exp earned through dropped orbs or just experience towards your custom classes?
I'd like to be able to adjust the base experience using your formula but need a class system or anything like that.
Thanks!
-
View User Profile
-
Send Message
Posted Jul 17, 2014@donsavage1
Could you please reply back to my two previous comments? I posted the config output you requested but you never said anything back. Also, please check the below comment about the exp calculation formula.
(a reply would let me know you read this...)
-
View User Profile
-
Send Message
Posted Jul 5, 2014@donsavage1
Also I think you're exp calculation formula may be wrong. (as compared to what's written in the config):
When I made an Excel worksheet with that formula (Z=3, X=3, Y=0, L=0), I got:
Level 1: 64 xp Level 2: 125 xp
But when I plugged those numbers into the config and tested it in-game, the server gave me:
Level 1: 81 xp Level 2: 243 xp
If you could explain the math here that would be great, thanks! Also, if there was an option to actually change the formula for xp calculations that would be amazing, but if not, just please make sure the instructions for the formula are very specific because that is the most crucial part of the whole plugin.
-
View User Profile
-
Send Message
Posted Jul 5, 2014@donsavage1 There were no "exception at" messages.
This is what I see in the console:
[06:53:47 INFO]: CONSOLE issued server command: /tell º3Thirtyºb2º3Talesºr You have reached level 5 Mining!
[06:53:47 INFO]: Error: Player not found.
And this is what's in my config:
http://pastebin.com/nZ2SwKri
I can also post the Essentials and PEX configs if you want as well.