1. 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:
    Code:
    /event ON
    My question is: how could I check if this command has been activated, how can I "store" this "event ON"?

    I was thinking of writing into data file, is this a practical way?

    Thank you all!
     
  2. Just store it as a variable in memory. Nothing complicated about that.
     
  3. You're right :p, I don't know why I went searching for complicated ways