PlayerDatabase

Big database with light weight way to save it to prevent lag

Total Downloads: 1,439 - First Release: May 30, 2016 - Last Update: Jan 11, 2017

5/5, 7 likes
  1. DraB

    DraB Shack Builder Plugin Developer

    This does not work for legacy... Loads in perfectly but any plugin linked to it says "You must have the PlayerDataBase plugin to use this plugin"
    --- Double Post Merged, Apr 1, 2017 ---
    So prod works fine it's just House Locations for Rust Legacy | Oxide
     
    Last edited: Apr 1, 2017
  2. DraB

    DraB Shack Builder Plugin Developer

    solved.
     
  3. Canopy Sheep

    Canopy Sheep Master Researcher Plugin Developer

    There seems to be an issue when the plugin registers names with weird characters, for whatever reason the plugin didn't close the quote on a name and it messed up the entire database (MySql, don't know about any other database type). Lazy solution below.

    Replace line 6 with:
    Code (C#):
                    try
                    {
                        d = GetPlayerData(userid, "name");
                    }
                    catch (JsonReaderException)
                    {
                        continue;
                    }
     
  4. SURFBURKEN

    SURFBURKEN Naked Wanderer

    Getting Error while compiling: PlayerDatabase.cs(515,14): error CS0234: The type or namespace name `MySql' does not exist in the namespace `Oxide.Core'. Are you missing an assembly reference? with Oxide Build 2.0.3589
     
  5. DraB

    DraB Shack Builder Plugin Developer

    Which game are you using?
     
  6. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Replace the // Reference: Oxide.Core.MySql with // Reference: Oxide.MySql
     
  7. Credskiz

    Credskiz Naked Wanderer

    Game's Rust
    --- Double Post Merged, Oct 21, 2017 ---
    Thank you, this resolved it.