Exemple #1
0
 protected override void Load()
 {
     Instance = this;
     U.Events.OnPlayerConnected += voteTrigger;
     if (Configuration.Instance.EnableRewardBundles)
     {
         OnPlayerVoted += Votifier_OnPlayerVoted;
     }
 }
 public CommandReward(IPlugin plugin)
 {
     _votifier = (Votifier)plugin;
 }
Exemple #3
0
 public void Execute(IRocketPlayer caller, params string[] command)
 {
     Votifier.Vote((UnturnedPlayer)caller);
 }