RA

RandomCode is an interesting addition (popular on small Polish servers) allowing you to win the prize by rewriting the random code displayed in the chat.
Available options:
- the choice of time, what the code will be drawn
- the length of the random code
- the choice of characters that can be found in the code
- random selection of rewards after rewriting the code
- ability to enter your own translation
Description of the config.yml:
code:
#The time, as how many seconds are supposed to be drawn code on the watch
time: 120
#How long should the code be (how many characters should be included)
length: 10
#What characters can consist of drawn code.
charset: "qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890#%@$"
locale:
info: "&7[&6RandomCode&7] Rewrite this code: &6%code%"
success: "&aBravo! You rewrote the code first and received the reward!"
broadcast: "&7[&6RandomCode&7] &7Player &6%player% &7rewrote the code first!"
Description of the rewards.yml:
rewards:
#1 is the number of rewards, just enter 1, 2, 3, 4....
#cmd is a list of commands,% player% means the nickname of the player who won
1:
cmd:
- 'give %player% 264 5'
- 'give %player% 377 3'
2:
cmd:
- 'eco give %player% 50'
3:
cmd:
- 'give %player% 383:120 1'
- 'give %player% 260 5'
4:
cmd:
- 'give %player% 385 1'
5:
cmd:
- 'give %player% 116 1'
- 'eco give %player% 50'
In plans:
- adding rewards through the command
- minimum number of players required for draw
- replacing commands with own functions
If you find mistakes, please report them :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta