mcMMO-Dev / mcMMO

The RPG Lover's Mod!
https://mcmmo.org
GNU General Public License v3.0
1.01k stars 861 forks source link

[Suggestion] Run array of commands on certain or every xth level #3720

Open mrfloris opened 5 years ago

mrfloris commented 5 years ago

Reward players for hitting the cap, or get a certain power level, or every 100th levels of a skill.

Basically, ala this plugin: https://www.spigotmc.org/resources/mcmmo-rewards.43212/ - but working, better, and for 1.13.2 and for mcMMO 2.1.

The ability to add commands to mcMMO levelling means at lower levels we can spit out msgs to teach them how to use things, or give tips on how to be more efficient. Link to our knowledge base, etc.

While on other levels we can reward them with some money or a free mcMMO level for grinding.

And at higher levels, give them things like a public announcement they've reached level 2500 or something, and give them a kit as a reward like a efficiency 6 pick axe etc.

Having the ability to run an array of commands on various levels

acrobatics:
- 100:
 - every: true
 - cmi msg %player% $2500 for making it another 100 levels in %skill%
 - cmi money give %player% 2500 -s
- 2500:
 - cmi broadcast Congrats %player% for jumping like a boss, enjoy some extra loot
 - cmi kit acro2500 %player%
- 5000:
 - cmi sound pling %player%
 - cmi broadcast %skill% MVP right here: %player% (level 5000 !!)
 - cmi kit acro5000 %player%

or whatever approach is best, that's just a random example. But since every server is different, this means we can tweak it for an event, for survival, for mcmmo-grind server.. prison server, faction.. it's taking the mcmmo experience to a whole new level. We can use any third party plugin then to run a command, allowing us to do amazing things. from the above, to updating a custom mysql db to track "first player ever to make it to power level 5000" etc.

nossr50 commented 5 years ago

Yeah this has been suggested before more or less, I do plan on implementing some kind of support for something along these lines.

mrfloris commented 4 years ago

Yeah this has been suggested before more or less, I do plan on implementing some kind of support for something along these lines.

Thank you, sounds awesome, and can't wait once 2.2 is out to see the ability to enter commands at a certain level for certain skills. So we can properly customize this plugin to our needs. I appreciate it that you're considering it.

Leomelonseeds commented 4 years ago

I'm giving this suggestion a +1 as well. This would be a really useful feature to integrate mcMMO with other plugins on a server.