Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

12 Screenshots

  • 2,623
  • 87
  • 191.88 kB

About SkillTree

 

odiMsyN.png

This plugin adds a character progression system to your server in the form of a leveling and skill tree system.

Players gain xp by cutting trees, mining rocks, killing NPCs etc, and are rewarded with skill points when they level up. 

These points can be used to unlock perks and buffs across a number of different skill trees.

The plugin is extremely customizable and server owners can change, move, scale or disable any perk to tailor the setup to their server.

It features:

  • 44 unique buff types.
  • 8 unique skill trees.
  • 26 sources of xp with configurable values.
  • An functional tree system that prevents unlocking/upgrading of nodes if the player has not invested enough skill points into a tree.
  • Configurable limits on the amount of skill points that players can spend, allowing for more specialized builds.

SkillTree allows users to focus on multiple skill trees and unlock nodes in each tree as they level, to make their characters more powerful and unique.

 

3GJGGpx.png

skilltree.chat 	- required to use the chat commands to access the skill tree menu.
skilltree.xp 	- required to obtain xp from xp sources.
skilltree.tree 	- required to access and use the skill tree.
skilltree.admin - required to use the admin commands.

 

BWj9ScD.png

Command: st
Description: Opens the skill tree menu. Requires skilltree.chat permissions.

Command: xp
Description: Displays the current xp and level information for the user.

Command: updatexptable
Description: Recalculates the xp table based on the config values. Requires 

Command: togglexpdrops
Description: Toggles the xp popup when obtaining xp.

Command: togglexphud
Description: Toggles the xp hud on the players screen.

Command: givexp
Parameters: <name> <amount>
Description: Gives the player matching the name parameter, xp equal to the amount parameter.

Command: givesp
Parameters: <name> <amount>
Description: Gives the player matching the name parameter, skill points equal to the amount parameter.

Command: resetdata
Parameters: <name>
Description: Resets the target players data.

Command: turbo
Description: Toggles the turbo on the boat if the player has the relevant perk.

Command: togglebc
Description: Toggles the BetterChat title on/off for the user.

Command: movebar
Description: brings up a ui that can be used to relocate the xp bar on the players screen.

 

lgYAffa.png

Experience can be gained from a number of different sources. The value for each source can be adjusted via the config.

NodeHit - Hitting a stone, metal or sulfur mining node.
NodeHitFinal - Finishing a stone, metal or sulfur mining node.
TreeHit - Hitting a tree.
TreeHitFinal - Knocking down a tree.
SkinHit - Hitting an animal with a skinning tool.
SkinHitFinal - Finishing off an animal with a skinning tool.
CollectWildPlant - Collecting any map generated collectible, such as hemp, corn, pumpkin, stone, sulfur or metal.
CollectGrownPlant - Collecting any player grown produce.
BuildingBlockDeployed - Placing down a twig building block.
FishCaught - Catching a fish.
Crafting - Whenever a craft is successfully completed. XP is calculated based on the duration of the craft.
ScientistNormal - Killing a blue scientist.
ScientistHeavy - Killing a heavy scientists.
SmallAnimal - Killing a small animal such as a chicken.
MediumAnimal - Killing a medium animal such as a boar, wolf or stag.
LargeAnimal - Killing a large animal such as a horse, shark or bear.
Barrel - Destroying barrels.
RoadSign - Destroying road signs.
Scarecrow - Killing scarecrows or a zombie in ZombieHorde.
Mission - Completing a mission in rust.
BradleyAPC - Getting the last hit on Bradley.
LootHackedCrate - First player to loot a locked crate.
LootHeliCrate - First player to loot a heli crate.
LootBradleyCrate - First player to loot a bradley crate.
CookingMealXP - (Requires cooking plugin) XP is calculated per ingredient used. Example 2 tomatos and 8 bear meat would yield 100xp.
RaidableBaseCompletion - Awards raiders of a RaidableBase xp upon the completion of the raid.

 

9sW0oI9.png

Name: Mining Yield
Config Value: 1
Description: Increases the amount of resources gained while mining.

Name: Instant Mine
Config Value: 2
Description: Gives the user a chance to instantly mine out a stone, sulfur or metal node.

Name: Smelt On Mine
Config Value: 3
Description: Gives the user a chance to smelt some of the ore as its mined from sulfur and metal nodes.

Name: Mining Luck
Config Value: 4
Description: Gives the user a chance to obtain items from the Mining luck loot table when they finish mining a node.

Name: Mining Tool Durability
Config Value: 5
Description: Decreses the durability loss of mining tools.

Name: Woodcutting Yield
Config Value: 6
Description: Increases the amount of resources gained while woodcutting.

Name: Instant Chop
Config Value: 7
Description: Gives the user a chance to instantly chop down a tree.

Name: Woodcutting Coal
Config Value: 8
Description: Gives the user a chance to obtain some charcoal while woodcutting.

Name: Woodcutting Luck
Config Value: 9
Description: Gives the user a chance to obtain items from the Woodcutting luck loot table when they finish cutting down a tree.

