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