For granting the Permission Multipliers you must prefix the given permission with xpmanager.
For example:
"mulitplier.vip": 1.5,
You will need to use oxide.grant user LaserHydra xpmanager.multiplier.vip
XP Manager [Obsolete]
Discussion in 'Plugin Support' started by LaserHydra, Jul 16, 2016.
-
/xp addlvl God 1
I got a 2 level instead of 1, why? -
-
LaserHydra updated XP Manager with a new update entry:
1.1.0
Last edited by a moderator: Jul 18, 2016 -
delete
-
Possible to have "/xp reset" reset the player to the minimum level?
Also, possible to add a set XP and add XP? (set might be hard with how dependant level might be on XP)
Lastly, can we please have the chat commands added as console commands? I'd love to be able to manipulate XP via RCON and through the multiple shops available.
Love your work by the way. There aren't many of your mods my server doesn't have. Hit me up if you'd like some extra testing. -
So to change how much xp I get for example "Gather": 1.0, to like "Gather": 10.0, and it would give me x10 the amount of xp?
-
I don't understand at all what permission level range does Also I have stuff set to 25x so if I give the vip+ permission to someone and it's set at 2 does that mean they will have 50x?
-
-
can i use existing vip permissions already created by Kits for example?
[DOUBLEPOST=1468830944][/DOUBLEPOST]and what is:
"Permission Level Range": {
"levelrange.vip": "5-100",
"levelrange.vip+": "10-100"
in config file. nothing said about it on main plugin page..
full, fresh config:
Code:{ "Can Admins Gain XP": true, "Can Sleepers Gain XP": true, "Earning Multipliers": { "AnimalKilled": 1.0, "BreakdownItem": 1.0, "CollectWorldItem": 1.0, "Gather": 1.0, "GatherComplete": 1.0, "HelicopterDamage": 1.0, "ItemCrafted": 1.0, "LootFound": 1.0, "LootSmashed": 1.0, "OtherConsumeItem": 1.0, "OtherGather": 1.0, "OtherItemCrafted": 1.0, "TrapSuccess": 1.0, "UsedForCrafting": 1.0 }, "Instant Max Level": false, "Level Loss On Death (Percentage of current level)": 0.0, "Maximal Level": 100, "Minimal Level": 1, "Permission Level Range": { "levelrange.vip": "5-100", "levelrange.vip+": "10-100" }, "Permission Multipliers": { "multiplier.vip": 1.5, "multiplier.vip+": 2.0 } }
-
Its the same command without /
[DOUBLEPOST=1468838689][/DOUBLEPOST]
The calculation will be: xp = xp * 3 * 2
The level range is just minimal and maximal level depending on permissions. Its min-max so "5-100" means 5 is minimal level and 100 is maximal level. Their level is currently updated to those when they reconnect or the plugin is reloaded.
[DOUBLEPOST=1468838807][/DOUBLEPOST] -
-
-
that is if XP setted in 4x XP and multiplier.vip is 1.5, the player vip will get 6x XP, right?
-
-
-
Dear friend , it's so ugly to steal my plugin's code (XP Control)
-
I'm gonna have a look through your code (my C# is rustier than the game's own name) and see if I can't implement it myself. From there, I'll send you what I come up with, you let me know if it's "clean". Then it'd be interesting (and way beyond my scope) to try and get some plugin hooks that let other devs easily manipulate XP via your mod
[DOUBLEPOST=1468850876][/DOUBLEPOST] -
-