Quicken submitted a new resource:
RATHealer - Rust Admin Tool Healer (Console) heal player or heal all
Read more about this resource...
RATHealer [Unmaintained]
Discussion in 'Plugin Support' started by Quicken, Nov 5, 2015.
-
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.
-
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 -
Wulf Community Admin
-
got it. yeah I just had a player test that. fixing it now.
-
Made a few (small) changes to the plugin to enable admin checks on Console Commands. if anyone else was wanting to use this plugin.
-
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 -
Wulf Community Admin
This plugin has been marked as Unmaintained. For a supported alternative, try Healer | Oxide.