Boo mcMMo Reward
You want to give some money for users who reach the mcMMO level 250 ?
Or you want this user to be granted to a new group ?
Or just give them some items or greetings message ?
Giving some items enchanted or not ?
Giving some items with damage value or not ?
Give their 1 chance to 10 to win a bonus items or 1 chance sur 100 ?
...
...Yes it's possible...
Perhaps just adding one permission to this users is enough ?
Or there isn't enough and you want to launch some admin console commands after that ?
...Yes it would be possible..
What is it?
English:
BoomcMMoReward is an addon for mcMMO.
It gives you abilities to distribute rewards for all mcMMO's player level up with or without conditions.
Available Conditions
- money ( > or < amount ) - Vault required
- perm ( has or has not specific permission ) - Vault required
- group ( is on a specific group or not ) - Vault required
- POWER level ( > or < specific POWER level )
- SKILL level ( > or < for multiple SKILL level )
- world ( if in specific World )
Available Rewards
- money ( give specific amount with an optional sender ) - Vault required
- lotteryMoney ( % of chances to win amount ) - Vault required
- perm ( give/remove permissions or permissions for specific world ) - Vault required
- group ( add/remove from specific groups ) - Vault required
- item ( give items, you can set quantity/damage/enchantments )
- luckyItem ( an item randomly choose from a list of items )
- lotteryItem ( % of chances to win item )
- luckyKit ( a kit of items randomly choose from a list of kits )
- message ( you can send mp/broadcast/log with color )
- command ( for advanced user you can launch console command )
French:
BoomcMMoReward est un addon pour mcMMO.
Il vous permet de distribuer des récompenses à chaque level up mcMMO de vos joueurs sous conditions ou non.
Conditions disponibles
- money ( > ou < montant ) - Vault required
- perm ( doit avoir ou pas des permissions spécifiques ) - Vault required
- group ( doit être ou pas dans des groupes ) - Vault required
- POWER level ( > ou < à tel niveau de POWER )
- SKILL level ( > ou < à tel niveau pour des SKILLS spécifiques )
- world ( si il est dans tel Monde )
Rewards disponibles
- money ( verser un montant en précisant en option qui paye ) - Vault required
- lotteryMoney ( % de chances de gagner un montant ) - Vault required
- perm ( donner/retirer des permissions spécifiques à un Monde ou pas ) - Vault required
- group ( ajouter/retirer de groupes ) - Vault required
- item ( donner des items (quantité/damage/enchantements incluts) )
- luckyItem ( un item tiré au hasard dans une liste d'items définie )
- lotteryItem ( % de chances de gagner un item )
- luckyKit ( un kit d'items choisis au hasard dans une liste de kits )
- message ( envoyer des mp/broadcast/log avec coloration classique )
- command ( pour les utilisateurs avancés vous pouvez envoyer des commandes consoles )
How it works?
English:
When a player level up a skill he level up his global level.
The plugin do:
- a search on POWER/ONE folder if there is a reward file for the reached global level
- a search on POWER/EVERY folder if there is a reward file multiple of the reached global level
- a search on SKILLS/skill/ONE folder if there is a reward file for this skill level itself
- a search on SKILLS/skill/EVERY folder if there is a reward file multiple of this skill level itself
If the plugin find a reward file it deals with it.
French:
Quand un joueur gagne un niveau en compétence son POWER global augmente de même.
Ce plugin fait:
- une recherche de fichier reward dans POWER/ONE pour voir si il en trouve un pour le niveau POWER atteint
- une recherche de fichier reward dans POWER/EVERY pour voir si il en trouve un multiple du niveau POWER atteint
- une recherche de fichier reward dans SKILLS/skill/ONE pour voir si il en trouve un pour le niveau de la compétence en question atteint
- une recherche de fichier reward dans SKILLS/skill/EVERY pour voir si il en trouve un multiple du niveau atteint pour la compétence en question
Si il trouve un fichier reward il l'exécute.
Depends
English:
Of course it depends on mcMMO and Vault for permissions/money.
French:
Bien entendu il dépend de mcMMO et de Vault pour les permissions/money.
Documentation
Version | Docs | |
---|---|---|
Introduction | ||
BoomcMMoReward-1.1.x | English | |
BoomcMMoReward-2.0.x | English / French | |
Conditions section | ||
BoomcMMoReward-1.1.x | English | |
BoomcMMoReward-2.0.x | English / French | |
Rewards section | ||
BoomcMMoReward-1.1.x | English | |
BoomcMMoReward-2.0.x | English / French | |
Examples | ||
BoomcMMoReward-1.1.x | English | |
BoomcMMoReward-2.0.x | English / French |
Commands
English:
A console only command to toggle debug mode when server is started :
boomcmmoreward debug
A console command to On/Off database storing of player's rewards:
boomcmmoreward db
A console only command to retrieve history per player :
boomcmmoreward db get playerName
French:
Une commande en console pour activer/désactiver le debug :
boomcmmoreward debug
Une commande en console pour activer/désactiver le stockage en base de données:
boomcmmoreward db
Une commande en console pour consulter historique d'un joueur :
boomcmmoreward db get playerName
Last Release
v2.0.5b
Current Beta release.
Fixes lottery message's part and ormlite log output's path.
v2.0.4b
Bugged version on Loterry message's part and path of ormlite output log.
v2.0.3b
Prerequisites:
Vault and mcMMO of course.
Installation
- put the .jar on your plugins folder
- start your server it will create the folder structure
- no need to restart your server, create some yml rewards file and put them where they must be
Upgrade Instructions
This release has an integrated system to backup your reward files but PLEASE MAKE A BACKUP BY YOUR OWN TOO because it is a beta.
- put the .jar on your plugins folder
- on start it backup your reward files and adapt them to a new concept for multiple scenario if you upgrade from v1.x
- start your server it will create the folder structure
Your config.yml will be updated.
New 'ABILITIES' folder to reward on ability's launch and skill and power level based.
Need help to setup your reward ?
Feel free to join me at #boo on esper.net and hl me.
You can join this channel with this link if you don't have an IRC client: http://chat.mibbit.com/?channel=%23boo&server=irc.esper.net
Source
https://github.com/boozaa/BoomcMMoReward
Servers known running BoomcMMoReward
If you use this plugin and want to add your banner here please pm me...
I get this error on startup, even after i changed the config and restarted. Running bukkit 1.7.2 beta. using your latest release 2.0.4b. I have mcmmo installed, vault and an economy plugin. http://pastebin.com/fCS7fc2Y
If you need help or you want to give me feedback don't hesitate to join me here:
http://chat.mibbit.com/?channel=%23boo&server=irc.esper.net
A new version is waiting approval.
It fixes many bugs on rewards and conditions process like the command bug but also on permission/group/money.
The database storage is now handled by ORMLite.
Have fun,
A bug in command's reward. A new version will be updated soon.
http://dev.bukkit.org/bukkit-plugins/boomcmmolvlup/tickets/3-v2-0-3b-bug-with-command-reward/
Thank you,
Great job on this plugin! just what I needed :D
Version 2.0.3b waiting approval.
Fixes some bugs on economy reward (thx to Shaded26 for pointing me to this).
First attempt to permit a 'message' part on all available 'reward' type. Please be careful with this because putting a new list (message part) in a list (for example item reward) will fail.
For the moment items that can't be stored in player's inventory will be dropped front of him.
A new folder 'ABILITIES' appear side by side with 'POWER' and 'SKILLS' folders.
Now you can reward a player when he launch an ability. You will found the well know folder structure 'ONE' and 'EVERY' inside. If you're not familiar with the mechanism of the folder structure please read docs before asking.
I wish you a lot of fun,
I changed licence to GNU GPL and added a Github repo for source.
@Shaded26
If you didn't see my answer on irc, please paste me your plugins/BoomcMMoReward/POWER/EVERY/10.yml file.
Edit:
a part of the problem with Shaded26 was wrong indentation on yml file BUT he helps me to find a bug on 'money' reward. This bug will be solved on next release. Thank you Shaded26.
@boozaa
Thanks for that quick reply! Yeah I've noticed those errorrs earlier and setting informUpdate to false helped with this error but still the plugin isn't quite working for me. It recognizes when I get 10 power levels but does not send me any reward.
http://pastebin.com/raw.php?i=2VSuxYqk
This is what my console shows. I'm running a sqlite database. I even installed the latest spigot (#1225) but everytime I've got the same error. I even tried to strip my reward file to it's bare minimum, but it also wasn't working.
@Shaded26
Hi Shaded26,
can you tell me your version of spigot you used with the latest BoomcMMoReward available here ?
Just for testing can you set the BoomcMMoReward's config.yml with this setup:
Thank you for your feedback,
Edit:
some errors are from my update notifier so setting 'informUpdate' to false disable this feature. I did some tests with spigot and latest BoomcMMoReward available here, i didn't test every aspects but some and all my tests was successful. Can you precise others errors than update errors ?
Thank you very much for your comment,
I haven't managed to try this plugin out because I'm the newest spigot version and it doesn't seem to work, but seeing such an advanced mcmmo reward plugin I already have set up everything and now I'll wait for this excellent plugin to update. Best regards!
i planned to add the following:
What i did:
Now i'm working on the 'item' part so please be patient :)
@g0zze3
Oh i thank you for your comment !
I'm working on it since 3days to do an upgraded version which i hope it will be enough unbreakable like older version. As i said on the beginning my goal is not to add a lot of functionality more than maintained it to cross future version as much as i can.
I need this too and i'm happy for this kind of message that boost my enthousiasm to do my best. Thank you
Best Reward plugin for mcmmo.
Will there be an update for the spigot 1.7.4 build. It seems not te be working on this server jar. It worked perfectly until the update, ill yust wait paciently for an update :D.
Great job to the creator of this plugin.
can't wait
Hi,
prepare yourself for a new version soon.
Some changes occured and will occur, some deprecated methods on bukkit force me to upgrade BoomcMMoReward.
A big change occur on Bukkit side because soon or later retrieve item from id will be unusable as it.
Secondly i want to integrate a 'keep until player's free slot' as Vanmc asked for it.
So i'm working on a new version to stay cool for the future.
Edited: good news from mcstats.org because Hidendra takes some support to keep it alive !!
@Gharik90
Hi, try this:
And of course you need Vault.
Edit:
if you have posted your entire 25.yml you missed the header nodes:
I don't see debug talking about 'conditions part' so i supposed your 25.yml is not well formed.
You don't have to restart your server when you modify your rewards files (25.yml) so just edit it and level up.
Edit2:
you must know that if your player gain level 25 on mining and don't have level above 10 in excavation he didn't gain the new group Worm.
After the level 25 cap he can't gain this group anymore with this reward file. Just to be clear.
http://pastebin.com/QGMGUmk1
This should upgrade a default user to a 'Worm', once he gets Mining 25 (the file's named 25.yml in the MINING/ONE folder) the user needs to be in the default group, and also have an excavation lvl above 10.
Why doesn't it work?
http://pastebin.com/pL98CVzS There's the console log.
@boozaa
sure thing it would be an honor and also free advertisement XD By the way I sent my first donation my co-owner will send one another soon :D
@MCBuncey
Thank you !!
Can i put your signature's banner on the main plugin description as a server which use this plugin ?
I will not have time this week to work on next release but soon :)