depends on
Configuration
{
"Enable logging, save to logs/EasyVoteHighestvoter (true / false)": true,
"Interval timer (seconds)": 1800,
"Highest voter reward (item, group or both)": "group",
"Highest voter reward group (group name)": "hero",
"Highest voter reward item(s) (Item.Shortname:Amount)": "wood:1000,supply.signal:1"
}
Logging
The log file can be found under logs/EasyVoteHighestvoter
.
[10/30/2017 10:35:01] [HighestPlayer: Exel80 Id: 76561198014553078] Voter received his reward item(s) => 1000x Wood
[10/30/2017 10:37:48] [HighestPlayer: Exel80 Id: 76561198014553078] Voter received his reward item(s) => 1000x Wood, 1x Supply Signal
[10/30/2017 10:38:32] [HighestPlayer: Exel80 Id: 76561198014553078] Voter has been added to his reward group => hero
[10/30/2017 10:38:32] [OldHighestPlayerID: 76561198014553078] Removed from his reward group => hero
Localization
{
"HighestGroup": "<color=cyan>The player with the highest number of votes per month gets a free</color> <color=yellow>{0}</color> <color=cyan>rank for 1 month.</color> <color=yellow>/vote</color> <color=cyan>Vote now to get free rank!</color>",
"HighestGroupCongrats": "<color=yellow>{0}</color> <color=cyan>was highest voter past month.</color> <color=cyan>He earned free</color> <color=yellow>{1}</color> <color=cyan>rank for 1 month. Vote now to earn it next month!</color>",
"HighestItems": "<color=cyan>The player with the highest number of votes per month gets </color> <color=yellow>{0}</color> <color=cyan>to his inventory.</color> <color=yellow>/vote</color> <color=cyan>Vote now to get free stuff!</color>",
"HighestItemsCongrats": "<color=yellow>{0}</color> <color=cyan>was highest voter past month.</color> <color=cyan>He earned</color> <color=yellow>{1}</color> <color=cyan>items. Vote now to earn it next month!</color>",
"HighestBoth": "<color=cyan>The player with the highest number of votes per month gets </color> <color=yellow>{0}</color> <color=cyan>to his inventory &</color> <color=yellow>{1}</color> <color=cyan>rank for 1 month.</color> <color=yellow>/vote</color> <color=cyan>Vote now to get free stuff!</color>",
"HighestBothCongrats": "<color=yellow>{0}</color> <color=cyan>was highest voter past month.</color> <color=cyan>He earned</color> <color=yellow>{1}</color> <color=cyan>items &</color> <color=yellow>{2}</color> <color=cyan>rank for 1 month. Vote now to earn it next month!</color>"
}
For Developers
Hooks
onUserReceiveHighestVoterReward(Dictionary<string, object> RewardData)
Dictionary<string, object>HighestPlayerName (string) - Highest voter player displayeNameHighestPlayerID (string) - Highest voter player IDOldHighestPlayerID (string) - Past month highest voter player IDRewardType (string) - Reward type (group/item/both)Reward (string) - If rewardType is item, list all items and amount (ex. supply.signal:1) And if type is group, then only group name printed out here.ReceivedReward (bool) - Received or not reward.
This plugin is unlicensed and the original author reserves all rights to it.
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.