Level System

A simple plugin to add XP and levels in the game

Total Downloads: 1,276 - First Release: Apr 9, 2016 - Last Update: Apr 1, 2018

5/5, 11 likes
  1. ah ok we fount the problem we chage the
    "useDamageBonus": false,
    "useDefenseBonus": false,

    we put it back and now all works... sorry for mi bed english ...
     
  2. D-Kay updated Level System with a new update entry:

    1.0.0

     
  3. NICE NICE NICE.... its the problem solved how we can change lvl to Place Iron doors and Gates?? ist still lvl 20
     
  4. I tested the new version on 2 different servers and both worked just fine. Check your settings in the configuration file.
     
  5. i just find undelvlsystemjson this

    "Placement": {
    "Clay": 1,
    "Cobblestone": 5,
    "Log": 1,
    "Reinforced Wood (Iron)": 7,
    "Sod": 1,
    "Spruche": 1,
    "Stone": 20,
    "Thatch": 1,
    "Wood": 1
    },


    but where is placement lvl from iron doors iron bar window iron gates?
     
  6. It's not under "Placement", it's under "Placement - Other".
    Code:
      "Placement": {
    "Clay": 1,
    "Cobblestone": 3,
    "Log": 1,
    "Reinforced Wood (Iron)": 3,
    "Sod": 1,
    "Spruche": 1,
    "Stone": 3,
    "Thatch": 1,
    "Wood": 1
    },
    "Placement - Other": {
    "Drawbridge": 3,
    "IronDoor": 3,
    "IronGate": 3,
    "IronWindow": 3,
    "LongDrawbridge": 3,
    "ReinforcedIronDoor": 1,
    "ReinforcedIronGate": 1,
    "ReinforcedIronTrapDoor": 1,
    "ReinforcedSteelDoor": 1,
    "StoneArch": 1,
    "StoneWindow": 3,
    "WoodDoor": 1,
    "WoodGate": 1,
    "WoodWindow": 1
    },
     
  7. uhhhh awsome thx
    [DOUBLEPOST=1503336570][/DOUBLEPOST]YEAH ITS WORKING FINE THANK YOU SO MUCH, but somtie lost mi people on the server all his XP and are lvl 1 again..its this comming from update or from modifi files ?
     
  8. Please look at the update notes from version 1.0.0 and you'll see what happened.
     
  9. Please fix cube dupes (in placement section) when players use /removemyxp
     
  10. Can you fix damage to trebuchet/ballista when player have a lower level than pvplevel?
     
    Last edited by a moderator: Oct 23, 2017
  11. [ReignOfKings] Added object OnPlayerInteract(InteractEvent evt) hook
    [ReignOfKings] Added object OnItemCraft(ItemCrafterStartEvent evt) hook

    We wait a XP for crafting. :)
     
  12. Not gonna happen with this hook I'm afraid.

    I can implement it with xp though it can easily be exploited by crafting something and canceling it over and over again.
    Adding a cooldown is a possible solution but what if they craft one thing after another? They would only get xp for some of what they crafted instead of getting it for everything
     
  13. Can you add it with cooldown and give small amount of xp (1-2 for 1 cooldown) to the players? I think it will be better than nothing.
    Only killing is little stupid..
     
  14. I will add it soon. I also have a good idea on how to actually get the player who started the craft regardless of it being in the player's own inventory or a crafting station.
    I will also ask Wulf to add the OnItemCrafted hook (same place but a different method as the OnItemCraft hook) so there can never be a mistake regarding whether the craft was finished or not.
     
  15. I have a working version with xp for crafting which does not contain a cooldown as it is no longer required and has a min and max xp value for crafting. Now it's waiting for @Wulf to add the hook I requested.
     
  16. Ok, i'll wait.
    And you can add fix lowlevel players damage (who under newbie protection) to ballista/trebuchet and add possibility to attack lowlevel players in own crest zones, because clans use 1 level to steal resources or damage to siege weapons under raids (i did this on my server, but i think it would be better if you add this into plugin for all). You can use OnPlayerInteract hook to prevent looting stacks/ballistas/trebuchets if newbie.
    [DOUBLEPOST=1512753062][/DOUBLEPOST]And your plugin have a critical dupe bug related with level of place blocks and possibility to reset XP.
    I set all places to level 1 on my server to prevent these manipulations, but maybe you know how to fix this.
     
  17. I already had something for the crest area (a boolean that, if true, would stop all protection inside a crest area).
    I was also thinking about stopping players from accessing other people's containers but haven't started working on that. Depending on how long it takes for Wulf to add the hook I might implement it in the next update.
    I will take a look at the problem with the damage from newborns to siege weapons.
    In the next update also expect a much cleaner way to reset ones level. You will no longer be killed. Instead, your inventory will be dropped (as if you would die) and your inventory slot amount would be set to the correct value.
    [DOUBLEPOST=1512753507][/DOUBLEPOST]Duping with resetting ones level has always been a problem. Can you tell me when exactly this happens (blocks inside a crest area, outside a crest area, etc)?
     
  18. Player on my server show me this at his own crest area, he just reseted character to level 1 and collect one block back to inventory infinitely many times.
     
  19. How about making the removal of those blocks possible, so you can remove any type of block but the level requirement for placing is still active?
    It's a temporary fix but I do not have a solution for that as of now as removing a block does not say what block was removed, so can't just take it from his inventory.
     
  20. You can get the hook in the latest release build of oxide.

    I might split the crafting ownership into a separate plugin as I can imagine other plugins using it and by only having one plugin doing all the work it will reduce the amount of stress on a server.