Hi guys,
I'm starting to write a plugin that should ease us the organization of events in our server (arena deathmatches and similar).
We have this idea in which various functions of the plugin are accessibile to players only after an admin has fired a chat command
For example after an admin has typed:
My question is: how could I check if this command has been activated, how can I "store" this "event ON"?Code:/event ON
I was thinking of writing into data file, is this a practical way?
Thank you all!
Solved Enable features only after an admin used a chat command
Discussion in 'Rust Development' started by d3nnib, Jun 27, 2015.
-
Just store it as a variable in memory. Nothing complicated about that.
-
You're right
, I don't know why I went searching for complicated ways