im getting this error
[Oxide] 9:34 PM [Error] Failed to initialize plugin RanksAndTitles (Exception: Unexpected token)
Ranks And Titles [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Mar 3, 2015.
-
-
Code:{ "AdminHelp": [ "<color=orange>/rt wipe playername</color> - Wipes the sleceted players Kills, Deaths, KDR, and Karma", "<color=orange>/rt set playername title</color> - Sets a custom title to the selected player, this must be a title in config (NOT RANK)", "<color=orange>/rt remove playername</color> - removes a given players custom title, and sets them back into the ransk tree", "<color=orange>/rt useboth</color> - switch prefixes on and off", "<color=orange>/rt noadmin</color> - Removes admins (auth 2 or higher) from ranks system no kills, or ranks will be given.", "<color=orange>/rt kset playername karma</color> - set a selected players karma level", "<color=orange>/rt kcheck playername</color> - check the selected players karma", "<color=orange>/rt kadd playername karma</color> - adds the entered amount of karma to the selected player", "<color=orange>/rt krem playername karma</color> - removes the entered amount of karma from the selected player", "<color=orange>/rt create rankname rank karmaneeded killsneeded karmagiven color permissions</color> - create a new rank", "<color=orange>/rt create prefixname color permission</color> - create a new prefix", "<color=orange>/rt delete rankname</color> - delete a rank" ], "authLevel": 2.0, "Help": [ "/rt - display your rank or title", "/rt stats - get your current stats if in ranks mode", "/rt refresh - refreshes your data file, recommended only used after system switch" ], "main": [ { "rank": 0.0, "title": "Peasant", "karma": 0.0, "killsNeeded": 0.0, "Color": "#FFFFFF", "karmaModifier": 1.0, "permission": "player" }, { "rank": 0.5, "title": "Slave", "karma": -1.0, "killsNeeded": 1.0, "Color": "#ff0000ff", "karmaModifier": 1.0, "permission": "player" }, { "rank": 1.0, "title": "Mugger", "karma": -5.0, "killsNeeded": 3.0, "Color": "#ff0000ff", "karmaModifier": 2.0, "permission": "player" }, { "rank": 2.0, "title": "Mercinary", "karma": -10.0, "killsNeeded": 8.0, "Color": "#ff0000ff", "karmaModifier": 4.0, "permission": "player" }, { "rank": 3.0, "title": "Slaver", "karma": -20.0, "killsNeeded": 14.0, "Color": "#ff0000ff", "karmaModifier": 8.0, "permission": "player" }, { "rank": 4.0, "title": "Bandit", "karma": -50.0, "killsNeeded": 21.0, "Color": "#ff0000ff", "karmaModifier": 16.0, "permission": "player" }, { "rank": 5.0, "title": "Bandit Leader", "karma": -100.0, "killsNeeded": 30.0, "Color": "#ff0000ff", "karmaModifier": 32.0, "permission": "player" }, { "rank": 0.5, "title": "Militant", "karma": 1.0, "killsNeeded": 1.0, "Color": "#ff0000ff", "karmaModifier": 1.0, "permission": "player" }, { "rank": 1.0, "title": "Hedge Knight", "karma": 5.0, "killsNeeded": 3.0, "Color": "#ff0000ff", "karmaModifier": 2.0, "permission": "player" }, { "rank": 2.0, "title": "Knight", "karma": 10.0, "killsNeeded": 8.0, "Color": "#ff0000ff", "karmaModifier": 4.0, "permission": "player" }, { "rank": 3.0, "title": "Commander", "karma": 20.0, "killsNeeded": 14.0, "Color": "#ff0000ff", "karmaModifier": 8.0, "permission": "player" }, { "rank": 4.0, "title": "General", "karma": 50.0, "killsNeeded": 21.0, "Color": "#ff0000ff", "karmaModifier": 16.0, "permission": "player" }, { "rank": 5.0, "title": "Kings Guard", "karma": 100.0, "killsNeeded": 30.0, "Color": "#ff0000ff", "karmaModifier": 32.0, "permission": "player" } ], "Messages": { "Promoted": "You've been Promoted to: ", "NoPlyrs": "No Players Found...", "plyrWiped": "Player Wiped!", "dataRfrsh": "Data Refreshed!", "noPerms": "You do not have permission to use this command.", "setSuccs": "Player Prefix Set Successfully!", "needTitle": "You need to enter a title for the player!", "stats": [ "<color=orange>Your Kill count is:</color> {kills}", "<color=orange>Your Death count is:</color> {deaths}", "<color=orange>Your KDR is currently:</color> {kdr}", "<color=orange>Your current Rank is:</color> {rank}", "<color=orange>Your current Karma is:</color> {karma}" ], "userprefix": "Your Prefix is: ", "badSyntaxRt": "The command syntax was incorrect, please use /rt set playername title", "errors": "Incorrect command structure, please try again.", "loseKarma": "<color=red>You've lost Karma!</color>", "gainKarma": "<color=green>You've gained Karma!</color>", "reset": "Player prefix reset!", "adminsOn": "Admins ranks turned on.", "adminsOff": "Admins rankings turned off.", "badSyntaxRemove": "Incorrect Syntax please use /rt remove playername", "help": "/rt help - Get RanksAndTitles Command Help", "badSyntaxKarma": "Invalid syntax please use /rt karma", "clearData": "Server Data Wiped...", "noData": "No Player Data Found... Attempting to Build.", "Demoted": "You've been demoted to: <color=lime>{rank}</color>", "setKarma": "Karma successfully set!", "setKarma0": "You can only use numbers to set a players karma.", "plyrKarma": " Karma level is: ", "checkFailed": "Check failed..", "addKarma": "Karma added to player successfully", "removeKarma": "Karma removed from player successfully", "rankCreated": "<color=green>New Rank {rank} Created!</color>", "rankDel": "<color=green>{rank} has been deleted!</color>", "crtPrefix": "<color=green>{prefix} has been created!</color>", "offline": "<color=red>Karma given by sleepers is currently off</color>", "bdSyntax": "Incorrect Syntax please use {syntax}", "noPrefix": "You need to enter a prefix!", "slain": "<color=lime>{slayer}</color> the <color={slayerColor}>{title}</color> has slain <color=lime>{slain}</color> the <color={slainColor}>{stitle}</color>!", "suicide": "{slain} Managed to kill themselves... Nice one.", "broadcastpromo": "<color=lime>{player} has promoted to:</color> {rank}", "broadcastdemote": "<color=lime>{player} has demoted to:</color> {rank}" }, "Permissions": { "wipe": "canWipe", "set": "canSet", "remove": "canRemove", "noadmin": "canHide", "switch": "canSwitch", "kset": "canSetKarma", "kcheck": "canCheckKarma", "krem": "canRemKarma", "kadd": "canAddKarma", "clear": "canClear", "hide": "canHideSelf", "create": "canCreate", "delete": "canDelete", "staff": "isStaff" }, "Prefix": "RanksAndTitles", "prefixTitles": [ { "title": "Sir", "Color": "#FFFFFF", "permission": "player", "default": true }, { "title": "Donor", "Color": "#ffa500ff", "permission": "donor", "default": false }, { "title": "Admin", "Color": "#ffa500ff", "permission": "donor", "default": false }, { "title": "Owner", "Color": "#505886", "permission": "owner", "default": false } ], "Settings": { "karma": true, "colorSupport": true, "noAdmin": false, "useBoth": true, "dropRank": false, "antiSleeper": false, "clanKillLimit": 10.0, "useKDR": false, "deathMsgs": false, "broadcastPromotions": true, "chatNameColor": "#1bd228", "staffchatNameColor": "#1bd228", "chatColor": "#FFFFFF" }, "Version": "1.6.4" }
-
Odd, your config seems to load up just fine on my server.
Can you send me the full error report? -
Code:[6/20/2015 9:18:09 PM] [Oxide] 9:18 PM [Error] RanksAndTitles: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'main[1].title', line 35, position 7.) [6/20/2015 9:31:14 PM] [Oxide] 9:31 PM [Error] RanksAndTitles: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'main[1].title', line 35, position 7.) [6/20/2015 9:31:14 PM] [Oxide] 9:31 PM [Error] Failed to initialize plugin RanksAndTitles (Exception: Unexpected token) [6/20/2015 9:34:24 PM] [Oxide] 9:34 PM [Error] Failed to initialize plugin RanksAndTitles (Exception: Unexpected token) [6/20/2015 9:40:36 PM] [Oxide] 9:40 PM [Error] Failed to initialize plugin RanksAndTitles (Exception: Unexpected token)
-
-
[DOUBLEPOST=1434862848][/DOUBLEPOST]
Could it be because i am the "owner" and its set to "player"
Update: I gave myself 1 karma, and it triggered, I think it might have just been hung up because of the Auth 2, but Ill see if it does it for the other admin when they log onLast edited by a moderator: Jun 21, 2015 -
-
-
You know this plugin spams the console with tons of errors right?
-
how do i get rid of [Player] From the chat i've deleted
Code:{ "title": "Player", "Color": "#FFFFFF", "permission": "player", "default": true },
-
Try since 2 hours to make it work ...
Then delete all old config (Plugins,Data,Config folders)
Take a new one and just try to rename title ...
In plugins config i just change this
reload plugins, use /rt refresh and try to write to see title ...
Code:{ "rank": 0.5, "title": "Small Time", "karma": -1.0, "killsNeeded": 1.0, "Color": "#ff0000ff", "karmaModifier": 1.0, "permission": "player" },
And with this i got
... any idea ?
EDIT:
OK i need to resart server to make that work ^^ xD
EDIT 2:
They are not anymore punishments system?
EDIT 3:
Seem to be bit bugy with death note :/ and sleeper player ....Last edited by a moderator: Jun 22, 2015 -
[DOUBLEPOST=1434978145][/DOUBLEPOST]
-
Hum any way to use same system like death note ? Can make different custom message when player die or kill
Anyway i get a error
Code:"Settings": { ... ... ... "antiSleeper": false, ... ... ...
In console:
Code:[6/21/2015 8:55:19 PM] [SV_RPCMessage] playerattack - Exception has been thrown by the target of an invocation.
See somebody have same error, don't find a fixe :s
http://oxidemod.org/threads/sv_rpcm...n-thrown-by-the-target-of-an-invocation.7687/ -
EDIT: you can also disable deathnotes from Ranks by turning them off via the config file, this will give full control to the deathnotes plugin.Last edited by a moderator: Jun 22, 2015 -
:/ Already try
Code:"deathMsgs": false,
This error with sleeper same to by prior then all other think :/ -
I wish these would appear on my own server so I could see them lol. -
Same to make sleeper god mode because i already have more than 20 message for 1 sleeper (Probably player try to kill him again and again)
And each Hit make a message in chat ... -
-
That the only point block me to use this :/