yes there is a settings line.
i just add custom titles in it. thats all
Ranks And Titles [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Mar 3, 2015.
-
-
Hello, I am having an issue where Ranks and Titles won't even load on the server. I am running oxide experimental 2.0, and all other plugins work except this one. I get the following error if I try to load the plugin with oxide.load RanksAndTitles:
Code:[Oxide] 11:08 PM [Info] Loaded plugin RanksAndTitles v1.5.3 by Killparadise [Oxide] 11:08 PM [Info] WARNING: Config not at version 1.6, Running 1.6 update... [Oxide] 11:08 PM [Error] Failed to initialize plugin RanksAndTitles File: RanksAndTitles.js Line: 9 Column: 4 TypeError prefixTitles is undefined: at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in :0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.CallFunction (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in :0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in :0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in :0
Last edited by a moderator: May 1, 2015 -
-
hm i have a little problem.. i dont know how to fix that
as admin my name is always twice
http://www.electrue.at/1.png
i make a screenshot of this.. maybe im to stupid to find this in the config ^^ -
-
hm this is notifier .. kk but thx 4 info
-
-
okay thank you .. i try it
-
The file I am currently using for the addon is attached to this post, and the json file is as follows:
Code:{ "authLevel": 2.0, "Settings": { "showPlayer": true, "hideAllAdmins": false, "karma": true, "colorSupport": true }, "Titles": [ { "authLvl": 0.0, "title": "Player", "Exclude": false, "Color": "#FFFFFF" }, { "authLvl": 0.0, "title": "Donor", "Exclude": true, "Color": "#ffa500ff" }, { "authLvl": 1.0, "title": "Mod", "Exclude": true, "Color": "#add8e6ff" }, { "authLvl": 2.0, "title": "Admin", "Exclude": true, "Color": "#800000ff" }, { "authLvl": 2.0, "title": "Owner", "Exclude": true, "Color": "#800080ff" } ], "Ranks": [ { "rank": 0.0, "title": "New Guy", "karma": 0.0, "killsNeeded": 0.0, "Color": "#FFFFFF", "karmaModifier": 1.0 }, { "rank": 1.0, "title": "Murderer", "karma": -10.0, "killsNeeded": 10.0, "Color": "#ff0000ff", "karmaModifier": 5.0 }, { "rank": 1.0, "title": "Recruit", "karma": 10.0, "killsNeeded": "disabled", "Color": "#0000a0ff", "karmaModifier": 5.0 }, { "rank": 2.0, "title": "Serial Killer", "karma": -20.0, "killsNeeded": 20.0, "Color": "#ff0000ff", "karmaModifier": 15.0 }, { "rank": 2.0, "title": "Soldier", "karma": 20.0, "killsNeeded": "disabled", "Color": "#0000a0ff", "karmaModifier": 15.0 }, { "rank": 3.0, "title": "Bandit", "karma": -25.0, "killsNeeded": 25.0, "Color": "#ff0000ff", "karmaModifier": 30.0 }, { "rank": 3.0, "title": "General", "karma": 25.0, "killsNeeded": "disabled", "Color": "#0000a0ff", "karmaModifier": 30.0 }, { "rank": 4.0, "title": "Captain", "karma": -35.0, "killsNeeded": 35.0, "Color": "#ff0000ff", "karmaModifier": 40.0 }, { "rank": 4.0, "title": "Icon", "karma": 35.0, "killsNeeded": "disabled", "Color": "#0000a0ff", "karmaModifier": 40.0 }, { "rank": 5.0, "title": "Bandit Lord", "karma": -50.0, "killsNeeded": 50.0, "Color": "#ff0000ff", "karmaModifier": 50.0 }, { "rank": 5.0, "title": "Hero", "karma": 50.0, "killsNeeded": "disabled", "Color": "#0000a0ff", "karmaModifier": 50.0 }, { "rank": 6.0, "title": "Badass", "karma": -100.0, "killsNeeded": 100.0, "Color": "#ff0000ff", "karmaModifier": 100.0 }, { "rank": 6.0, "title": "Legend", "karma": 100.0, "killsNeeded": "disabled", "Color": "#0000a0ff", "karmaModifier": 100.0 } ], "Prefix": { "ranks": "Ranks", "titles": "Titles", "ranksandtitles": "RanksAndTitles" }, "Messages": { "Promoted": "You've been Promoted!", "NoPlyrs": "No Players Found...", "plyrWiped": "Player Wiped!", "dataRfrsh": "Data Refreshed!", "noPerms": "You do not have permission to use this command.", "setSuccs": "Player Title Set Successfully!", "needTitle": "You need to enter a title for the player!", "kills": "Your Kill count is: ", "deaths": "Your Death count is: ", "kdr": "Your KDR is currently: ", "karma": "Your current Karma is: ", "rank": "Your current Rank is: ", "title": "Your current Title is: ", "badSyntaxRank": "The command syntax was incorrect, please use /ranks set name title", "badSyntaxTitle": "The command syntax was incorrect, please use /titles set name title", "set": "How do you want the system to run? Ranks or Titles? For more info do /set info", "infoRanks": "Ranks for players this is an automated system based on kills & karma; this also supports a Bandit Vs Hero Karma System.", "infoTitles": "Titles is a system for a community or calm server, allowing owners to set and create custom user titles.", "convert": "The Server Admin has switched to Ranks, please use /rtrefresh to reload your player ranks and titles data.", "finished": "Great! The plugin will now build the correct data and configurations.", "errors": "Incorrect command structure, please try again.", "customFnd": "Using Custom Title... Skipping Change...", "loseKarma": "You've lost Karma!", "gainKarma": "You've gained Karma!", "reset": "Player Reset back to Ranks Tree!" }, "Help": { "playerHelp": { "cmdRanks": "/ranks - Displays your current Rank", "cmdStats": "/ranks stats - Displays your current stats", "cmdTitles": "/titles - Displays your current Titles", "cmdRfrsh": "/rtrefresh - Regreshes your player " }, "adminHelp": { "cmdSetR": "/ranks set playername titlename - Sets the given title name to the player", "cmdWipe": "/ranks wipe playername - Wipes the rank stats of the provided player", "cmdSetT": "/titles set playername titlename - Sets the given title name to the player", "cmdHide": "/titles hide - Allows you to hide your user title" } } }
Attached Files:
-
-
getting an error [Oxide] 8:43 AM [Warning] CallHook 'OnPlayerInit' on plugin 'RanksAndTitles' took: 677.7344ms
-
I'm having the same issue as Dragonfire967.
-
i have been using this plugin after new config file changed.
i added titles with manually in config file but always get error.?
Code:[5/4/2015 2:18:35 AM] [Oxide] 2:18 AM [Error] Failed to call hook 'OnEntityDeath' on plugin 'RanksAndTitles' (JsonReaderException: Unexpected character encountered while parsing value: }. Path 'main[2]', line 51, position 5.) [5/4/2015 2:20:32 AM] [Oxide] 2:20 AM [Error] Failed to initialize plugin RanksAndTitles (JsonReaderException: Unexpected character encountered while parsing value: }. Path 'main[2]', line 51, position 5.) [5/4/2015 2:21:46 AM] [Oxide] 2:21 AM [Error] Failed to initialize plugin RanksAndTitles (JsonReaderException: Unexpected character encountered while parsing value: }. Path 'main[2]', line 51, position 5.) [5/4/2015 2:22:08 AM] [Oxide] 2:22 AM [Error] Failed to initialize plugin RanksAndTitles (JsonReaderException: Unexpected character encountered while parsing value: }. Path 'main[2]', line 51, position 5.) [5/4/2015 2:23:25 AM] [Oxide] 2:23 AM [Error] RanksAndTitles: Failed to load config file (is the config file corrupt?) (Unexpected character encountered while parsing value: }. Path 'main[2]', line 51, position 5.) [5/4/2015 2:23:25 AM] [Oxide] 2:23 AM [Error] Failed to initialize plugin RanksAndTitles File: RanksAndTitles.js Line: 9 Column: 4 TypeError Messages is undefined: at Jint.Native.Function.ScriptFunctionInstance.Call (JsValue thisArg, Jint.Native.JsValue[] arguments) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.CallFunction (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.JavaScript.Plugins.JavaScriptPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
-
-
-
I've installed the plugin on my server, however even though I'm Admin my prefix is still [Player]?
Is it possible to have it use the Admin prefix instead? -
-
Oh, then what is "prefixTitles": [ in the config for? I thought that these were automated depending on some sort of Auth Level.
[Edit] Ah I see it's manual, nevermind.
Hm, I don't suppose it would be possible for you to make this automated, or someone make you plugin compatible with NameColors?Last edited by a moderator: May 4, 2015 -
Name colors is not in a view of being compatible as my plugin can support it but the developer has not made attempts to make his plugin use mine. And essentially there's no need since they do the same thing. -
I mean make it automated so that Admins automatically get the Admin Prefix, Mods automatically get the Mod prefix.
Yea I know the Ranks are automated. : )