The WebRewards plugin for Minecraft allows players to earn rewards by executing commands in-game and then claim them via a web interface. The plugin integrates with a MySQL database and uses RCON to execute commands, providing a seamless reward system for server administrators and players.
Requirements Own domain and web hosting
MySQL
Minecraft server 1.19 - 1.21 with rcon enabled
Features: ✅MySQL Storage
✅Video AD (Promote your video)
✅Custom rewards
✅Rewards every 2h
✅Active Support
✅The only WebRewards plugin
I'm not the best at English, but I've prepared instructions on how to set up the plugin.
Code (Text):
# Only MySQL
database:
host: "host"
port: 3306 #Basic MySQL Port
name: "name"
user: "user"
password: "password"
# Edit the address according to where you have uploaded the files - see wiki https://bit.ly/webrewards
reward:
url: "https://hesovodoupe.cz/test/"
timePeriod: 7200 #In seconds - time before the player can collect the reward again
neededPlaytime: 7200 #In seconds - first time when player can claim rewards after first time joining server.
# Plays when a notification is sent in chat
sound:
name: "ENTITY_EXPERIENCE_ORB_PICKUP"
pitch: 0.5
volume: 1.0
messages:
reward_received: "&eYou have received your rewards! Claim them here: &f%url%"
not_enough_rewards: "&cThere are not enough rewards configured. Please contact the server administrator."
already_claimed_with_time: "&eYou have already claimed your rewards. Time remaining: &f%time%"
reset_success: "&aRewards timer for %player% has been reset."
no_permission: "&cYou do not have permission to use this command."
rewards_waiting: "&eYou haven't claimed your reward yet! Claim it with &f/rewards"
not_enough_playtime: "&eYou need to play for &f%time% &emore to claim your reward."
rewards:
reward1:
img: http://example.com/image1.png
command1: give %player% diamond 1
command2: msg %player% You got diamond
labelName: Diamond Reward
reward2:
img: http://example.com/image2.png
command1: give %player% gold_ingot 1
command2: msg %player% You got gold
labelName: Gold Reward
reward3:
img: http://example.com/image3.png
command1: give %player% iron_ingot 1
command2: msg %player% You got iron
labelName: Iron Reward
reward4:
img: http://example.com/image4.png
command1: give %player% emerald 1
command2: msg %player% You got emerald
labelName: Emerald Reward
# More rewards can be added here...
# Rewards can be collected every 2 hours
# After setting this config, you still need to edit things in config.php
Commands /rewards - Generates reward IDs for the player and assigns random rewards from config.yml (alias - /rewardsweb /rw)
/webrewards:rewards reset [Nick] - It restores the waiting period - the possibility to collect the reward again afterwards
/webrewards:rewards log [Nick] - Shows previous rewards for specific player - for resolving issues (Added in 5.0)
/rewards reload - (Added in 7.0)
Permissions webrewards.admin - Allows to use /rewards reset & /rewards log & /rewards reload