-
Posts
4,615 -
Joined
-
Last visited
-
Days Won
57
Content Type
Profiles
Warranty Claims
Downloads
Forums
Store
Services
Downloads Plus Support
DOWNLOADS EXTRA
Everything posted by imthenewguy
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
This should explain how the logic works. Although I realize a mistake I made is that the modifier is set to 1.0 by default, so I need to adjust it so it takes into consideration lower modifiers than 1. So your 0.001 modifier won't work at the moment. Will patch this next release. double GetXPModifier(string id, PlayerInfo pi, out bool modified) { modified = false; double result = 1; // Checks each permission that you have created in the config for xp override. foreach (var perm in config.xp_settings.xp_perm_modifier) { // If the permissions value is greater than the value stored in result, result is set to the new value. if (permission.UserHasPermission(id, "skilltree." + perm.Key) && perm.Value > result) result = perm.Value; } if (config.rested_xp_settings.rested_xp_enabled && pi.xp_bonus_pool > 0) { // If rested XP is enabled, then we add the rested xp value on top of our result. result += config.rested_xp_settings.rested_xp_rate; modified = true; } if (TOD_Sky.Instance.IsNight && config.xp_settings.night_settings.night_xp_gain_modifier != 1) { // If night time xp gains are enabled, we add (or remove) that value onto our result as well. result += config.xp_settings.night_settings.night_xp_gain_modifier - 1; modified = true; } return result; }
- 1,526 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
Unfortunately not as the plugin stands. I may look at an option for it down the line, but in the mean time you could easily replace the buffs with PVE related ones. "Thick Skin": { "enabled": true, "max_level": 5, "tier": 3, "value_per_buff": 0.10, "buff_info": { "Key": 25, "Value": 1 }, "icon_url": "https://imgur.com/wG7cG8X.png", "permissions": null }, "Assassin": { "enabled": true, "max_level": 5, "tier": 3, "value_per_buff": 0.05, "buff_info": { "Key": 59, "Value": 1 }, "icon_url": "https://imgur.com/xMp1fhd.png", "permissions": null }, "Guarded": { "enabled": true, "max_level": 5, "tier": 3, "value_per_buff": 0.05, "buff_info": { "Key": 61, "Value": 1 }, "icon_url": "https://imgur.com/cVhnv41.png", "permissions": null },
- 1,526 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
Here is an example of how it works: "permissions": { "description": "Cooking food with the Cooking plugin will be instant and you may get admin.", "perms": { "1": { "perms_list": { "cooking.instant": "Instant Cook", "cooking.use": "Cooking access" } }, "2": { "perms_list": { "cooking.instant": "Instant Cook", "cooking.use": "Cooking access", "cooking.admin": "Cooking admin" } } } } You can add permissions to node unlocks, so that when the player unlocks the node, they will get access to a permission. If you have multiple levels that you would like to grant perms, make sure you add the perms to both levels that you would like the player to keep, as it unassigns perms from previous levels.
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
Hey mate a customer of mine mentioned a conflict between your plugin and EpicLoot. Apparently when switching inventories, the items from EpicLoot are being returned as vanilla items, and they lose their name. If you are destroying the items and serializing them, it should be a simple matter of storing the item.name, and then restoring it when creating the items again. If you need any help feel free to download EventHelper for some inspiration or send me a pm
- 146 comments
-
- 1
-
-
- #admin
- #admintool
-
(and 31 more)
Tagged with:
- #admin
- #admintool
- #admin tool
- #admin tools
- #interface
- #gui
- #discord
- #discord integration
- #auth
- #authentication
- #permission
- #permissions
- #log
- #xray
- #adminplugins
- #administrator
- #administrative
- #administrative tools
- #administration
- #administration tool
- #admintoggle
- #admint
- #adminto
- #admintog
- #admintogg
- #admintoggl
- #player
- #player toggle
- #player auth
- #auth toggle
- #admin switch
- #auth switch
- #player switch
-
- 279 comments
-
- 1
-
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
- 1,526 comments
-
- 3
-
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- #leveling
- #progression
- (and 19 more)
-
- 146 comments
-
- 1
-
-
- #admin
- #admintool
-
(and 31 more)
Tagged with:
- #admin
- #admintool
- #admin tool
- #admin tools
- #interface
- #gui
- #discord
- #discord integration
- #auth
- #authentication
- #permission
- #permissions
- #log
- #xray
- #adminplugins
- #administrator
- #administrative
- #administrative tools
- #administration
- #administration tool
- #admintoggle
- #admint
- #adminto
- #admintog
- #admintogg
- #admintoggl
- #player
- #player toggle
- #player auth
- #auth toggle
- #admin switch
- #auth switch
- #player switch
-
- 1,526 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 279 comments
-
- 1
-
-
- #enhanced
- #custom loot
-
(and 7 more)
Tagged with:
-
You mean like this? "Test_tree": { "nodes": { "Test node": { "enabled": true, "max_level": 5, "tier": 1, "value_per_buff": 0.05, "buff_info": { "Key": 69, "Value": 1 }, "icon_url": "https://imgur.com/O0ls6gI.png", "permissions": { "description": "This is a test node. You can add your description here. Level 1 gives instant cooking. Level 2 gives free cooking.", "perms": { "1": { "perms_list": { "cooking.instant": "Instant Cooking" } } } } } } }
- 1,526 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 1,526 comments
-
- 1
-
-
- #leveling
- #progression
- (and 19 more)
-
- 41 comments
-
- #enchanting
- #epic
- (and 4 more)
