1. Here is my cfg .... ive got the ranks ect in there however its not working properly (probley my fault) the 5th rank should require 20 kills to get however 1 kill gives the 5th rank skipping the rest

    If that makes more sense than my previous post
     

    Attached Files:

  2. You need to set karma to false in the settings so that the plugin will use kills instead of karma to rank a player up.
     
  3. Is there a way to wipe a server and only restart the karma ranks and not the prefixes? I wiped my server but it wiped all my donator's prefixes
     
  4. No, the only way to wipe the plugin data is to use /rt clear which wipes all of the data, however you can do /rt clear playername this will clear only Karma, kills, kdr, and deaths for the given player.
    I may add a command that will do this on a server wide level rather than one at a time.
     
  5. Set rank dosnt work, im doing this command as admin /rt set {trp} r.e.al.m owner, and it says a confirm message then it dosnt actually change anything
     
  6. It will always send a confirm message its a small kink I am trying to work out.
    However its probably due to the space in your name splitting up arguments.
    theres one of two things you can do:
    1. instead of {trp} r.e.a.l.m use only r.e.a.l.m my plugin knows how to find players even with only partials. Example: /rt set r.e.al.m owner
    2. OR you can do "{trp} r.e.al.m" putting it in quotes should also work. Example: /rt set "{trp} r.e.al.m" owner
     
  7. When i added this plugin, now in game it double posts messages. So ill type then itll paste the same message with ranks-titles stuff on chat.
     
  8. getting this error spammed
    Oxide] 3:40 AM [Warning] CallHook 'OnPlayerInit' on plugin 'RanksAndTitles' took: 620ms
    58..../Steamid/name joined [osx/765.....]
    TimeWarning: Net.sv.Cycle took 1.37 seconds (1374ms)

    blanked out persons info for securty. spams this for many players
     
  9. You have another plugin that uses OnPlayerChat that does not have compatibility with RanksAndTitles.

    That's not an error. Its a warning, the server is taking a while to execute.
     
  10. Hi guys, and wp KillParadise for your job

    I'm trying to create a new rank but in the command wan you tell me what mean "rank" and "Karmagiven"
    /rt create rankname rank karmaneeded killsneeded karmagiven color permissions

    Thanks for all guys
     
  11. rank = the rank of this rank like any number you want (typically going in order of your already set ranks)
    karmagiven = the amount of karma this rank gives when the player with this rank is killed. Say you set it to 5, so when a player with this rank is killed, it will give or take 5 karma ALWAYS use a positive number
     
  12. ok so poses no threat/not causing lag?
     
  13. It shouldn't, it might cause small lag spikes but thats only because the server itself might also be lagging. I am re working a lot of the plugin currently to optimize how it runs. Not saying this will prevent this warning, but it might help.
     
  14. Im having alot of issues with making a custom rank im finding really confusing anychance you can make a template with a few ranks in it? just so i can get what i need to do?
     
  15. Just use the Json file. There's 3 ranks pre made in there under "main"
    Code:
    {
    "rank": 0,
          "title": "Civilian",
          "karma": 0,
          "killsNeeded": 0,
          "Color": "#FFFFFF",
          "karmaModifier": 1,
          "permission": "player"
        },
    
    just copy and paste that in after the last rank.
    Then when you're all done copy the entire file and paste it into this website here: http://jsonlint.com/ this will tell you if there's any problems.

    You can also use the command, but since Ranks are so complex the command imo is more difficult to use than just making new ranks in the config file itself.
     
  16. yea ik but when i do that it fails and mucks up
    [DOUBLEPOST=1431632746][/DOUBLEPOST]
    Code:
    {
      "rank": 1.5,
      "title": "Bandit",
      "karma": 8.0,
      "killsNeeded":0.0,
      "Color": "#424242",
      "karmaModifier": 1.0,
      "permission": "player"
      }
       {
      "rank": 1.6,
      "title": "Assasin",
      "karma": 13.0,
      "killsNeeded":0.0,
      "Color": "#424242",
      "karmaModifier": 1.0,
      "permission": "player"
      }
    [DOUBLEPOST=1431632757][/DOUBLEPOST]thas what i have been using at it does not work
     
  17. you have to put a comma between ranks. Paste it into that link I showed you and it will help too.
     
  18. Code:
    {
      "rank": 0.0,
      "title": "Civilian",
      "karma": 0.0,
      "killsNeeded": 0.0,
      "Color": "#FFFFFF",
      "karmaModifier": 1.0,
      "permission": "player"
      },
      {
      "rank": 0.5,
      "title": "Wooden Gual",
      "karma": -1.0,
      "killsNeeded": 0.0,
      "Color": "#B45F04",
      "karmaModifier": 1.0,
      "permission": "player"
      },
      {
      "rank": 0.6,
      "title": "Stone Gual",
      "karma": -3.0,
      "killsNeeded":00.0,
      "Color": "#BDBDBD",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 0.7,
      "title": "Metal Sheet Gaul",
      "karma": -7.0,
      "killsNeeded":00.0,
      "Color": "#B40404",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 0.9,
      "title": "Metal Gual",
      "karma": -15.0,
      "killsNeeded":00.0,
      "Color": "#2E2E2E",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1,
      "title": "Steel Titan",
      "karma": -20.0,
      "killsNeeded":00.0,
      "Color": "#2E2E2E",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1.1,
      "title": "Titan",
      "karma": -25.0,
      "killsNeeded":00.0,
      "Color": "#FE2E64",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1.2,
      "title": "Paragon",
      "karma": -30.0,
      "killsNeeded":0.0,
      "Color": "#D8D8D8",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1.3,
      "title": "Thug",
      "karma": 3.0,
      "killsNeeded":3.0,
      "Color": "#BDBDBD",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1.4,
      "title": "Outlaw",
      "karma": 5.0,
      "killsNeeded":5.0,
      "Color": "#848484",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1.5,
      "title": "Bandit",
      "karma": 8.0,
      "killsNeeded":8.0,
      "Color": "#424242",
      "karmaModifier": 1.0,
      "permission": "player"
      },
       {
      "rank": 1.6,
      "title": "Assasin",
      "karma": 13.0,
      "killsNeeded":13.0,
      "Color": "#424242",
      "karmaModifier": 1.0,
      "permission": "player"
      },
    [DOUBLEPOST=1431633381][/DOUBLEPOST]still dosnt work
     
  19. Code:
    {
                "rank": 0,
                "title": "Civilian",
                "karma": 0,
                "killsNeeded": 0,
                "Color": "#FFFFFF",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 0.5,
                "title": "Wooden Gual",
                "karma": -1,
                "killsNeeded": 0,
                "Color": "#B45F04",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 0.6,
                "title": "Stone Gual",
                "karma": -3,
                "killsNeeded": 0,
                "Color": "#BDBDBD",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 0.7,
                "title": "Metal Sheet Gaul",
                "karma": -7,
                "killsNeeded": 0,
                "Color": "#B40404",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 0.9,
                "title": "Metal Gual",
                "karma": -15,
                "killsNeeded": 0,
                "Color": "#2E2E2E",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1,
                "title": "Steel Titan",
                "karma": -20,
                "killsNeeded": 0,
                "Color": "#2E2E2E",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1.1,
                "title": "Titan",
                "karma": -25,
                "killsNeeded": 0,
                "Color": "#FE2E64",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1.2,
                "title": "Paragon",
                "karma": -30,
                "killsNeeded": 0,
                "Color": "#D8D8D8",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1.3,
                "title": "Thug",
                "karma": 3,
                "killsNeeded": 3,
                "Color": "#BDBDBD",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1.4,
                "title": "Outlaw",
                "karma": 5,
                "killsNeeded": 5,
                "Color": "#848484",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1.5,
                "title": "Bandit",
                "karma": 8,
                "killsNeeded": 8,
                "Color": "#424242",
                "karmaModifier": 1,
                "permission": "player"
            },
            {
                "rank": 1.6,
                "title": "Assasin",
                "karma": 13,
                "killsNeeded": 13,
                "Color": "#424242",
                "karmaModifier": 1,
                "permission": "player"
            }
    Fixed. You had several cases of using 00.0 instead of just 0.0 and a comma at the end caused it to expect more when there wasn't more.
     
  20. Hey I just want to say thank you for this plug-in. I love and so do the players on my server. I know you are thinking of quitting this project but I wanted to say thanks and that you have always been quick to reply to any questions or problems to users that have posted here. Thanks mate.