PlayerRankings

Moved

Total Downloads: 8,316 - First Release: Nov 19, 2015 - Last Update: Jan 17, 2018

5/5, 13 likes
  1. Damn that's an old verison. How long would it take to change the plugin to work for the new version? I wouldn't mind sending you some money on PayPal, our server loves this mod.

    @Ankawi
     
  2. I believe it works for all the newer versions except the one that changed it completely. You can test it and get back to me if you'd like. Btw, what server is your server called?
     
  3. Server is named: High Society

    I will test some of the newer versions later today when I have some more free time.
     
  4. Does this still not work with the most recent version of BetterChat? Or can we now use the most recent?
     
  5. 3.5.6 I think is the latest working version of BetterChat with this. I may be wrong, if that version doesn't work, it's the one before that. I can't test since I upgraded to v4, but if my memory serves me right v3.5.6 will work.
     
  6. Somehow im still getting Errors, what am i doing wrong?

    Code:
    [Warning] Missing plugin name prefix 'playerrankings.' for permission 'betterchat.boss' (by plugin 'PlayerRankings')
    [Warning] Missing plugin name prefix 'playerrankings.' for permission 'betterchat.capo' (by plugin 'PlayerRankings')
    [Warning] Missing plugin name prefix 'playerrankings.' for permission 'betterchat.soldier' (by plugin 'PlayerRankings')
    PlayerRanking.json
    Code:
    {
    "Boss": {
    "Permission": "betterchat.boss",
    "Playtime": "100.0"
    },
    "Caporegime": {
    "Permission": "betterchat.capo",
    "Playtime": "25.0"
    },
    "Settings": {
    "Ignore Admins": false
    },
    "Soldier": {
    "Permission": "betterchat.soldier",
    "Playtime": "0.5"
    }
    }
    BetterChat.json
    Code:
    {
    "Anti Flood": {
    "Enabled": true,
    "Seconds": 1.5
    },
    "Boss": {
    "Permission": "boss",
    "Rank": 2
    },
    "Caporegime": {
    "Permission": "capo",
    "Rank": 2
    },
    "General": {
    "Enable Player Tagging": false,
    "Minimal Characters": 2,
    "Reverse Title Order": false
    },
    "Soldier": {
    "Permission": "soldier",
    "Rank": 2
    },
    "Word Filter": {
    "Custom Replacement": "Unicorn",
    "Enabled": false,
    "Phrases": [
        "bitch",
        "faggot",
        "fuck"
    ],
    "Replacement": "*",
    "Use Custom Replacement": false
    }
    }
     
  7. its only a missing prefix in the script that needs added delete your config upload this fix reload the plugin so it makes a new config then edit it the way you want
     

    Attached Files:

  8. Its working now, thanks for the help!
     
  9. Are you using the newest version of betterchat?
     
  10. Yes, i am.
     
  11. What did you do to add the permission in the configs for Betterchat?
     
  12. can someone help me this is my config (i copyed from the faq)

    },
    "Noob": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "#5af",
    "Permission": "noob",
    "Rank": 2,
    "TextColor": "white",
    "Title": "[Noob]",
    "TitleColor": "lime"
    },
    "Casual": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "#5af",
    "Permission": "casual",
    "Rank": 2,
    "TextColor": "white",
    "Title": "[Casual]",
    "TitleColor": "cyan"
    },
    "Regular": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "#5af",
    "Permission": "regular",
    "Rank": 2,
    "TextColor": "white",
    "Title": "[Regular]",
    "TitleColor": "grey"
    },
    "Veteran": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "#5af",
    "Permission": "veteran",
    "Rank": 2,
    "TextColor": "white",
    "Title": "[Veteran]",
    "TitleColor": "teal"
    },
    "Pro": {
    "ConsoleFormatting": "{Title} {Name}: {Message}",
    "Formatting": "{Title} {Name}<color={TextColor}>:</color> {Message}",
    "NameColor": "#5af",
    "Permission": "pro",
    "Rank": 2,
    "TextColor": "white",
    "Title": "[Pro]",
    "TitleColor": "red"


    and this comes up on my rusty
    reload BetterChat
    [Oxide] 21:31 [Info] Unloaded plugin Better Chat v3.5.6 by LaserHydra
    [Oxide] 21:31 [Info] Loaded plugin Better Chat v3.5.6 by LaserHydra
    [Oxide] 21:31 [Error] BetterChat v3.5.6: Failed to load config file (is the config file corrupt?) (Unexpected character encountered while parsing value: }. Path '', line 2, position 3.)
    [Oxide] 21:31 [Warning] Duplicate permission registered 'betterchat.player' (by plugin 'Better Chat')
     
  13. FAQ shows an example of how it should be done, copy/pasting it won't do you much good. Better to edit it carefully to make sure you don't miss anything and that you're using an older version of BetterChat.
     
  14. im using the recomenned better chat version and i also know jack about code so i just guess and my guess's usually dont work out :p i copyed the ranking config and edited the hours played all im trying to do is add vip name tags and a vip kit when i get the tags working
     
  15. No need to copy/paste it, simply edit it the way you want. Check the overview for more information.
     
  16. Can this now be used with the latest version of BetterChat? I don't mind manually editing the code to make it work, as long as it will work.
     
  17. You'd have to rebuild the plugin so that it sends chat commands that adds players into the group since permissions is no longer an option.
     
  18. OBO

    OBO

    How would I add multiple permissions, example for a kit?
     
  19. Can I add title with BetterChat or the new version is not functionnal ?

    And title by PlayerRankins was in alphabetics when i reload the plugin can i change this beacause it's not in the Playtime

    Code:
    {
    "Adorateur": {
    "Permission": "betterchat.Adorateur",
    "Playtime": "50.0"
    },
    "Débutant": {
    "Permission": "betterchat.débutant",
    "Playtime": "10.0"
    },
    "Fan": {
    "Permission": "betterchat.Fan",
    "Playtime": "60.0"
    },
    "Geek": {
    "Permission": "betterchat.Geek",
    "Playtime": "70.0"
    },
    "Habitué": {
    "Permission": "betterchat.Habitué",
    "Playtime": "40.0"
    },
    "Inraidable": {
    "Permission": "betterchat.Inraidable",
    "Playtime": "100.0"
    },
    "Joueur": {
    "Permission": "betterchat.Joueur",
    "Playtime": "30.0"
    },
    "Mercenaire": {
    "Permission": "betterchat.Mercenaire",
    "Playtime": "90.0"
    },
    "Nouveau": {
    "Permission": "betterchat.Nouveau",
    "Playtime": "0.0"
    },
    "Novice": {
    "Permission": "betterchat.Novice",
    "Playtime": "20.0"
    },
    "Settings": {
    "Ignore Admins": true
    },
    "Stratège": {
    "Permission": "betterchat.Stratège",
    "Playtime": "80.0"
    }
    }