ConnectionDB

Moved

Total Downloads: 3,920 - First Release: Nov 14, 2015 - Last Update: Mar 9, 2017

5/5, 9 likes
  1. You need to connect your playerdatabase plugin on your server to an external database for storage using MySQL or SQLite. People normally use a hosting provider for this. Usually hosts make it really easy to set up databases. Database support etc, comes with web hosting for a lot of server providers.

    EDIT: Im an idiot. Re-read your comment and saw you were talking about connectionsDB. That one I dont have a solution to. Sorry
     
  2. its ok, figured it out, working as it should now!, thanks you anyway
     
  3. How you got this to work?
    For me only seems to update player info and players are not recieving new ranks based on time played....
     
  4. Are you only using ConnectionDB?
     
  5. Yes i use the ConnectionDB.
     
  6. All this plugin does is track the time.
    It doesn’t give or do anything else, you have to use another plugin for that.
     
  7. I know this :D
    But in combination with PlayerRankins this not works for me.

    My Problem is that i dont know how to set up ConnectionDB so that the Plugin PlayerRankings gives the correct Rank to Players.
    ConnectionDB saves the Played Time but PlayerRankings not react to them.
     
  8. PM me, what's your config for PlayerRankings?
     
  9. Code:
    {
      "1| ✣": {
        "Oxide Group": "rank1",
        "Playtime": 0.001
      },
      "2| ✥": {
        "Oxide Group": "rank2",
        "Playtime": 2.0
      },
      "3| ✤": {
        "Oxide Group": "rank3",
        "Playtime": 6.0
      },
      "4| ✚": {
        "Oxide Group": "rank4",
        "Playtime": 10.0
      },
      "5| ☆": {
        "Oxide Group": "rank5",
        "Playtime": 16.0
      },
      "6| ✯": {
        "Oxide Group": "rank6",
        "Playtime": 24.0
      },
      "7| ✮": {
        "Oxide Group": "rank7",
        "Playtime": 32.0
      },
      "8| ★": {
        "Oxide Group": "rank8",
        "Playtime": 40.0
      },
      "Settings": {
        "Ignore Admins": false
      }
    }
     
  10. (21:30:47) | ConnectionDB was compiled successfully in 2735ms

    (21:30:47) | ConnectionDB has polluted the global namespace by defining <Module>

    (21:30:48) | Unloaded plugin ConnectionDB v0.2.1 by Norn

    (21:30:48) | No previous version to rollback plugin: ConnectionDB

    How fix this?
     
  11. Can someone help me trouble shoot this? I have ConnectionDB and PlayerDB running on both of my other servers no problem. When adding it to my new server I get this error.
    Code:
    MySql handle raised an exception (Exception: Connection is null)
      at Oxide.Core.MySql.Libraries.MySql+MySqlQuery.Handle () [0x00000] in <filename unknown>:0
    I have already tried-
    updating the plugin
    deleting playerdb config - re-configuring it in a new DB