hey i need this plugin but i cant find or its not plugin can some1 help me tnx
Solved Need !players and !wipe plugin
Discussion in 'Rust Discussion' started by Fox ☠, Jan 2, 2018.
-
Wulf Community Admin
I don't see why people want to be deceptive by using ! commands on a modded server, but you can technically do do that with any of the existing plugins such as PlayerList or Wipe Schedule, etc. by just adding the OnPlayerChat hook to listen for ! and funnel to to the real command.
Fun fact: Rust natively listens for / via the chat and ignores it, so / isn't really unique to Oxide.
You can also easily handle this via RCON tools like RustAdmin though if you want to avoid using plugins and be "vanilla". -
yes i see lots of server using this and still be vanillaa canu tell me how to make that i will appreciate that
-
Wulf Community Admin
-
yep but hmmm its somethink like this
Code:namespace Oxide.Plugins { [Info("EpicStuff", "Unknown", "1.0.0")] [Description("A basic chat command")]class EpicStuff : CovalencePlugin { [Command("test")] void TestCommand(IPlayer player, string command, string[] args) { player.Reply("Test successful!"); } } }
-
Wulf Community Admin
If you want to listen for !, then you'd need to use the OnPlayerChat or OnUserChat hook and check the message for !.