Hello,
It's Krazi here again.
I am new to the Oxide API and I've been experimenting with it and I've been reading this EPIC 'Oxide API Reference' that Wulf gave me. (http://docs.oxidemod.org/?lua#rust-functions) Y'all probably know what it is.
But I want to make a LUA plugin that I guess would be getting user input, like commands. Say if I type "/hi" and it would rust.BroadcastChat 'Hi' in the server when ever a user typed that.
Also I was wondering how I could make a plugin similar to that one ^ but the command would be restricted from auth 0 (user) and auth 1 (moderator) but only auth 2 (owner) could use it. Or vice-versa.
Thanks for the help in advance!
Krazi.
Solved Getting user input from chat? (Lua)
Discussion in 'Rust Development' started by ItsAnderson, Mar 27, 2015.
-
Wulf Community Admin
I'd recommend taking a look at existing plugins that add chat commands.
-