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.
@excavator5
You're welcome to send me a PM and explain to me exactly how you want it to work for your server and I can tell you if it's at all possible.
This plugin is usable with Mcmmo only if they're skills that don't exist in Mcmmo I would think. This plugin can work with any block id only if you use Skript for example.
Please let me know what you'd like to do.
I am running New World modpack for my Role-Play server and I was planning on creating some extra skills through Mcmmo, however I am trying to figure out how to fit this into my server. :S
I would love to use this. Just gotta figure out how to fit into my server.
@centaurianArcher
I actually enjoy replying to people's comments especially when it's on a plugin I'm a documenter of. Unfortunately, The01Guy is the only coder among both of us so he actually only codes when he's not working and has free time. He's actually very dedicated when it comes to this plugin and I'm very glad that he took up the project around the time I first requested it.
As for hidden skills and de-levelling, these are definitely on the horizon along with other features. We may soon see a release stage pushed soon but most coding days are spent on bugs he and I find when we beta test. If we had more bug reports outside just the 2 of us, then a release stage would be around the corner and ready for feature requests. He feels that bug squashing should be done first and that's why it's still in beta.
I don't run a production server so I've never had data where multiple players are using skills and reporting it working for them or not working for them. And so, if anyone is interested, we'd like to have feedback from your beta testing in production server environments.
Thanks again for the comment as I, too, like seeing replies. One of my top priorities is getting this plugin known so if you can, it'd be awesome to spread that video around.
Cheers.
@Lukethenuke
Thank you for all of the quick responses! Man, you're on that!
I'm interested in hidden skills and de-leveling because I'd like to use this plugin not only to handle skills and leveling them, but also to keep track of in-game deities' favor towards the players, though I don't necessarily want them to know which gods like or dislike them, nor do I want them knowing every little action that change the deities' perspective.
This plugin, once it's fully up 'n' running, looks to be very powerful and flexible. I'm thankful you two are working on it.
@Lukethenuke
Awesome, thanks again!
@necroloki
I've forwarded your request to The01Guy on skype so when he gets home from work, it will be sent to him. From the example you've given me, I totally agree that a suppression feature should be put in. Also thanks for the feedback.
@Lukethenuke
Just a quick example would be if someone wanted to create a farmer profession that gains XP via breaking grown plants. This plugin can handle that amazingly well except for the fact that when the farm, the XP text would likely fill their chat screen a few thousand times. Same can be considered for a Mining profession. Yet, my personal usage would be that this plugin is also usable with Crackshot, which allows for making of custom weapons. With this plugin, one would be able to make a skill for each of the weapons that levels up similar to Skyrim weapons. But, XP fills the chat every fight 10+ times. I guess what I was getting at is if there could be a feature were a player types something like /cpro suppress and XP announcements will not be shown for that player.
This is an amazing plugin and something I have been searching for since we lost heroes on our server and I will use it regardless. Thank you.
@necroloki
Well the message is there to tell the player they gained exp in that skill. The only other way to know you gained experience is if you type /cpro Skillname exp
and watch the menu on the right side. I guess you'll have to give an example of how you'd like them to be suppressed.
Is there any way to suppress the spam caused by exp gains?
@centaurianArcher
1. I have suggested this to The01Guy so it is on a list of possibilities in the future but is not in any current versions atm.
2. If you type in console: cpa yourname Skillname -30 this will work. It's currently not possible to de-level someone at this time but now that we know it's something someone wants, I'm sure The01Guy will look into it.
3. Currently the maximum level is basically the last entry you put in the config. So the only way to pull this off would be if de-levelling was put in and then you'd configure it yourself so that when a player reaches max level in skill 1, it would run a command that de-levels that person. However, even with the de-levelling put in, only the config sets the max level so it would still exist as a max level no matter how many times you de-level.
If there's anything else, be sure to let me know. If you haven't seen it already, you should check out the video for some good examples of the plugin in action.
@Lukethenuke
Hey, thanks! Sorry for the late response. If it's alright, I do have a few questions:
1) Is it possible to have certain skills be hidden from the players who have them?
2) This is probably a stupid question, but can you set it up so that certain actions remove experience, or even de-level a skill?
3) Can you set it up so that certain skills have a varying maximum level? For example, if there are skills for Fire Magic and for Water Magic(two opposing skills), could you set it up so that every time you level up one of them, the maximum level for the other drops?
@Faldonboy
Thanks for the plugin addition. You should check out the video and let me know what you think. It'd help me improve for the next video which will definitely be more complex.
Just popping in to recommend adding RecipeManager to the list of extensively tested plugins. I use this in place of CraftBook for crafting-based skills and its a much more configurable alternative. Its a bit outdated but still works fine.
@Lukethenuke
well watched video
@sbira
The video might help you with that. It shows off multiple uses of the plugin.
@Lukethenuke a little confusing to see an example.
thank you. understand
@sbira
Using the above code, you would replace one of the "give @p 1 2" with the pex command. An example would be:
But to answer your question, yes this plugin is meant for displaying skills that you name yourself. In order to simulate mining, you would need another plugin that can help you keep track of mined blocks. A good plugin for that would be Skript which is linked to in the description. Please let me know if that helps you or if you need additional help.
@Lukethenuke so what is skills? Is just displaying on the scoreboard?
if so, give permissions is:
also, how do i use it? I do not know what it is. (http:dev.bukkit.org/bukkit-plugins/customprofessions/pages/example-configs/)
sorry, i cant speak english well :)
@sbira
Sorry if you thought otherwise but this plugin doesn't give skills. It simulates giving skills that exist in other plugins. If you look at the config in the images, you'll see how to set it up.
There are some problems. this permission does not apply