main/Config
Here is the default config: (with a few more comments)
#permission nodes: #levelup.addxp #levelup.setlevel #levelup.lowerExpNeeded # #formula key: # L = players level # Z = level offset # L = exp subtractive (with permission node: levelup.lowerExpNeeded) #formula for calculating exp: #(level + z)^x + y - L expFormula: Z: 9 X: 2 Y: 50 L: 0 Server: capEnabled: true #if use exp bar is enabled, I will add experience to the bar based on this exp system use exp bar: true #It is recommended to turn off minecraft exp if you want to use the exp bar for this plugin, they will conflict otherwise #I suggest you use some other plugin to do enchanting if you decide to do this, I don't know how they will interact yet :) prevent exp drop: true #in seconds remove xp cap every: 3600 exp cap reset message: '&bExp caps have been reset!' exp cap reached message: "&4You have reached the Exp cap for &b<class>." #the text: <player>, <expGained>, <level>, <expNeeded>, <class> and <totalExp> will be replaced with their correct values exp gain message: "&b<class> &r+ &6<expGained> &r-> &6<totalExp>/<expNeeded>" level up message: "&6Level up! &b<class> &r-> &6<level>" #The maximum number of classes a player can have at one time max classes per user: 3 #disable enchanting tables? disableEnchanting: false #if enchanting tables are enabled, this number will be multiplied by the minecraft cost. the levels will be removed from the class that the player has selected with the /levelme level <class> command enchantingCostModifier: .1 #how often will this plugin save player data? (in seconds) saveTime: 60 items not to consider air: - WOOD_PICKAXE - STONE_PICKAXE - IRON_PICKAXE - GOLD_PICKAXE - DIAMOND_PICKAXE - WOOD_HOE - STONE_HOE - IRON_HOE - GOLD_HOE - DIAMOND_HOE - WOOD_AXE - STONE_AXE - IRON_AXE - GOLD_AXE - DIAMOND_AXE - WOOD_SPADE - STONE_SPADE - IRON_SPADE - GOLD_SPADE - DIAMOND_SPADE - WOOD_SWORD - STONE_SWORD - IRON_SWORD - GOLD_SWORD - DIAMOND_SWORD - BOW enabledClasses: - miner - farmer - digger - swordman - archer enabledPermissions: - test.node.one - test.node.two - test.node.three #joinPermissions - permissions required to join the class #LevelRewards - rewards to be given upon levelling up. good for item gifts. #constantRewards - commands that will be executed if the player is the same or higher level of the class. #Will be executed again if the player leaves the class and later rejoins at the same level #useful for adding skills classes: miner: xpCap: 1000 joinPermissions: - user.join.profession blocks: COAL_ORE: 5.0 IRON_ORE: 10.0 DIAMOND_ORE: 20.0 levelRewards: 5: - tell <player> <player> you have reached level 5 <class>! 3: - tell <player> nice! have some sticks! - give <player> stick 5 constantRewards: 1: - pex user <player> add license.to.mine - pex user <player> remove user.join.profession #if you only want a player to join one type of a class, remove the permission to join after they already joined! 2: - pex user <player> add item.use.wood_pickaxe 10: - pex user <player> add item.use.iron_pickaxe 51: - levelme setlevel <player> <class> 50 player leaves penalty: - pex user <player> remove license.to.mine #if they leave a class, you should tell me what commands will remove any extra abilities - pex user <player> remove item.use.wood_pickaxe - pex user <player> remove item.use.iron_pickaxe - pex user <player> add user.join.profession #make sure they can rejoin or they will yell at you! - levelme setlevel <player> <class> 1 #if you want a level penalty you can issue it here as well farmer: xpCap: 1000 joinPermissions: - user.join.profession player leaves penalty: - pex user <player> add user.join.profession - levelme setlevel <player> <class> 1 blocks: LOG: 1.0 WHEAT: 1.0 CARROT: 1.0 POTATO: 1.0 swordman: xpCap: 1000 joinPermissions: - user.join.class constantRewards: 1: - pex user <player> add license.to.kill - pex user <player> remove user.join.class 51: - levelme setlevel <player> <class> 50 player leaves penalty: - pex user <player> add user.join.class - levelme setlevel <player> <class> 1 weapons: - WOOD_SWORD - STONE_SWORD - IRON_SWORD - GOLD_SWORD - DIAMOND_SWORD kills: SKELETON: 3.0 SPIDER: 2.0 ZOMBIE: 1.0 SLIME: 1.0 CREEPER: 3.5 PIG_ZOMBIE: 4.2 ENDERMAN: 2.25 CAVE_SPIDER: 2.0 SILVERFISH: 0.1 BLAZE: 5.5 MAGMA_CUBE: 5.0 GHAST: 10.0 ENDER_DRAGON: 35.0 WITHER: 15.0 WITCH: 2.0 archer: xpCap: 1000 joinPermissions: - user.join.class constantRewards: 1: - pex user <player> add license.to.kill - pex user <player> remove user.join.class 51: - levelme setlevel <player> <class> 50 player leaves penalty: - pex user <player> add user.join.class - levelme setlevel <player> <class> 1 weapons: - BOW - WOOD_SWORD - STONE_SWORD - IRON_SWORD kills: SKELETON: 5 SPIDER: 2 ZOMBIE: 1 SLIME: 3 CREEPER: 5 PIG_ZOMBIE: 6 ENDERMAN: 15 CAVE_SPIDER: 7 SILVERFISH: 0.1 BLAZE: 10 MAGMA_CUBE: 5 GHAST: 3 ENDER_DRAGON: 35 WITHER: 15 WITCH: 5
Comments