Customs
About Custom Professions
Overview
Have you ever wanted to have your own custom skills like in MCMMO but found out it was all hard-coded into the plugin making it impossible to make your own without coding your own? This plugin aims to change that. You take a config file generated by this plugin and follow the example provided. When you type /cpro it displays your custom skills you've configured in a stat window similar to how /mcstats in MCMMO does.
Features
This plugin is meant for using with specific plugins that allow console commands to be executed. Here are the commands as follows:
- /cpro - Displays all configured skill names in a window. Type it again to make it vanish.
- /cpro <skill> - As an example, type /cpro Weaponsmithing and it will tell you what you will get next level. This is according to the config.
- /cpro <skill> exp - Shows in a window the status of the skill typed in.
- /cpro <show|hide> - Toggles exp gain/loss messages. Hidden by default. Hidden skills always hidden.
- /cpa <player> <skill> <exp> - This command is only for the console. It is the only way to raise a player's skill exp by an amount. Look below for some ideas to use this plugin with. The key is to be creative.
- /cpd <player> <skill> <exp> - This command is only for the console. Decrease exp command.
- Notification to the player they received experience for a specific skill -> 0.3.0+ of Custom Professions
- Notification to the player that they levelled up -> 0.3.0+ of Custom Professions
- Console commands performed each level that can, for example, be permission plugin commands being added to an individual player on level up. -> 0.3.0+ of Custom Professions
- Console commands granted by levels are customizable -> 0.3.0+ of Custom Professions
- Added reload command /cproreload (console only) -> 0.5.0+
- Hidden Skills -> 0.6.0+
Plugins To Try Custom Professions With
This is a list of some of the plugins that allow console commands:
- ItemSlotMachine -> Ever wanted a Gambling skill? This is your chance to create one!
- Craftbook -> Custom Crafting and Command Items that grant skill points. Cool!
- Skript -> Grant skill exp for Vanilla Recipes, make your own permissions and commands.
- OtherDrops -> Get skill exp from killing Mobs.
- Command Signs
- LoginCommand -> Grant first timers experience in a skill of your choice!
- Buycraft -> Players want to get more skill points in donation packages? This would be the way to do it!
- PointsOfInterest -> Right click signs that give a reward once and only once per player.
- Phatloots -> Open chests with timers that can grant skill points in skills like Treasure Hunting or other existing skills of your choice.
- MagicSpells -> Make spells that use commands after being executed granting you experience in your custom Magic skill.
- LoreLocks -> Lock pick chests, level up your lock picking skill and unlock level 2 and higher lock picks for cracking those chests open!
- TreasureChest -> Alternative to Phatloots.
- EpicBossRecoded -> Kill a boss and get rewarded with a special skill for killing it or make it give other skill points instead.
- Quests -> Got some high level quests set up? Reward your players with a Quest skill or reward them with points in other skills.
- qQuests -> Grant permission for special quests after reaching a certain level in a skill.
- RecipeManager -> A plugin that focuses more on custom crafting. Use this to control your recipes a bit more.
- Campaign -> Make it so that certain level ups grant missions from Campaign!
- Citizens -> Make a speech skill for talking to NPCs and unlocking new conversation options!
- BlockNotif
- Player Auras -> Permissions for abilities that grant a beacon-like potion effect to the player and others around them. Useful for class specific abilities.
- HG Abilities -> Like the abilities of Hungergames but want them to be unlocked through skills? Use HG Abilities in combination!
This is a list of them that work from extensive testing:
- Phatloots
- PointsOfInterest
- Skript
- Craftbook
- Command Signs
- Otherdrops
- TreasureChest
- EpicBossRecoded
- LoreLocks
Plugins that Grant Cool Abilities
SimpleSound <- Play a sound when a player levels up in a skill of your choice!
MobHunting <- When the perms are added, you can have a working Mob Hunting skill that unlocks things like killstreaks and bonuses as you level it!
EssentialsChat bug with Lorelocks is now fixed in 0.5.0 of CustomProfessions
If you find any plugins that also work in combination with Custom Professions, leaving a comment is quite welcome. Also be sure to comment if you find that a plugin on the tested plugins list is not working for you.
Are you a plugin developer and believe your plugin should be featured on the list? Be sure to comment below with any cool features that can be used with Custom Professions and we'll add it to this list!
This is a list of plugins that will work very well for the example skills provided in the generated config.yml:
- Craftbook in particular has a feature called CustomCrafting and it allows you to run a command after you make an item (pulling it out of the results box). Since the only way to add a level to a skill is by the console command listed above, this is actually very useful for making custom crafting skills possible. You will also need to take advantage of the custom permission nodes that crafting recipes can require of a player to have in order to make the recipe. You can find the wiki page here http://wiki.sk89q.com/wiki/CraftBook/Custom_crafting#Craft_Actions
- Skript lets you write mini-plugins. If you wanted to make a magic skill system, this might be the best way to do it. First, you make your config for Custom Professions and setup the levels for each tier of magic that you want a player to reach. This is where it might get tough because you have to learn how to use Skript for this but it will end up being worth it. With Skript, you can store variables, write new commands, make new permissions, and a lot more. You're going to have read up on it here http://dev.bukkit.org/bukkit-plugins/skript/
There are no permissions required for Custom Professions but the skill exp editing command is console only so you should have no problems.
Upcoming Features
- Waiting for a Recommended Build to update.
- Attempting to add perms for each custom made.
Video
How to make a skill and see it in action
Example Configs
Leave a comment or PM The01Guy/Lukethenuke for any questions you may have.
@TheFluffey
For sure. I believe it's an awesome plugin and it goes really well with this plugin too.
Thanks for promoting skript, more people deserve to know of it. It is wonderful.
@centaurianArcher
Just so you know, most of the planned features are already in the plugin. If you need help with any planned skills, be sure to let me know and I can look into making an example config for you.
This project looks really sweet! I think I'll keep an eye on this one. ^_^
@Lukethenuke
I replied to you on the OtherDrops page with quick examples that worked for me. I didn't want to post stuff from another plugin on this page. If those examples don't work and you continue to get the errors you might want to try upgrading(or downgrading if you're on dev builds) to a different build.
EDIT: Also another great plugin that works fine with this one is EpicBossRecoded(currently outdated but still works and is in the process of being updated) I know I sure intend on having a bosshunting skill. :P
@Faldonboy
Otherdrops works fine for me but when I try to make it use a console command, it floods me with errors related to both plugins. I tried to do tests like "whenever a zombie dies, do cpa <player> Slaying 50" replacing <player> with the one OtherDrops uses. I've also tried it with a RIGHT_CLICK trigger while holding redstone and making it consume and run the command. With that one, there is no error because it doesn't seem to work.
It'd help me a ton if you tried testing OtherDrops with Custom Professions and see how far you could take it since you know a lot more about OtherDrops commands than me.
I'll add TreasureChest to the list.
@Lukethenuke
Ah, makes more sense now. :P Also, I can confirm it works with TreasureChest.
What seems to be the problem with OtherDrops though? I'm one of the documenters there so I might be able to help. As far as I can see it works fine for me.
Edit: Saw your comments over there and left a reply.
@Faldonboy
The main reason for console commands was because the design at the time was for the plugin to just display information and simulate levelling up in a skill that is actually granted by another plugin. Right now there are issues with certain plugins running the console command so once that is fixed, it will likely be easier for The01Guy to code in what you've mentioned.
As for Treasure Chest, I will have to download it and see if it can run the command properly. I'm currently having issues with the plugins:
but there is a new version currently being approved so its possible some of the issues are fixed.
Thanks for commenting, it helps us out knowing that there is some interest in the idea of this plugin.
Question - Why did you guys choose to only use console commands? And are there plans of expanding that to player commands, op override support, command block support, etc?
Edit: Also the plugin Treasure Chest is an excellent plugin that can use console commands when you loot a treasure chest. Could be very useful for rpg servers that choose to do some sort of lockpicking skill or want random xp rewards. Should definitely be considered for the list you have going :)
@imjoebaker @Cyagon Hopefully it meets your expectations. The next version is awaiting approval right now but the permissions granted per level hasn't been added in this version. The notifications for gaining exp should be in the next one as well as when you level up. I'm usually the one who tests it outside of The01Guy's own tests but I haven't had a chance to so if you find any bugs, be sure to report them. We'd both appreciate it.
Also make sure you guys ask questions what is planned to be added as the Near future updates section isn't that detailed right now. After the permissions granted per level is added, there are no plans for any features (yet) so suggest them and I'll reply as soon as I can with info on what is possible or what fits the scope of the plugin.
We are keeping our eyes on this. We use Otherdrops extensively but have been looking for something that provides progression for quite sometime. We hope this pulls through.
Great plugin! Will bookmark this so I can come back later. Awesome job guys. :)
@Shvesley
If you have any questions about it, you can either reply here or send me a PM. This plugin was based on my request and I'm hoping it will become a custom mcmmo-type plugin.
I'll be adding more to these pages soon too so stay tuned.
Great. Hope I can count on this in the long run.