It's possible but would require more checks. I'll have to check out the code base when I get home.
Ranks And Titles [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Mar 3, 2015.
-
--EDIT: Just realized the server was giving me a hidden error that it can't delete the required file, so waiting for support to delete it for me, will update this post when that happens.Last edited by a moderator: May 4, 2015 -
-
Ah ok. I'm used to other servers I used to run that required server to be shutdown / restarted before any changes could be made.
-
Also, what is Karma and the Punishment System?
Can you rank up without killing people? -
And
No this is a pvp based rank system. I think huntrpg is more of a pve based system though. -
Ah thanks : )
-
Hello,
Can someone help me here pls. I added this plugin to my server but for some reason it wont work at all, and if i try to reload it using oxide.reload RanksAndTitles in console, i get this error message :
Code:[Oxide] 11:15 AM [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 <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
-
-
thx for answering me, here it is, as i said nothing changed :
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" } } }
-
-
No updates, installed it a few days ago and it didnt work from start.Restarted server but nothing helps...how to update or make it work?
this is a list of plugins i am using on server atm :
Code:AIRDROP SETTINGS (1.0.0) ANTI WEAPON SPEED HACK (0.5) ARENA - CORE (1.0.0) ARENA - DEATHMATCH (1.0.3) AUTO DOOR CLOSER (1.3.2) CHEATPUNCH CRAFTING CONTROLLER (2.2.2) DAY & NIGHT SYSTEM (1.0.3) DEATH NOTES (2.4.8) GIVE (2.1.2) GODMODE (1.4.3) HELPTEXT (1.4.0) INCREASED GATHER RATE (1.1.2) INVENTORY GUARDIAN (0.1.5) KITS (2.0.10) MODIFY TIME (1.0.0) NOTIFIER FOR EXPERIMENTAL (2.7.4) PVP SWITCH (1.1.1) R-REMOVER TOOL (2.2.12) RANKS AND TITLES (1.5.3) RUST:IO (2.2.7)RUST:IO BETTERLOOT (1.8.5) RUST:IO CLANS (1.5.0) SERVER TAGS (0.1.0) SIMPLE COMPASS (1.0.0) SPAWNS DATABASE (1.1.0) STACK SIZES (1.1.3) TELEPORTATION SYSTEM (1.4.15) UPDATER (0.2.10) ZONES MANAGER (2.0.19)
-
-
I think I may have found some info that may help I too use ClanFOrge and it appears to be having a problem during the update portion of the script. I get this:
11:35 AM [Info] Loaded plugin RanksAndTitles v1.5.3 by Killparadise
11:35 AM [Info] WARNING: Config not at version 1.6, Running 1.6 update...
11:35 AM [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 <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 looked at the code myself and it seems to be a problem with the way you have it attempting to update.
Suggestions ?
[DOUBLEPOST=1430854565][/DOUBLEPOST]I also removed the CFG and had the plugin rebuild it fresh, still this plugin refuses to work -
-
-
A temporary fix until I can get home is to go to the plugin and put
Code:this.LoadDefaultConfig();
Code:Init: function() { global = importNamespace(""); this.LoadDefaultConfig(); <--- add this in to the init this.getData(); this.registerPermissions(); command.AddChatCommand("rt", this.Plugin, "switchCmd"); },
-
No problem, glad I could help
-
-
KillParadise updated Ranks And Titles with a new update entry:
Config & Permissions Bug Fixes