BuySkills
BuySkills
Please note: BuySkills is not compatible with the old ExpSkills Plugin. You need to update your config by yourself.
BuySkills is a plugin that allows your users to buy or rent skills (i.e. permissions or groups) for money or other currencys. It has a built in skilltree feature, perfect for level based classes.
To make sure you can use everything you want as costs or requirement, this plugin requires the CurrencyHandler Plugin.
Update from 0.x to 1.0
The new version is not compatible with 0.x versions. You need to update your config files yourself.
The level und skillpoint function has been removed but can be achieved with the SkillLevels plugin.
Metrics
This plugin utilises Hidendra's plugin metrics system. You can opt-out under <yourPluginFolder>/PluginMetrics/config.yml
The following informations will be collected:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's implementation and game version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
- Your online-mode
- Your server location
Dependencies
Vault: BukkitDev
CurrencyHandler: BukkitDev
Usage
Commands
User Commands
/skill help [command] - get help for this plugin
/skill list <page> <filter> - list available skills
/skill info <skill> - get information to a specific skill
/skill buy <skill> - buy a skill
/skill rent <skill> - rent a skill
/skill current [player] - shows bought skills
/skill rented - show's your rented skills
Admin Commands
/skill grant <player> <skill> [charge] [rent] - grant a skill
/skill recalculate <player> - recalculate permissions
/skill reload - reload config files
/skill reset <player> - reset all skills of a player
/skill revoke <player> <skill> - revoke a skill from a player
Permission Nodes
buyskills.user - all user permissions buyskills.command.help - access to /help command buyskills.command.list - access to /list command buyskills.command.info - access to /info command buyskills.command.buy - access to /buy command buyskills.command.rent - access to /rent command buyskills.command.current - access to /current command buyskills.command.rented - access to /rented command buyskills.admin - all admin permissions buyskills.command.recalculate - access to /recalculate command buyskills.command.reload - access to /reload command buyskills.command.reset - access to /reset command buyskills.command.revoke - Grant access to /revoke command buyskills.command.grant - access to /grant command
Configuration
Example Skill
example: name: Example # Name of the skill, used for every ingame interaction. Must be unique description: "Example skill" # A short description of the skill info: "This skill allowes you to do nothing" # A more detailed description of the skill category: # A list of categories the skill can be found at (used for /list) - example perm_earn: # A list of permission nodes the player earns with this skill - ex.ample perm_need: # A list of permission nodes the player needs for this skill - exam.ple group_earn: # A list of groups the player earns with this skill - examlpe group_need: # A list of groups the player needs for this skill - player skill_need: # A list of skills, needed to buy this skill - notexample skill_illegal: # A list of skills the player is not allowed to own for this skill - examlpe2 skills_needed: 1 # Number of skills of the skill_need list the player needs for this skill worlds: # A list of worlds where you can buy this skill. Leave empty for global. - world revoke_group: false # Revoke needed groups when buying this skill? revoke_perm: false # Revoke needed permissions when buying this skill? regrant_perm: false # Regrant needed permissions when this skill is revoked? regrant_group: false # Regrant needed groups when this skill is revoked? buyable: true # Is this skill buyable? rentable: false # Is this skill rentable? renttime: 200 # Time in seconds the skill is rented for buy_costs: # The costs to buy this skill, uses CurrencyHandler plugin food: 10 health: 10 rent_costs: # The costs to rentthis skill, uses CurrencyHandler plugin food: 10 health: 10 buy_need: # This currencies are needed to buy this skill food: 20 rent_need: # This currencies are needed to rent this skill food: 20
Source Code: GitHub
@g_BonE
Was working for me on 1.2.5 with no issues.
is this still working on server 1.2.5 ?
I can't seem to get the groups_earn: to work. I have PermissionsEX. I am trying to get them promoted to the group Deadmeat. The config file looked like this: groups_earn: - Deadmeat but when they buy the skill, they dont get the permissions defined in the Deadmeat class.
Nice plugin you have here sir, diamonds for you! Please keep the plugin as up to date as possible.
Feature request would be to be able to put the buying on signs.
Small feature request:
Admin ability to see the current highest level holder, or highest skill points maybe:
/exp topskills # Show player currently with most skill points available.
/exp toplevel # Show player currently the highest level.
Would be helpful for keeping an eye on player progressions, and making tweaks to it when necessary. Great plugin, love the way it works!
@Swords761
Unfortunately I think it's Vault's fault. You can work around that by using the world inheritance in PEX, or using the worlds: node in your skills. However, I´ll look for a better solution.
@Tomskied
They will be added in the next dev Version.
Hey Syd, I'm using your latest dev build with the latest RB for 1.2.4, and the permissions aren't quite working so well. Apparently it adds them to the current world the user is in when he/she buys them, instead of globaling adding the permissions. Is there a way to change/fix this, either on my side or yours? Using PEX as you may remember.
@Tomskied
'These, I posted them a while back.
@Tomskied
What nodes do you need?
Hey syd, whats the progress with getting extra permission nodes, ones for each command and to give points to self?
Im not nagging promise :P Epic plugin Tom
@SydMontague
I confirm same problem with pex
No prob with the dev build
@h4344
Vault. I´ll drop my own Permission support in one of the next versions, so that Vault will be required. So if Vault does not support it, my plugin will do neither.
@StypherFire
Please try the lastest dev version, it should be fixed there.
Having same issue as Danielboyz. Using pex and doesn't seem to be altering people's permissions when they buy the skills.
Is there anyway you can get this to work with essentials group manager?
@SydMontague
Sent you a PM
@electrikfuzz
Sounds strange and don't happens on my Server, so I think it could be a conflict with another plugin. If you could send me a list of used plugins, I could look into it.^^
@SydMontague
No, it will just display a disconnect and then immediately display a reconnect for all users that were online, but the server hangs.
@electrikfuzz
Is there a error message in the serverlog?
It seems that whenever specific events are passed with this plugin enabled (killing an enemy or picking up an xp orb) this plugin causes my server to crash. I'm using your latest dev build.