Player Ranks

Player ranks and stats database

Total Downloads: 4,903 - First Release: Mar 4, 2017 - Last Update: May 29, 2018

5/5, 19 likes
  1. Commands work on permission rather than admin status now.
    Do you have the permission 'playerranks.allowed'?
     
  2. when did that change as in my Permissions manager (the one u made) - i do /perms group admin and i see no permissions there for playerranks.
     
  3. Switched over in May.

    PlayerRanks and BotSpawn are in the PermissionsManager default blacklist (config) to illustrate correct syntax.
     
  4. So they dont show in permissions manager is that correct ?
     
  5. They don't, with a default config.
     
  6. G'day Champ

    I 100% have the plugin loaded and it works but I keep getting this error when I try to give myself permission, any ideas?

    (21:45:46) | [RCON][123.2.54.218:55180] grant user 76561198191922134 playerranks.allowed

    (21:45:46) | Command 'grant user 76561198191922134 playerranks.allowed' not found
     

  7. have u tried this plugin for perms

    Permissions Manager for Rust | Oxide

    once loaded u would type /perms group admin
    and then click what permisisons u wanted.
     
  8. You need 'oxide.grant' rather than 'grant' but, as tomhud said, Permissions Manager might be handy to have. :)

    Overview updated.
     
  9. You would think after almost three years of being an Admin I would have caught that oversight :-/

    I can only try and blame it on being way to sleepy at the time, thanks for the reply mate it worked of course.
     
  10. Hey,
    Not sure how much demand there'd be for that.
    Does PVPKills not more or less do the job?

    Idk...Maybe I'll look into it on a rainy day.
     

  11. That would be cool !
    The PVPKill is fine for the dead, but it's not crushing :)
    For that you have to cut out your opponent, get his skull and grind him :)))
     
  12. this is great for admins, now I can check on who's really looting and who's duping (well at least it gives me a better idea).
     
  13. Hi! Getting a lot of these:

    Code:
    16:40 [Error] Failed to call hook 'OnPlayerInit' on plugin 'PlayerRanks v1.3.4' (NullReferenceException: Object reference not set to an instance of an object)
    at MySql.Data.MySqlClient.MySqlDataReader.Close () [0x00000] in <filename unknown>:0
    at MySql.Data.MySqlClient.MySqlConnection.Close () [0x00000] in <filename unknown>:0
    at Oxide.Core.MySql.Libraries.MySql.CloseDb (Oxide.Core.Database.Connection db) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerRanks.LoadMySQL () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerRanks.SaveData () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerRanks.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    16:41 [Info] [ConnectionDB] Registering **** [*************].
    4:41 PM [Error] MySql handle raised an exception (NullReferenceException: Object reference not set to an instance of an object)
    at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x00000] in <filename unknown>:0
    at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader (CommandBehavior behavior) [0x00000] in <filename unknown>:0
    at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader () [0x00000] in <filename unknown>:0
    at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery () [0x00000] in <filename unknown>:0
    at MySql.Data.MySqlClient.MySqlCommand.AsyncExecuteWrapper (Int32 type, CommandBehavior behavior) [0x00000] in <filename unknown>:0
    16:41 [Info] [PlayerRanks] Player Ranks MySQL Database Was Saved.
    And when restarting (auto restart) getting this:

    Code:
    17:00 [Warning] Unclosed mysql connection (server=**;port=****;database=***;user id=secret;pooling=False;defaultcommandtimeout=120;allowzerodatetime=True), by plugin 'PlayerRanks', closing...
    17:00 [Error] Exception while invoking event handler (NullReferenceException: Object reference not set to an instance of an object)
    at MySql.Data.MySqlClient.MySqlDataReader.Close () [0x00000] in <filename unknown>:0
    at MySql.Data.MySqlClient.MySqlConnection.Close () [0x00000] in <filename unknown>:0
    at Oxide.Core.MySql.Libraries.MySql.OnRemovedFromManager (Oxide.Core.Plugins.Plugin sender, Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    at Oxide.Core.Event+Callback`2[Oxide.Core.Plugins.Plugin,Oxide.Core.Plugins.PluginManager].Call (Oxide.Core.Plugins.Plugin arg0, Oxide.Core.Plugins.PluginManager arg1) [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: Dec 17, 2017
  14. Is your SQL database being populated?
     
  15. Populated? being used? not actively but somethimes. Not this time i got it at least
     
  16. I mean is the data being successfully written to the table?
    I'm thinking there might be a mistake in your credentials, or the connection is being refused.
     
  17. Yes it is being written!
     
  18. Hm, any other ideas? ><
     
  19. Sorry man, I'm really not sure. I'm not getting any errors myself.

    Do you get this error every time a player joins?