Name: Woodcutting Tool Durability
Config Value: 10
Description: Decreses the durability loss of woodcutting tools.

Name: Skinning Yield
Config Value: 11
Description: Increases the amount of resources gained while skinning.

Name: Instant Skin
Config Value: 12
Description: Gives the user a chance to instantly cut up an animal.

Name: Skinning Tool Durability
Config Value: 13
Description: Decreases the durability loss of skinning tools.

Name: Skinning Cook
Config Value: 14
Description: Gives the user a chance to received cooked meat, instead of raw meat, while skinning an animal.

Name: Harvest Wild Yield
Config Value: 15
Description: Increases the yield when harvesting map generated collectibles, such as berries, hemp, stone, sulfur and mushrooms.

Name: Harvest Grown Yield
Config Value: 16
Description: Increases the yield when harvesting player grown produce.

Name: Extra Fish
Config Value: 17
Description: Gives the user a chance of receiving an extra fish while fishing.

Name: Double Bandage Heal
Config Value: 18
Description: Doubles the healing power of cloth bandages.

Name: Radiation Reduction
Config Value: 19
Description: Reduces the amount of radiation damage taken by the player.

Name: Extra Food
Config Value: 20
Description: Increases the amount of calories the player receives when consuming food.

Name: Fire Damage Reduction
Config Value: 21
Description: Reduces the amount of fire damage received.

Name: Fall Damage Reduction
Config Value: 22
Description: Reduces the amount of fall damage received.

Name: No Cold Damage
Config Value: 23
Description: Removes all cold damage from the player.

Name: Wounded Resist
Config Value: 24
Description: Gives the player a chance to get straight back on their feet after entering the wounded state.

Name: Animal Damage Resist
Config Value: 25
Description: Reduces the damage taken by animals.

Name: Riding Speed
Config Value: 26
Description: Increases the speed of a horse while riding it.

Name: Free Bullet Chance
Config Value: 27
Description: Gives the player a chance to not expend a bullet when firing a gun.

Name: Primitive Expert
Config Value: 28
Description: Removes durability loss for primitive weapons.

Name: Upgrade Refund
Config Value: 29
Description: Gives the player a chance to receive their resources back when upgrading a building block.

Name: Craft Speed
Config Value: 30
Description: Increases the crafting speed of a player.

Name: Research Refund
Config Value: 31
Description: Gives the player a chance to receive their scrap back when researching an item on the research bench.

Name: Craft Refund
Config Value: 32
Description: Gives the player a chance to receive their crafting materials back when crafting an item.

Name: Extra Scrap Barrel
Config Value: 33
Description: Gives the player a chance to receive additional scrap when destroying a barrel.

Name: Barrel Smasher
Config Value: 34
Description: Allows the player to instantly smash a barrel with any weapon.

Name: Extra Scrap Crate
Config Value: 35
Description: Gives the player a chance to obtain extra scrap when looting a crate for the first time.

Name: Component Chest
Config Value: 36
Description: Gives the player a chance to obtain additional components when looting a crate for the first time.

Name: Electronic Chest
Config Value: 37
Description: Gives the player a chance to obtain additional electronics when looting a crate for the first time.

Name: Component Barrel
Config Value: 38
Description: Gives the player a chance to obtain additional components when smashing a barrel.

Name: Electronic Barrel
Config Value: 39
Description: Gives the player a chance to obtain additional electronics when smashing a barrel.

Name: Melee Resist
Config Value: 40
Description: Reduces the damage taken by melee weapons.

Name: Iron Stomach
Config Value: 41
Description: Allows the player to eat spoiled and raw food without being poisoned.

Name: Boat Speed
Config Value: 42
Description: Allows the user to activate a turbo boost while on a boat, increasing the boats speed.

Name: Recycler Speed
Config Value: 43
Description: Increases the speed of recycling for the player.

 

pGE5klo.png

The xp table uses a common equation to calculate its levels and xp requirements. You can read more about the method here: https://blog.jakelee.co.uk/converting-levels-into-xp-vice-versa/

There is also a spreadsheet you can make a copy of and adjust the x value at the top of. Increasing the number minimizes the xp between levels. Find a good value, then put it in the "x" value under the "Leveling information" section in the config.

Rule of thumb:

- 0.07: default
- 0.04: grindy.

 

API

object STCanGainXP(BasePlayer player, BaseEntity source)

Returning a non-null value will cancel the xp gain. Source can return null so be sure to check that.

string[] ST_GetPlayerLevel(BasePlayer player)

// Example
  
[ChatCommand("testapi")]
void TestAPI(BasePlayer player)
{
	var data = (string[])SkillTree.Call("ST_GetPlayerLevel", player);
	Puts($"Level: {data.First()}. XP: {data.Last()}");
}

Returns the players level [0] and xp [1] values as a string[]

object STCanReceiveYield(BasePlayer player, BaseEntity entity)

Returning a non-null value will cancel the yield gain.

  • Like 2
  • Love 1

imthenewguy's Other Downloads


User Feedback

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

10,978 files sold to 948 customers and $171,714 of payments processed!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.