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.
@The01Guy
With lan file I ment language file to change some of those texts that pops up when doing some of the commands.
I've got a problem with my new server, when I have customs jar active when starting the server, logging in takes for ever and it freezes to the "downloading terrain" phase, and when i remove the customs.jar it works just fine. Also if I add a skill to the config it makes loggin in player time out. I've got some plugins installed (link to picture). Is there known interferes with some plugins?
@Juc70
I made the change to Skills instead of Main. I will upload the changes the next time there is a Bukkit update.
'/cpro <skill> exp' is the command you are asking about.
Not sure if you can get at the philes but you can manually edit the player philes with a text editor to change them for testing. Or even just delete it to reset them.(You will have to relog to get them back before you use the plugin)
"also lan file?" I don't know what you mean by this.
@snowfy5
You need to add / in skript, for example if you want an apple skript command would be:
execute console command "/give %player% apple 1"
Hey,
Lovin' this plugin already and it's the thing I've been looking for a long time by now. Command that could Set xp would have been REALLY useful for me at the testing phase. Great job making this plugin :)
Edit: Well figured a way to reset levels for testing purposes using otherdrops:
glass: - drop: glass command: /$cpd %p Custom 3000
You should have help page somewhere explaining every aspect of the config and there should be command to show xp progress for example /cpro [skillname] shows [skillname]s skills but you should make it show xp and xp to next level too also lan file? Would be nice to change few words like Main to Skills when doing /cpro.
Hey,
I really like this plugin and really would love to get it working. I'm getting some errors with Skript and I know now the way to add permissions is through my permissions plugin so scratch that.
The problem is, this plugin revolves around Skript and when I put an effect in such as "execute the command 'cpa %player% Axes 15' to the player" it gives me "'cpa %player% Axes 15' to the player" is not a text and does not add xp to the player.
I really need help with this as I love the plugin, it's so versatile. But I can't go any further with anything until this issue is resolved. Does anyone else get this error? Please, please please fix this. Any replies would be great! :)
Hey this was just the plugin I was looking for! I think a documentation would help me learn about it better though, I can't really read any of the words in the videos.
I am wondering how to add permission nodes to players at a certain level in a skill. I'm pretty much trying to make a system like nashoxx's where they get permissions upon reaching a certain level.
Sorry if this is a noobish question, I was looking in the example configs for it but wasn't sure where to find it. Looking forward to Skripting awesome things with this plugin! All replies are appreciated :)
I uploaded a new jar that I hope has no bugs but should work with 1.8 servers.
@Faldonboy
Did you ever figure out how to make the skills hidden? I was thinking of making a quick video of how to do just that. However, the latest video might also help you too.
@RenKyoKrishna
If you see the list of plugins that this one works with it does actually mention working with MagicSpells just fine.
If you see my latest video (posted today) it will show you explanations for the up_command, down_command and skills as well as show you how to make a working skill and seeing it in action in the same video.
If you have any questions, I'll be around today.
@TSmarine
Sorry for the late reply. I've actually reached a point in Skript where I can think up solutions to things and testing the code in my head.
For this solution you need Pex or a similar permissions plugin. You will need to replace the pex commands with the commands of the one you use.
You also need Essentials for the sudo commands.
What this code basically does is add a permission to the command /cpro and it checks if the player types it and cancels it.
Below that it's adding that same permission needed to that individual player every time they join so that the console can sudo them to display it and then it removes the permission from them so they can't disable it.
So what you need to do is, in a Skript file, put this code:
@nashoxx If you check the Craftbook paragraph under "Plugins that Grant Cool Abilities" you will find info on how to setup something like that. If you still need help, you can reach me on my server's teamspeak: 85.236.100.125:10307 I'll be on the name "Chaositic".
I will do my best to explain how to do what you want by voice.
@The01Guy
Alright this is what I want to do:
I'd like to create some crafting level systems in which you get new recipes you can create when you level up.
Any tips of how start to make this with this plugin?
Thanks.
Awesome plugin, still works in 1.8! I do have a question though. Is it possible to make a /cpro console command?
I would like the scoreboard to show permanently, and I could accomplish this if the current /cpro was a console command. The alternative is to have a way to make /cpro toggleable or not, therefore if it was toggleable, you could turn it off and on with /cpro otherwise it would show permanently. Could you do this as a future feature?
Awesome plugin again, thanks!
Does this plugin work with MagicSpells? Also, I don't know if it's just me, but the documentation for this plugin is unclear. The example configs don't even explain any of the terms used. For eg. What EXACTLY are up_commands, down_commands and skills?
@Hiebe
Is there a point to leveling up skills? Well aside from all your other questions it can be for a RPG type element to your server or to give your players a system to level thru.
Can you restrict crafting recipies based on skill level? You would need another plugin that does this already through the use of permissions.
Can you set bonuses when you get to a certain level, IE faster mining speed once level 50 in mining? Yes, again you would need another plugin that does this. Then you just give the player the perm when they get to the level you want.
Can you set a top level? The top level is the top level you set in the config.
Can it tie into Magic Spells and restrict spells based on level like above? It can if the spells are given to the player based on a permission.
Also are you available to help set up custom plugins using this? Send me a PM with what you need and I see what I can do.
@micruz1
As far as I know the example is still the one I am using in the dev of this plugin. So I would have to see your config phile to make sure you are doing it correctly. Please post an example of the error.
Is there a point to leveling up skills?
Can you restrict crafting recipies based on skill level ? IE cant craft Iron Armor till level 50?
Can you set bonuses when you get to a certain level, IE faster mining speed once level 50 in mining?
Can you set a top level? Like 100 ?
Can it tie into Magic Spells and restrict spells based on level like above?
Also are you available to help set up custom plugins using this? for hire basically?
Thanks -Hiebe
Will there be an updated example config? I'm trying to add permissions to skills but its not being formatted properly
Uploaded the version for 1.7.9. Not sure if anything will break. Please let me know if it does.
They deprecated some of the methods I use for this plugin so I might have to re-write this soon.
any eta on a possible 1.7.9 update? Really excited about adding this to my server.