SkillZ v2

About

This resource allows you to gain experience during active gameplay.

Category

  • Gameplay

Skills

Default Name EXP Gain Default Description Since
Mining Breaking ores, stone Gain EXP by breaking certain blocks 1.0.0
Foraging Breaking wood Gain EXP by breaking certain blocks 1.0.0
Fishing Catching fish/items Gain EXP by fishing up something 1.0.0
Enchanting Enchanting items Gain EXP by enchanting something 1.0.0
Hunting Killing Animals Gain EXP by killing animals 1.0.0
Slaying Killing Monsters Gain EXP by killing monsters 1.0.0
Archery Attacking with a Bow/Crossbow Gain EXP by hitting someone with an arrow 1.0.0
Trading Trading Gain EXP by trading with Villagers WIP

Commands

Name Alias Description Since
/skillz None Basic plugin information. 1.0.0
/skill /skills Skill Information for every player. 1.0.0

Permissions

Permission Node Description Since
SkillZ.* Access to all commands and skills of the plugin 1.0.0
SkillZ.command.skill Access to /skill 1.0.0
SkillZ.skill.* Access to all skills 1.0.0
SkillZ.skill.<Skill> Access to a certain skill 1.0.0

Developer API

// WORK IN PROGRESS - TEMPLATE FROM VOUCHERZ // You can find all methods with their documentation in the at.rengobli.voucherz.code.VoucherCodeManager.java class. The main instance of this plugin is called at.rengobli.voucherz.VoucherZ.java.

Methods (VoucherCodeManager.java)
Name Type Description Parameter Return Since
getByName(); VoucherCode Get a VoucherCode Object by its name String name VoucherCode 1.0.0
getByCode(); VoucherCode Get a VoucherCode Object by its code String code VoucherCode 1.0.0
isValid(); boolean Validate a code String code If the code is valid 1.0.0
Object VoucherCode.java
Name Type Parameter Return Since
getName(); String N/A String name 1.0.0
hasPermission(); boolean N/A If you need permission VoucherZ.command.redeem to access this code 1.0.0
hasCustomPermission(); boolean N/A If you need permission VoucherZ.command.redeem.[Code] to access this code 1.0.0
getUses(); Integer N/A How often this code has been used 1.0.0
increaseUses(); void N/A N/A 1.0.0
getMaxUses(); Integer N/A How often this code can be used 1.0.0
getValidUntil(); long N/A Timestamp how long the code is valid 1.0.0
getValidationDate(); String N/A Timestamp formated by value set in config.yml 1.0.0
getCode(); String N/A The code you need to redeem 1.0.0
getCommands(); List<String> N/A The commands that shell be executed 1.0.0
addCommand(String cmd); void N/A N/A 1.0.0
removeCommand(String cmd); void N/A N/A 1.0.0

File Configuration: config.yml

// WORK IN PROGRESS - TEMPLATE FROM VOUCHERZ //

Settings

date_format
Choose the way that <date> is displayed by validation timestamp.
default: YYYY-MM-dd HH:mm:ss
delete_after_expire
Auto remove codes when they expire.
default: true
delete_after_max_use
Auto remove codes when they reach their maximum amount of uses.
default: true

Debug mode for error handling

debug
If the plugin does not work as intended, try to figure out the problem with this mode before contacting the developer.
default: false