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...
@boozaa I have been having crash problems with my server due to the mcstats thing i had to temp disable the option on my server as for the testing i'll be honored to test it on my server. Sorry for the long response have been busy with school and I see you got donations up my co-owner will donate for you soon :D.
@boozaa
Thank you very much :)
Hi Vincent1468,
you can disable mcstats usage on your BoomcMMoReward/config.yml with:
I'm pretty sure that this plugin is causing my players to crash sometimes. The server stops responding, then I get this in the console:
[Server] INFO Server returned HTTP response code: 504 for URL: http://mcstats.org/report/BoomcMMoReward
And after that the server is fully responding again.
Hello Vanmc,
are you available to test this new feature for dealing with pending items when inventory is full, this will be very useful for me.
Let me know,
For my needs i created an smtp email sender plugin.
I need to send email on certain rewards so i use it as a reward part myself.
I can add it to the next BoomcMMoReward release if you need this, please take a time to vote on the new poll about that.
I plan to release this smtp email sender plugin on dev.bukkit but it needs some enhancement as a standalone solution.
I create an enhancement ticket to not forget this:
http://dev.bukkit.org/server-mods/boomcmmolvlup/tickets/2-add-a-way-to-deal-with-inventory-full/
@boozaa
oh ok boozaa i appreciate you liked my idea ill be looking forward to it
Hello Vanmc,
you have a good idea.
There is the message part mechanism to change to do that, perhaps a new node like 'fullinv' to send a new chat message 'Your inventory is full'.
I must change the message part because it is launched at the end of process if conditions are fullfill and you can set 'mp' to inform player about his rewards.
Technically i can easily use player's inventory events to check if he has a pending reward's items as metadata and give them when there are free slots.
Let me think about it because i see more than one way to achieve that
Hello boozaa its been awhile and your plugin is doing great as ever. Im here to ask if possible to add a new feature that allows you to deny or accept a reward. My reason to add this feature I awhile now some of my players tends to forget to leave space on there inventory when receiving there rewards maybe if possible to like hold the reward temp and accept it later if don't I understand.
My vault version is 1.2.25-b320 And here is my config again, and the debug : http://pastebin.com/PhueZG6G
@Vincent1468
Thx, can you tell me your Vault version ?
Edit:
also can you replace 200 by 200.00 to test ?
@boozaa
Okay I just did that and got this: http://pastebin.com/Ab3TDim2 It seems good to me, but it didn't give the money. The player had 100 coins, and after it still 100 coins. I'm using BOSEconomy.
@Vincent1468
Hello, can you enable debug mode to see if it can say something useful ? On console:
@boozaa
Sorry for my late reply but here is my file: http://pastebin.com/wJixzsnb
It looks the same, but it isn't giving any money. I do have the Vault plugin installed.
@Vincent1468
You must have Vault plugin installed.
The correct reward code to do that:
If you put this reward on ACROBATICS/ONE/20.yml this will be done when and only when the player reach the level 20 so one time.
If you want to do that every time the player level is multiple of 20 you put the reward on ACROBATICS/EVERY/20.yml.
@Vincent1468
Hello, can you paste your reward with the yaml formatting using 'code' tag ?
If your syntax is good your reward must give 200 to players when they reach the level 20 on Acrobatics only in this level so: is that your purpose ?
Hey, my players aren't getting money. I've got it setup like this: all: RankUp: rewards: message: mp: - '&2 You have leveled up &aeAcrobatics&2 and earned 200 coins for that!' money: amount: 200 It's in the folder SKILLS > ACROBATICS > ONE > 20.yml What's wrong? Thanks.
@iliektnt
Allright, good to know.
It's probably a charset problem, perhaps try convert your reward's files on utf8 in the future.
Thank you,
@boozaa
And ty for the help with this :)
Ok, I got it to work by by copying and pasting %player% from the guides.