ok i have a question, In my config the first rank is New Guy but when im in-game the starting rank is Civilian how do i fix this? I tried creating the rank using the chat commands but i get a undefined error. This is my config just to show you. some things i added in manually.Code:{ "authLevel": 2.0, "Settings": { "showPlayer": true, "hideAllAdmins": false, "karma": true, "colorSupport": true, "useBoth": true, "useTitles": false, "noAdmin": true, "usePunishSystem":true, "chatNameColor":"#1bd228", "staffchatNameColor":"#1bd228" }, "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" } }
Ranks And Titles [Unmaintained]
Discussion in 'Plugin Support' started by KillParadise, Mar 3, 2015.
-
-
Hey KillParadise. Love the idea of this plug in but i cant get it to work. I have changed all the values in the config to set up new titles and ranks. Onced saved it still shows the default civilian and wannabe etc titles. I have reloaded it. restarted server (just incase) How do I get rid of the default titles to the ones i created?
Thanks -
Thanks works perfect.
-
Mine is still saying civilian and wannabe -
-
na, just comes up with default ranks and wont change
-
are you making sure you save it because i didnt have a issue making new ranks
-
If you're just talking about default ranks that are set just change their names to whatever you want. You need at least 1 rank or the plugin will not properly work. If you don't want rank titles to display in game in the config set the "dropRank" setting to true this will turn off the display of rank titles but keep stat tracking turned on. -
ok thanks guys. will try again and let ya know
[DOUBLEPOST=1430965047][/DOUBLEPOST]Its working but still ignoring my custom ranks and going with default ranks.
Can you have a look at this to see what ive done wrong please.Attached Files:
-
-
On lines where you've added your own ranks you do not have a commas separating the objects (this is the reason your new ranks are not showing up as they are not being counted/used). Add a comma to these and make sure to remove the extras or they will throw errors.
Which is causing json errors.
Here's a slick tool I like to use when validating my json to make sure its valid: http://jsonlint.com/
I fixed all the errors and attached the file, this one should work for you. Just replace the current config with this one. Just remember Json formatting! or use the /rt create command to build new ranks in game (this process takes longer but builds ranks into the config automatically for you) and maybe I can add a command to build a basic skeleton in the config for owners to edit simply. Who knows, hope this helps you though!Attached Files:
Last edited by a moderator: May 7, 2015 -
-
"-Added ability to edit default chat color" Where Can I edit this, All names and what not are set but the text is a light brown and hard to see at times.
-
-
-
-
How can i add my self as owner?
-
However you can set your tag with /rt set virtual owner
this will give you the owner prefix and should give you owner permissions or add you to the owner group. (like I said I found some small bugs) -
-
-
Hi I've been trying to update my config file with the ranks below.
Code:{ "AdminHelp": [ "/rt wipe playername - Wipes the sleceted players Kills, Deaths, KDR, and Karma", "/rt set playername title - Sets a custom title to the selected player, this must be a title in config (NOT RANK)", "/rt remove playername - removes a given players custom title, and sets them back into the ransk tree", "/rt useboth - switch prefixes on and off", "/rt noadmin - Removes admins (auth 2 or higher) from ranks system no kills, or ranks will be given.", "/rt kset playername karma - set a selected players karma level", "/rt kcheck playername - check the selected players karma", "/rt kadd playername karma - adds the entered amount of karma to the selected player", "/rt krem playername karma - removes the entered amount of karma from the selected player", "/rt create rankname rank karmaneeded killsneeded karmagiven color permissions - create a new rank", "/rt create prefixname color permission", "/rt delete rankname - delete a rank", "/rt update - updates the config" ], "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": "Pacifist", "karma": 0.0, "killsNeeded": 0.0, "Color": "#FFFFFF", "karmaModifier": 10.0, "permission": "player" }, { "rank": 1.0, "title": "Survivor", "karma": -10.0, "killsNeeded": 1.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 1.0, "title": "Wanderer", "karma": 10.0, "killsNeeded": 1.0, "Color": "#a3fe9f", "karmaModifier": 10.0, "permission": "player" }, { "rank": 2.0, "title": "Looter", "karma":-30.0, "killsNeeded": 3.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 2.0, "title": "Citizen", "karma": 30.0, "killsNeeded": 2.0, "Color": "#a3fe9f", "karmaModifier": 10.0, "permission": "player" }, { "rank": 3.0, "title": "Rebel", "karma": -50.0, "killsNeeded": 5.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 3.0, "title": "Adventurer", "karma": 50.0, "killsNeeded":5 .0, "Color": "#a3fe9f", "karmaModifier": 10.0, "permission": "player" }, { "rank": 4.0, "title": "Criminal", "karma": -70.0, "killsNeeded": 7.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 5.0, "title": "Bandit", "karma": -100, "killsNeeded": 10.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 5.0, "title": "Ranger", "karma": 100.0, "killsNeeded": 10.0, "Color": "#a3fe9f", "karmaModifier": 10.0, "permission": "player" }, { "rank": 6.0, "title": "Murder", "karma": -150.0, "killsNeeded": 13.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 6.0, "title": "Warden", "karma": 150.0, "killsNeeded": 15.0, "Color": "#a3fe9f", "karmaModifier": 10.0, "permission": "player" }, { "rank": 7.0, "title": "Executer", "karma": -200.0, "killsNeeded": 16.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 8.0, "title": "Butcher", "karma": -250.0, "killsNeeded": 20.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 8.0, "title": "Vigilante", "karma": 250.0, "killsNeeded": 25.0, "Color": "#a3fe9f", "karmaModifier": 10.0, "permission": "player" }, { "rank": 9.0, "title": "Psychopath", "karma": -350.0, "killsNeeded": 25.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 10.0, "title": "Khan", "karma": -500.0, "killsNeeded": 50.0, "Color": "#fe887c", "karmaModifier": 10.0, "permission": "player" }, { "rank": 10.0, "title": "Hero", "karma": 500.0, "killsNeeded": 50.0, "Color": "#a3fe9f", "karmaModifier": 10.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!", "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: ", "userprefix": "Your Prefix is: ", "badSyntaxRt": "The command syntax was incorrect, please use /rt set playername title", "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!", "cleardata": "Data has been fully cleared!", "titlesSet": "The Server is currently using Titles only. No stats avaliable!", "switchRanks": "Successfully turned titles only Off!", "switchTitles": "Successfully turned titles only On!", "broadcast": "The Admin has switched the Titles system, please use /rt refresh to reload player data!", "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.", "debugDis": "Debug is currently disabled.", "debugRan": "Ran Debug! Thanks!", "Demoted": "You've been demoted!", "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", "punishMsg": "You've killed a rankName you've lost an extra karmaAmt Karma!", "upToDate": "The config is already up to date!", "configFin": "Config finished update! Updated: {count} objects!", "rankCreated": "<color=green>New Rank {rank} Created!</color>", "rankDel": "<color=green>{rank} has been deleted!</color>", "crtPrefix": "<color=green>{prefix} has been created!</color>" }, "Permissions": { "wipe": "canWipe", "set": "canSet", "remove": "canRemove", "hide": "canHide", "switch": "canSwitch", "kset": "canSetKarma", "kcheck": "canCheckKarma", "krem": "canRemKarma", "kadd": "canAddKarma", "clear": "canClear", "hideself": "canHideSelf", "create": "canCreate", "delete": "canDelete", "staff": "isStaff" }, "Prefix": { "ranks": "Ranks", "titles": "Titles", "ranksandtitles": "RanksAndTitles" }, "prefixTitles": [ { "title": "Player", "Color": "#FFFFFF", "permission": "player", "default": true }, { "title": "Donor", "Color": "#ffa500ff", "permission": "donor", "default": false }, { "title": "Mod", "Color": "#add8e6ff", "permission": "mod", "default": false }, { "title": "Admin", "Color": "#800000ff", "permission": "admin", "default": false }, { "title": "Owner", "Color": "#505886", "permission": "owner", "default": false } ], "Punishment": [ { "rank": 0.0, "multiplier": 2.0 }, { "rank": 0.5, "multiplier": 2.5 } ], "Settings": { "deBugOff": true, "karma": true, "colorSupport": true, "noAdmin": false, "useBoth": false, "dropRank": false, "useRanksPerms": false, "usePunishSystem": true, "chatNameColor": "#1bd228", "staffchatNameColor": "#1bd228" }, "Version": "1.6.2" }