1. Quicken submitted a new resource:

    RATHealer - Rust Admin Tool Healer (Console) heal player or heal all

    Read more about this resource...
     
  2. Wulf

    Wulf Community Admin

    Just a few suggestions and tips!
    • When submitting plugins, don't use a ResourceId that isn't for your plugin. Either use 0, or don't add anything until you know it for sure.
    • The Init() and Unloaded() (with the Puts messages) can be removed. All they do is duplicate messages that already exist.
    • The same would apply to the Puts("Done.") messages, as you've already said above them that your task was completed.
    • Instead of trying to re-invent the wheel with you own (or copied) GetPlayer method, use just BasePlayer.Find(player) instead.
    • You currently have no permissions, so ANY player on a server using this will be able to heal themselves or anyone.
     
  3. thanks for the feedback. permissions - yes I knew I forgot something!!!
    BasePlayer was confusing at first, I was not sure if it was global or not. can I get a link to the documentation for BasePlayer.* ?

    Puts - I will remove, they where mostly for debugging.

    How can I get an ID and make sure it works with the update/out of date mod?
    [DOUBLEPOST=1446738574][/DOUBLEPOST]@Wulf, since this only has console input. a user can't use this unless they have the ability to log into my server console. I agree I need to add permissions but just saying :)
     
  4. Wulf

    Wulf Community Admin

    You don't understand how console commands work. Players can use the F1 console to run these commands as there is no permissions for them. The F1 console is the same as running via your server console or RCON, especially if there are no permission checks.
     
  5. got it. yeah I just had a player test that. fixing it now.
     
  6. Made a few (small) changes to the plugin to enable admin checks on Console Commands. if anyone else was wanting to use this plugin.
     
  7. i cant seem to stop the public from using healing commands. i have tried permissions but have not had succsess.
    i would like as admin to be able to healall but same time have public denied from having access.
    am i doing something wrong
     
  8. Wulf

    Wulf Community Admin

    This plugin has been marked as Unmaintained. For a supported alternative, try Healer | Oxide.