LastName

Stores all player usernames

Total Downloads: 1,594 - First Release: Jul 14, 2015 - Last Update: Jul 25, 2018

5/5, 5 likes
  1. Wulf

    Wulf Community Admin

    That error is from the Rust update. See the Release Changelog for a fix for it. It's the ConsoleSystem.Run change.
     
  2. That's nice but i have only rust.RunServerCommand
     
  3. Wulf

    Wulf Community Admin

    Ah, then the user is most likely outdated with Oxide.
     
  4. Oxide 2.0.0 for 1156.85
    After last update it works, thanks :)
     
    Last edited by a moderator: Feb 10, 2017
  5. @deer_SWAG
    Id be interested in ability to tack on a players original name to chat messages (as opposed to replacing current name), so that if they change their name it will show their current name and original name

    Reference ----> Rust - Permanent player identity | Oxide

    Would you be interested in developing this deer? :)
     
  6. Code:
    LastName.cs(46,8): warning CS0114: `Oxide.Plugins.LastName.LoadDefaultMessages()' hides inherited member `Oxide.Core.Plugins.Plugin.LoadDefaultMessages()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword
    /home/rust/rust/serverfiles/Oxide.Core.dll (Location of the symbol related to previous warning)
     
  7. deer_SWAG updated LastName with a new update entry:

    0.2.0

     
  8. deer_SWAG updated LastName with a new update entry:

    0.2.1

     
  9. Wulf

    Wulf Community Admin

    @deer_SWAG, some suggestions missing standards per plugin submission guidelines
    • Should be using Interface.Oxide, not Interface.GetMod()
    • Should be using player's ID string with Lang API for localization
    • Should be using Name, not Title for data file and unloading
    • No need to delay loading in Loaded() hook, use Init() instead
    • LoadDefaultMessages is called automatically by Oxide, remove from Loaded()
    • Would recommend saving data only OnServerSave, not every time a player connects
    • LoadDefaultMessages() and LoadDefaultConfig() should be overrides or new to avoid warnings
    • Would suggest removing the oxide.unload usage and instead creating a new data file; else use the method to unload instead
     
  10. Thanks. Sorry about that. I'm kinda back to this but last time i did something was a long time ago.
     
  11. Hello, here's what I write when I log on to the server:
     

    Attached Files:

  12. deer_SWAG updated LastName with a new update entry:

    0.3.0


    [DOUBLEPOST=1532515022][/DOUBLEPOST]Not really a good start for me... but i'm surprized that someone is using this.