✨ RandomEvents ✨ Perfect Minigame Addon icon

✨ RandomEvents ✨ Perfect Minigame Addon -----

✨ NEW BLOCK PARTY AND HIDE & SEEK MINIGAME!! ✨ Up to 37 types of minigames.



[​IMG]
Remember to install Lib1711 as the main dependency
NOW IT CONTAINS 11 EXAMPLE MAPS, SEE MEDIA* (TO HAVE THEM AND THE QUESTS COMPATIBILITY JAR PM ME VIA SPIGOT OR JOIN THE DISCORD)




What is RandomEvents? RandomEvents is a plugin that spawns random minigames for all players to enter just clicking in the alert of the chat, easy, funny and rewarded!

Minigame List

[RED LIGHT GREEN LIGHT]
[Battle Royale]
[Team Battle Royale]
[Knights Battle]
[Top Killer]
[Team Top Killer]
[Knockback Duel]
[Arrow Rain]
[Gem Crawler]
[TNT Run]
[TNT Tag]
[Boat Run]
[Horse Run]
[Race]
[Run from the Beast]
[One in the Chamber]
[Spleef]
[Splegg]
[Survival Games]
[Team Survival Games]
[Skywars]
[Team Skywars]
[Water drop]
[Quakecraft]
[Paintball]
[KoTH]
[Fish Slap]
[Hoe hoe hoe]
[Splatoon]
[Bombardment]
[Block Party]
[Hide & Seek]
[Glass Walk]


How to join a RandomEvent? Just by clicking on the alert that is thrown when a random event is live!

*See the video in the media section!*

[​IMG]

[​IMG]

Features:
  • Easy and interactive creation of arenas for events.
  • Clickable alerts in chat to join the events.
  • Inventory management. Stores in JSON files the inventory of the users that join to recover it after the event ends. Experience will not be lost too.
  • Totally configurable events.
  • Several minigames to choose for the events.
  • For the rewards you can use probabilities, example: using "reprob 40 give %player% beacon 1" it will have a 40% probability of giving a beacon to a player when he wins.
  • Multilanguage!
  • Create tournaments with diferent levels and minigames totally configurable!
  • Statistics and PlaceholderAPI hook for placeholders
  • Quests compatibility to create win Random Events or participating in them quests.
  • Complete particle system to add cool effects for the minigames.
  • Create kits for the minigames with custom permissions!
  • %randomevents_player_in_event%
  • %randomevents_player_in_event_as_player%
  • %randomevents_next_event%
  • %randomevents_next_event_detailed%
  • %randomevents_total_tries%
  • %randomevents_total_wins%
  • %randomevents_tries_game_<minigame>%
  • %randomevents_wins_game_<minigame>%
Where <minigame> should be replaced for the code of the minigame you want to show. These are the codes for the minigames:

Battle Royale -> BR
Battle Royale Team 2 -> BRT2
Knight Battle Royale -> LJ
Top Killer -> TKLL
Top Killer Team 2 -> TKLLT2
Knockback Duel -> KBD
Escape Arrow -> EARR
Gem Crawler -> GEMC
Bomb Tag -> BOMB
Boat Run -> BOAT_RUN
Escape From Beast -> ESCAPE_FROM_BEAST
Race -> RACE
TNT Run -> TNTRUN
Spleef -> SPLEEF
Splegg -> SPLEGG
One in the chamber -> OITC
Horse Run -> HORSE_RUN
Skywars -> SW
Team Skywars -> TSW
Survival Games -> SG
Team Survival Games -> TSG
Anvil Spleef -> ANVIL_SPLEEF
Water Drop -> WDROP
Quakecraft -> QUAKE
Paintball -> PBALL
Paintball Top Kill ->PBALLTK
KoTH -> KOTH
Fish Slap -> FISHSLAP
Hoe hoe hoe -> HOE
Splatoon -> SPLATOON
Bombardment -> BOMBARDMENT
Red light green light ->REDGREEN
Block Party -> BLOCKPARTY
Hide & Seek -> HIDEANDSEEK
Glass Walk -> GLASSWALK

Example: %randomevents_tries_game_ESCAPE_FROM_BEAST%
Code (YAML):

##################################################################
##                        RandomEvents                            ##
##                        Configuration                            ##
##################################################################
debugMode
: false

##################################################################
## Wiki: https://github.com/Adri1711/RandomEventsWiki/wiki      ##
## Discord: https://discord.gg/rcXhBn68mQ                       ##
##################################################################
useEncoding
: 'UTF-8'

##################################################################
##                          GENERAL                              ##
##################################################################

##You can concatenate diferent alias with ';' (DONT USE CAPS HERE)
cmdAlias
: 'revent;event'

##Deactivate all sounds of the plugin
deactivateSounds
: false

##Deactivate teleport on spectator for players
avoidSpectatorTp
: true

##Ticks invincible after game
invincibleAfterGame
: 0

##Distance to clear entities when a match end, this will clear dropped items when the match finish
distanceClearEntities
: 20

##Seconds to check if the probability match for a random event
secondsTimer
: 60

##Seconds to check if the minimum players is fulfilled to begin the match
secondsCheckPlayers
: 15

##Minimum amount of players to begin checking for random events
minPlayers
: 0

##Minimum time to begin the match if the min players are already inside
minNumberOfTriesBeforeBeginning
: 0

## Percentage of probability to spawn a random event each time the timer is fired
probabilityRandomEvent
: 5

##Probability that the spawned random event is a tournament
probabilityRandomEventTournament
: 5

##Teleport to the last location instead of spawn of the plugin
useLastLocation
: false

##Number of annoucements the random event will do before being cancelled for lack of players
numberOfTriesBeforeCancelling
: 10

##If true you will only be able to join by clicking on the alert, if false you can do /revent join to join an event (NORMALLY USED FOR BEDROCK PLAYERS)
needPasswordToJoin
: true

##Advanced spectator mode, it puts the users to GAMEMODE Spectator instead of just teleporting them on Survival GAMEMODE
advancedSpectatorMode
: false

##Force Empty Inventory to Join the RandomEvents
forceEmptyInventoryToJoin
: false

##Activate private chat
matchPrivateMatch
: false

##Force the players to enter the random event when its spawned
forcePlayersToEnter
: false

##Force the players to enter the random event spectating ( It will works only if forcePlayersToEnter is enabled )
forcePlayersToSpectate
: false

##Respawn on a random spawn in team games
teamMatchRandomRespawn
: false

##CAUTION. IT IS HIGHLY RECOMMENDED to let it true. If false, the plugin will not manage the items so players will join with own items and can lose them there.
##Some minigames might not work if its set to false (Splegg, TNT Tag...) as they need special items to work
inventoryManagement
: true

##Drops items after dying in a minigame
dropItemsAfterDie
: false

##Seconds to begin the match when the min players are fulfilled (minimum 3 seconds)
secondsToStartMatch
: 5

##Random disguise players to avoid teams (NEEDS LIBSDISGUISES TO WORK)
randomDisguisePlayers
: false
skinDisguisePlayers
: 'Dinnerbone'

##Highest priority level of events. Enable this to bypass damage protection of faction plugins for example.
highestPriorityDamageEvents
: false

##If true this will show the description of the minigame on player join instead of on match begin
showInfoMinigameOnJoin
: true

##Optional titles for some messages such as the seconds remaining to begin a match, turn this to true if you want to see titles instead of messages in chat.
optionalTitles
: false

##Cooldown for users that doesnt have the cooldown bypass permission for beginning a Random Event without using credits in /revent gui ( On seconds )
cooldownUsersBeginEvents
: 3600

##Commands that will be done each time a RandomEvent is fired
commandsOnEventFire
: [ ]

##Commands that will be done each time a player kill another one in certain Random Events
commandsOnKill
: [ ]

##Commands that will be done each time a user join a random event, use it in case you need to get the god mode off, to set the gamemode to survival, etc
commandsOnUserJoin
:
   - 'psa %player%'
##Commands that will be done each time a user leave a random event, use it in case you need to get the god mode off, to set the gamemode to survival, etc
commandsOnUserLeave
:
   - 'psa %player%'
##Commands that will be done when the match begin for all players, use it in case you need to get the god mode off, to set the gamemode to survival, etc
commandsOnMatchBegin
:
   - 'god %player% off'
##Commands that will be done when the match ends
commandsOnMatchEnd
:
   - 'broadcast %event% has ended'
##Allowed cmds in matchs. (DONT USE CAPS HERE)
allowedCmds
:
   - msg
    - ac
    - revent
    - randomevent
##Restrict to certain worlds
restrictWorlds
: false
##Allowed worlds for broadcast (DONT USE CAPS HERE)
allowedWorlds
:
   - 'world'

##################################################################
##                    SOME MINIGAMES SETUP                      ##
##################################################################

##Show world border in some minigames
showBorders
: false

##Force gamemode survival on minigames
forceGamemodeSurvival
: true

##Use scoreboard in some minigames
useScoreboard
: true

##Use particles in some minigames
useParticles
: false

##Seconds for several minigames to damage all players if they are not attacking each other
idleTimeForDamage
: 10

##Disable the multiple winners when they have the same points
disableMultipleWinners
: false

##Paint games give default weapon so you dont need to put it in the kit
paintGiveDefaultWeapon
: true

##Cooldown before respawning again in minigames with respawn
cooldownAfterDeath
: false

##Cooldown before respawning again in minigames with respawn
cooldownAfterDeathSeconds
: 4

##Equilibrate teams
equilibrateTeams
: true

##Force non empty teams. Only works if  equilibrateTeams is enabled
forceNonEmptyTeams
: true

##Seconds that a player is invincible after respawning in a top kill event (Put 0 to disable)
invincibleAfterRespawn
: 2

##Flag to allow using glow on certains events
activateGlow
: false

##################################################################
##                        KNOCKBACK DUEL                             ##
##################################################################

##Enable this to make a player lose when they fall into water in knockback duel minigames
waterKillKnockbackDuel
: false


##################################################################
##                          TOP KILLER                              ##
##################################################################

##Heal killer after a kill in Top Killer Minigame
topKillerHealAfterKill
: true

##################################################################
##                          ARROW RAIN                             ##
##################################################################

##Probability to spawn a power up of resistance in arrow rain games
probabilityPowerUp
: 1

##Arrow damage in arrow rain minigame
arrowRainDamage
: 10

##################################################################
##                          GEM CRAWLER                              ##
##################################################################

##Number of gems to win in gem crawler minigame
numberOfGems
: 10

##Number of seconds you have to save the gems to win in gem crawler minigame
numberOfSecondsWithGems
: 10

##################################################################
##                          TNT RUN                              ##
##################################################################

##Seconds to begin TNT_RUN so TNT will begin to disappear
warmupTimeTNTRUN
: 5

##Enable this to make a player lose when they fall into water in tntrun minigames
waterKillTNTRun
: false

##################################################################
##                          TNT TAG                              ##
##################################################################

##Speed duration on seconds for tnttag
speedDuration
: 100

##Lvl of the speed for the runners on tnttag
tntTagSpeedRunners
: 3

##Lvl of the speed for the holder of the tnt on tnttag
tntTagSpeedHolder
: 6

##It allow to kill all player in the radius
multipleKillOnExplosion
: true

##Radius for the explosion
radiusOfTNTTagExplosion
: 4

##Show a title when you got the bomb
useTitleWhenGetBomb
: false

##################################################################
##                          SKYWARS                              ##
##################################################################

##Maximum items in chests on Survival Games or Skywars minigames
maxItemOnChests
: 10

##Minimum items in chests on Survival Games or Skywars minigames
minItemOnChests
: 3

##Enable this to make a player lose when they fall into water in skywars minigames
waterKillSW
: false

##################################################################
##                      SURVIVAL GAMES                            ##
##################################################################

##Survival Games Area damage
sgAreaDamage
: 1

##Survival Games Blocks per Shrink
sgAreaShrinkBlocks
: 100

##Enable this to make a player lose when they fall into water in survival games minigames
waterKillSG
: false

##################################################################
##                           OITC                                    ##
##################################################################

##Heal killer after a kill in OITC Minigame
oitcHealAfterKill
: true

##################################################################
##                           RACE                                      ##
##################################################################

##Item material for checkpoint item
checkpointItem
: 'BLAZE_ROD'

##Item material for vanish item
vanishItem
: 'ENDER_EYE'

##################################################################
##                         QUAKECRAFT                                  ##
##################################################################

##Quake give default weapon so you dont need to put it in the kit
quakeGiveDefaultWeapon
: true

##Quake shoot distance
quakeShootDistance
: 50

##Cooldown to make a shoot on quake
quakeShootCooldown
: 1.5

##Cooldown to make a jump on quake
quakeJumpCooldown
: 2.5

##################################################################
##                         PAINTBALL                                  ##
##################################################################

##With infinite snowballs enabled you will just need 1 snowball on inventory
infiniteSnowballs
: true

##Snowball damage, normally a damage > 20 is instantkill
snowballsDamage
: 40

##################################################################
##                          SPLEEF                                  ##
##################################################################

##Enable getting snowballs that will break the floor on spleef
snowballSpleef
: false

##Enable this to make a player lose when they fall into water in spleef minigames
waterKillSpleef
: false

##Activate Idle damage on spleef to avoid afk camping
activateIdleDamageSpleef
: false

##################################################################
##                       ANVIL SPLEEF                                  ##
##################################################################

##Enable this to disable knockback from snowballs
avoidSnowballKnockback
: false

##Enable this to make a player lose when they fall into water in spleef minigames
waterKillAnvilSpleef
: false

##################################################################
##                          SPLEGG                                  ##
##################################################################

##Enable this to disable knockback from snowballs
avoidEggKnockback
: false

##Enable this to make a player lose when they fall into water in splegg minigames
waterKillSplegg
: false

##################################################################
##                        BOMBARDMENT                                  ##
##################################################################

##Enable this to make a player lose when they fall into water in bombardment minigames
waterKillBombardment
: false

##Offset of Y coord on bombardment, if you see your bombs on the minigame go higher than the foots of your player put this to -1 or -2
offSetYBombardment
: 0

##################################################################
##                         SPLATOON                                  ##
##################################################################

##Number of blocks that are paint in the radius
splatoonPaint
: 10

##Radios of blocks that are going to be painted on splatoon
splatoonRadius
: 2

##Splatoon Egg Damage
splatoonEggDamage
: 5

##################################################################
##                         BLOCK PARTY                              ##
##################################################################

##Material on the map that will be replaced by the blockPartyBlocks
blockPartyMaterial
: 'WHITE_WOOL'

##Material for the wait item
waitItemPartyMaterial
: 'TERRACOTTA'

##Blocks to use in BlockParty as colors
blockPartyBlocks
:
   - 'BLUE_TERRACOTTA'
    - 'BROWN_TERRACOTTA'
    - 'CYAN_TERRACOTTA'
    - 'GREEN_TERRACOTTA'
    - 'LIGHT_BLUE_TERRACOTTA'
    - 'LIME_TERRACOTTA'
    - 'MAGENTA_TERRACOTTA'
    - 'ORANGE_TERRACOTTA'
    - 'PINK_TERRACOTTA'
    - 'PURPLE_TERRACOTTA'
    - 'RED_TERRACOTTA'

##################################################################
##                    GREEN LIGHT RED LIGHT                         ##
##################################################################

##Seconds to check probability to stop the match
secondsCheckStopSong
: 1

##Probability to stop the song each time it checks
probabilityPerCheckToStopSound
: 30

#When the npc turn around, it will wait that ticks to kill people that moves (20 ticks = 1 second)
ticksAfterMusicStopToKill
: 10


##################################################################
##                    PARTICLES SETTINGS                            ##
##################################################################

##Allowed configurable particles ->
##EXPLOSION_NORMAL  || EXPLOSION_LARGE    ||  EXPLOSION_HUGE    ||  FIREWORKS_SPARK
##WATER_BUBBLE      || WATER_SPLASH       ||  WATER_WAKE        ||  SUSPENDED
##SUSPENDED_DEPTH   || CRIT               ||  CRIT_MAGIC        ||  SMOKE_NORMAL
##SMOKE_LARGE       || SPELL              ||  SPELL_INSTANT     ||  SPELL_MOB
##SPELL_MOB_AMBIENT || SPELL_WITCH        ||  DRIP_WATER        ||  DRIP_LAVA
##VILLAGER_ANGRY    || VILLAGER_HAPPY     ||  TOWN_AURA         ||  NOTE
##PORTAL            || ENCHANTMENT_TABLE  ||  FLAME             ||  LAVA
##CLOUD             || REDSTONE           ||  SNOWBALL          ||  SNOW_SHOVEL
##SLIME             || HEART              ||  BARRIER           ||  ITEM_CRACK
##BLOCK_CRACK       || BLOCK_DUST         ||  WATER_DROP        ||  MOB_APPEARANCE
##DRAGON_BREATH     || END_ROD            ||  DAMAGE_INDICATOR  ||  SWEEP_ATTACK
particleDeath
: 'EXPLOSION_NORMAL'
particleTNTTag
: 'REDSTONE'

##Particles forms:
##blackSun(radius, radiusRate, rate, rateChange)
##circle(radius, rate)                        
##crescent(radius, rate)                    
##cylinder(height, radius, rate)              
##diamond(radiusRate, rate, height)            
##ellipse(radius, radius2, rate)          
##eye(radius, radius2, rate, extension)      
##filledCircle(radius, rate, radiusRate)      
##illuminati(size, extension)                
##infinity(radius, rate)                      
##ring(rate, radius, radius2)              
##sphere(radius, rate)                        
##meguminExplosion(size)
##Use RANDOM to spawn one of the effects at a time randomly
particle
:
  type
: sphere
  size
: 1.0
  radius
: 1.0
  radiusRate
: 1.0
  radius2
: 1.0
  rate
: 4.0
  rateChange
: 1.0
  height
: 1.0
  extension
: 4.0
##################################################################
##                       TOURNAMENT CONFIG                          ##
##################################################################
tournament
:
  spawn
:
    world
: world
    x
: 0.0
    y
: 60.0
    z
: 0.0
    pitch
: 0.0
    yaw
: 0.0
  maxPlayers
: 64
  minPlayers
: 20
  numberOfRounds
: 5
  rewards
:
     - 'eco give %player% 10000'

##Spawn where the player will be teleported after minigame ends
spawn
:
  world
: world
  x
: 0.0
  y
: 60.0
  z
: 0.0
  pitch
: 0.0
  yaw
: 0.0
##################################################################
##                       STATS GUI CONFIG                          ##
##################################################################
##Use -1 to hide a stat in the GUI
statsmenu
:
  fill
: 'STAINED_GLASS_PANE'
  size
: 54
  ALLTIME
: 4
  BR
: 10
  BRT2
: 11
  LJ
: 12
  TKLL
: 13
  TKLLT2
: 14
  KBD
: 15
  EARR
: 16
  GEMC
: 19
  BOMB
: 20
  BOAT_RUN
: 21
  HORSE_RUN
: 22
  ESCAPE_FROM_BEAST
: 23
  RACE
: 24
  TNTRUN
: 25
  SPLEEF
: 28
  SPLEGG
: 29
  OITC
: 30
  SG
: 31
  TSG
: 32
  SW
: 33
  TSW
: 34
  ANVIL_SPLEEF
: 38
  WDROP
: 39
  QUAKE
: 40
  PBALL
: 41
  KOTH
: 42
  FISHSLAP
: 43
  HOE
: 37
  SPLATOON
: 44
  BOMBARDMENT
: 46
  BRTEAMS
: 47
  TKLLTEAMS
: 48
  PBALLTK
: 50
  TSGTEAMS
: 51
  TSWTEAMS
: 52
  REDGREEN
: 49
  BLOCKPARTY
: -1
  HIDEANDSEEK
: -1

##################################################################
##                         MYSQL CONFIG                          ##
##################################################################
##Enable MySQL to have statistics of the games!
mysql
:
  enabled
: false
  UUIDMode
: false
  host
: localhost
  port
: 3306
  database
: database
  username
: user
  password
: password
  maxLifeTime
: 45000 ##DONT TOUCH IF YOU DONT KNOW WHAT YOU ARE DOING


 
API USAGE

It is a static api so you can use it as RandomEventsAPI.method()

Some examples:
Code (Java):

public static List <Match > getMatches ( ) ;
public static MatchActive getMatch ( ) ;

//TODO The API will grow up with the suggestions of the buyers
 

Event Supported:

Code (Java):

@EventHandler
      public void onReventBegin (ReventBeginEvent event )
      {
          //TODO
      }
@EventHandler
      public void onReventEnd (ReventEndEvent event )
      {
          //TODO
      }
 

[​IMG]
[​IMG]
[​IMG]

There are several minigames you can configure and more are coming soon.

Here are a list of things you can configure with each minigame!


Battle Royale and Team Battle Royale:

A fierce battle where just 1 player or team can remain alive.

Top Killer and Team Top Killer:

Only the most powerful assasin can win this event, kill players to get points, the player with more points will get the rewards after <X> time of match.

Knight Battle:

A type of battle royale accompanied by your faithful horse. Be the last to stand to get the reward.

Knockback Duel / SUMO:

A battle where your attack power does not matter, you will have to make an strategy to get the enemies thrown away from the arena to get them killed! Be the last one who stands!

TNT Tag:

Run with the bomb and hit enemies to give it to them and avoid your own death. Each <X> time the bomb will explode and will get the player that had it and everyone near him dead.

Gem Carrier:

Random gems will spawn in the arena. Try to get all of them until you reach 10 gems or steal it from the enemies that has them. Stand 10 seconds more carrying your 10 gems and you will get your hands on the reward!

Boat Race:

Be the fastest sailor and reach the finish line before your pursuers!

Arrow Rain:

Avoid the arrows coming from the sky if you dont want to lose your head!

Races

Run and be the first to reach the goal to get your reward!

Run from the beast

The classic Run from the beast minigame! Beat the beast by completing all the scenario and get enough equipment to make damage to the beast!

TNT RUN

Run for your life, the tnt behind you will disappear, try to stay over them to win the match!

SPLEEF

Make the other players fall by breaking the blocks on their feets, be the one to stay safe to win the reward!

SPLEGG

Another type of Spleef but this time use your pistol to throw eggs that will break the floor!

One in the chamber

Game that arrows are letal, hit your enemies to get points and if you get out of arrows... Good luck!

Horse Run

Ride your horse and be the first to reach the goal to get your reward!

Skywars and Team Skywars

Fall in your island and search for your look to claim your victory!

Survival Games and Team Survival Games (Hunger Games)

Arm yourself to fight the enemies and get your reward!

Anvil Spleef

Avoid being smashed by anvils while looking at the floor disappearing because of them!

Water Drop

Multi Stage water drop. Be the first to handle all the maps and become the winner!

Quakecraft

The classic game Quakecraft where you will have to kill your enemies with your gun to be the winner

Paintball

Team paintball, kill your enemies with your snowballs!

KoTH

Be the one to reach the hill and dominate it as much time as you can to get the reward!

Fish Slap

Stay more time on the platform that your enemies to claim the win!

Hoe hoe hoe

Paint minigame, claim as much territory as you can and close your enemies to avoid them to expand

Splatoon

Paint all you can, get the floor and walls all painted to your color to be the winner!

Bombardment

Avoid the bombs coming for you, be the last one standing and claim the reward!

Block Party

Dance and search the colors you get to avoid falling to the void!

Hide & Seeek

Hide from the seeker or become a Seeker to kill all the hiders!

Glass Walk

Inspired on Squid Game series, glass walk minigame!


The creation of the arenas for the minigames are interactives and chat based, after the creation of the arena a JSON file is created. Thats an example:
That's a TNT Tag Event I configured for my server

Code (Text):
{
  "name": "Cerezos",
  "inventory": {
    "contents": [
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      "{\"type\":\"TNT\"}",
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null,
      null
    ],
    "helmet": "{\"type\":\"GOLD_HELMET\"}",
    "chestplate": "{\"type\":\"GOLD_CHESTPLATE\"}"
  },
  "amountPlayers": 30,
  "amountPlayersMin": 14,
  "playerSpawn": "{\"x\":\"649997.5\",\"y\":\"67.0\",\"z\":\"69995.5\",\"pitch\":\"-1.7996404\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"-179.68677\"}",
  "minigame": "BOMB_TAG",
  "spawns": [
    "{\"x\":\"849942.6233013485\",\"y\":\"67.0\",\"z\":\"89927.73323871447\",\"pitch\":\"7.6508527\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"2.9035645\"}",
    "{\"x\":\"849952.8274692118\",\"y\":\"67.0\",\"z\":\"89925.06015923781\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849962.5356990774\",\"y\":\"67.0\",\"z\":\"89925.71500137949\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849971.2132088551\",\"y\":\"67.0\",\"z\":\"89925.70816136338\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849980.506399855\",\"y\":\"67.0\",\"z\":\"89925.70083277469\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849990.6059888965\",\"y\":\"67.0\",\"z\":\"89932.17361297162\",\"pitch\":\"2.8508506\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"44.153046\"}",
    "{\"x\":\"849986.9802885945\",\"y\":\"67.0\",\"z\":\"90008.07018811424\",\"pitch\":\"-1.0491552\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"173.30298\"}",
    "{\"x\":\"849977.0018465791\",\"y\":\"67.0\",\"z\":\"90008.5576920172\",\"pitch\":\"-1.0491552\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"173.30298\"}",
    "{\"x\":\"849964.4671131066\",\"y\":\"67.0\",\"z\":\"90008.80183266044\",\"pitch\":\"1.2008446\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"185.45337\"}",
    "{\"x\":\"849952.632166835\",\"y\":\"67.0\",\"z\":\"90008.58068155173\",\"pitch\":\"1.2008446\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"185.45337\"}",
    "{\"x\":\"849938.4454556413\",\"y\":\"67.0\",\"z\":\"90006.37422375023\",\"pitch\":\"2.850844\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"212.30316\"}",
    "{\"x\":\"849935.5775426377\",\"y\":\"66.0\",\"z\":\"89991.27123217548\",\"pitch\":\"1.5008457\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"248.45343\"}",
    "{\"x\":\"849934.8928068962\",\"y\":\"64.0\",\"z\":\"89974.14895448094\",\"pitch\":\"9.000842\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"242.0036\"}",
    "{\"x\":\"849933.1489896713\",\"y\":\"64.5\",\"z\":\"89961.97825100168\",\"pitch\":\"4.950843\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"293.1537\"}",
    "{\"x\":\"849936.158493475\",\"y\":\"65.0\",\"z\":\"89951.1585638861\",\"pitch\":\"-1.3491566\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"318.35376\"}",
    "{\"x\":\"849946.8489804546\",\"y\":\"66.0\",\"z\":\"89950.78232372824\",\"pitch\":\"3.9008417\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"342.8039\"}",
    "{\"x\":\"849963.9885004557\",\"y\":\"66.0\",\"z\":\"89945.61372226676\",\"pitch\":\"0.15084317\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"10.104065\"}",
    "{\"x\":\"849979.6396013942\",\"y\":\"65.0\",\"z\":\"89948.80924812988\",\"pitch\":\"13.350841\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"43.703857\"}",
    "{\"x\":\"849987.4691091033\",\"y\":\"65.0\",\"z\":\"89960.21903509779\",\"pitch\":\"-0.5991617\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"86.75342\"}",
    "{\"x\":\"849989.6457658826\",\"y\":\"64.0\",\"z\":\"89971.45483919822\",\"pitch\":\"-2.5491614\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"93.95355\"}",
    "{\"x\":\"849988.1404826749\",\"y\":\"65.0\",\"z\":\"89981.60164109973\",\"pitch\":\"-1.3491594\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"107.4541\"}",
    "{\"x\":\"849989.7066127106\",\"y\":\"65.0\",\"z\":\"89993.18868366316\",\"pitch\":\"-4.34916\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"114.354614\"}",
    "{\"x\":\"849977.2192270755\",\"y\":\"67.0\",\"z\":\"89994.38951882365\",\"pitch\":\"3.9008374\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"151.10449\"}",
    "{\"x\":\"849960.3646767023\",\"y\":\"65.0\",\"z\":\"89991.67482577314\",\"pitch\":\"6.300839\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"177.20471\"}",
    "{\"x\":\"849944.5715873084\",\"y\":\"65.0\",\"z\":\"89990.24034125991\",\"pitch\":\"5.400838\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"215.30518\"}",
    "{\"x\":\"849950.3854629751\",\"y\":\"65.0\",\"z\":\"89977.91542996567\",\"pitch\":\"4.350837\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"224.00531\"}",
    "{\"x\":\"849953.5116295354\",\"y\":\"64.0\",\"z\":\"89967.75238404673\",\"pitch\":\"-5.6991644\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"280.8559\"}",
    "{\"x\":\"849967.3626433255\",\"y\":\"65.0\",\"z\":\"89964.52508232334\",\"pitch\":\"-0.44915968\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"45.207153\"}",
    "{\"x\":\"849969.589701893\",\"y\":\"65.0\",\"z\":\"89978.70911199847\",\"pitch\":\"0.90083975\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"121.40637\"}",
    "{\"x\":\"849960.7656794582\",\"y\":\"64.0\",\"z\":\"89972.73255920268\",\"pitch\":\"-7.349162\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"125.45691\"}"
  ],
  "spectatorSpawns": [
    "{\"x\":\"849942.6233013485\",\"y\":\"100.0\",\"z\":\"89927.73323871447\",\"pitch\":\"7.6508527\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"2.9035645\"}",
    "{\"x\":\"849952.8274692118\",\"y\":\"100.0\",\"z\":\"89925.06015923781\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849962.5356990774\",\"y\":\"100.0\",\"z\":\"89925.71500137949\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849971.2132088551\",\"y\":\"100.0\",\"z\":\"89925.70816136338\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849980.506399855\",\"y\":\"100.0\",\"z\":\"89925.70083277469\",\"pitch\":\"1.6508507\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"359.9034\"}",
    "{\"x\":\"849990.6059888965\",\"y\":\"100.0\",\"z\":\"89932.17361297162\",\"pitch\":\"2.8508506\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"44.153046\"}",
    "{\"x\":\"849986.9802885945\",\"y\":\"100.0\",\"z\":\"90008.07018811424\",\"pitch\":\"-1.0491552\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"173.30298\"}",
    "{\"x\":\"849977.0018465791\",\"y\":\"100.0\",\"z\":\"90008.5576920172\",\"pitch\":\"-1.0491552\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"173.30298\"}",
    "{\"x\":\"849964.4671131066\",\"y\":\"100.0\",\"z\":\"90008.80183266044\",\"pitch\":\"1.2008446\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"185.45337\"}",
    "{\"x\":\"849952.632166835\",\"y\":\"100.0\",\"z\":\"90008.58068155173\",\"pitch\":\"1.2008446\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"185.45337\"}",
    "{\"x\":\"849938.4454556413\",\"y\":\"100.0\",\"z\":\"90006.37422375023\",\"pitch\":\"2.850844\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"212.30316\"}",
    "{\"x\":\"849935.5775426377\",\"y\":\"100.0\",\"z\":\"89991.27123217548\",\"pitch\":\"1.5008457\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"248.45343\"}",
    "{\"x\":\"849934.8928068962\",\"y\":\"100.0\",\"z\":\"89974.14895448094\",\"pitch\":\"9.000842\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"242.0036\"}",
    "{\"x\":\"849933.1489896713\",\"y\":\"100.5\",\"z\":\"89961.97825100168\",\"pitch\":\"4.950843\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"293.1537\"}",
    "{\"x\":\"849936.158493475\",\"y\":\"100.0\",\"z\":\"89951.1585638861\",\"pitch\":\"-1.3491566\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"318.35376\"}",
    "{\"x\":\"849946.8489804546\",\"y\":\"100.0\",\"z\":\"89950.78232372824\",\"pitch\":\"3.9008417\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"342.8039\"}",
    "{\"x\":\"849963.9885004557\",\"y\":\"100.0\",\"z\":\"89945.61372226676\",\"pitch\":\"0.15084317\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"10.104065\"}",
    "{\"x\":\"849979.6396013942\",\"y\":\"100.0\",\"z\":\"89948.80924812988\",\"pitch\":\"13.350841\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"43.703857\"}",
    "{\"x\":\"849987.4691091033\",\"y\":\"100.0\",\"z\":\"89960.21903509779\",\"pitch\":\"-0.5991617\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"86.75342\"}",
    "{\"x\":\"849989.6457658826\",\"y\":\"100.0\",\"z\":\"89971.45483919822\",\"pitch\":\"-2.5491614\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"93.95355\"}",
    "{\"x\":\"849988.1404826749\",\"y\":\"100.0\",\"z\":\"89981.60164109973\",\"pitch\":\"-1.3491594\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"107.4541\"}",
    "{\"x\":\"849989.7066127106\",\"y\":\"100.0\",\"z\":\"89993.18868366316\",\"pitch\":\"-4.34916\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"114.354614\"}",
    "{\"x\":\"849977.2192270755\",\"y\":\"100.0\",\"z\":\"89994.38951882365\",\"pitch\":\"3.9008374\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"151.10449\"}",
    "{\"x\":\"849960.3646767023\",\"y\":\"100.0\",\"z\":\"89991.67482577314\",\"pitch\":\"6.300839\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"177.20471\"}",
    "{\"x\":\"849944.5715873084\",\"y\":\"100.0\",\"z\":\"89990.24034125991\",\"pitch\":\"5.400838\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"215.30518\"}",
    "{\"x\":\"849950.3854629751\",\"y\":\"100.0\",\"z\":\"89977.91542996567\",\"pitch\":\"4.350837\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"224.00531\"}",
    "{\"x\":\"849953.5116295354\",\"y\":\"100.0\",\"z\":\"89967.75238404673\",\"pitch\":\"-5.6991644\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"280.8559\"}",
    "{\"x\":\"849967.3626433255\",\"y\":\"100.0\",\"z\":\"89964.52508232334\",\"pitch\":\"-0.44915968\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"45.207153\"}",
    "{\"x\":\"849969.589701893\",\"y\":\"100.0\",\"z\":\"89978.70911199847\",\"pitch\":\"0.90083975\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"121.40637\"}",
    "{\"x\":\"849960.7656794582\",\"y\":\"100.0\",\"z\":\"89972.73255920268\",\"pitch\":\"-7.349162\",\"uuid\":\"71cf6352-fb5f-44b6-9257-41b542bb5e90\",\"yaw\":\"125.45691\"}"
  ],
  "secondsMobSpawn": 20.0,
  "rewards": [
    "dubilets give %player% 1"
  ]
}
 

[​IMG]

You can use /revent and /randomevents aliases.

  • /revent : Shows the commands help menu.
  • /revent stats : Shows the GUI for the stats
  • /revent join <password> : Thats not a command you will use manually. it will be done when you click the alert of the chat. The alert has the password associated to the random event.
  • /revent spec: Command to spectate match
  • /revent tjoin <password> : The same as join but for tournaments
  • /revent leave : Use it to leave the random event when you are on the lobby or spectator mode.
  • /revent tleave : The same but for tournaments
  • /revent stats: Shows the stats
  • /revent stats <player>: Shows the stats of a player
  • /revent forcestop: Force the stop of the minigame.
  • /revent spawnset: Set the spawn where the players will return after the event ends.
  • /revent tspawnset: Set the spawn where the players go when waiting for a tournament
  • /revent schedule <monday:tuesday...> <hour> <minute> : Create a schedule for a random event
  • /revent schedule <monday:tuesday...> <hour> <minute> <idevent>: Create a schedule for a specific random event
  • /revent matches/list: Show all the matches configurated with their ids.
  • /revent begin : Force the beginning of a random event.
  • /revent tbegin : Force the beginning of a tournament random event.
  • /revent begin <id> : Force the beginning of the random event with that id
  • /revent givecredits <player> <amount>: Give a amount of credits to force the beginning of a Random Event.
  • /revent givecredits <event> <player> <amount>: Give a amount of credits to force the beginning of a specific Random Event.
  • /revent credits: See balance of credits you have
  • /revent credits <player>: See credits of a player
  • /revent gui: Open the gui to force a Random Event
  • /revent toggleannouncement: Toggle the announcement of RandomEvent
  • /revent ban <player> <time> : Ban a player from RandomEvents
  • /revent unban <player> : Unban a player from RandomEvents
  • /revent create : Begin the creation of an arena for a random event.
  • /revent delete: Deletes a random event.
  • /revent disable: Disables a random event.
  • /revent enable: Enables a random event.
  • /revent edit <number>: Begin the edition of an arena for a random event.
  • /revent tp <number>: Teleport to the arena of a RandomEvent
  • /revent cancel: Cancel the creation of a random event.
  • /revent resetcredits: Reset credits from database
  • /revent resetcredits <player>: Reset credits from database
  • /revent resettries: Reset tries from database
  • /revent resettries <player>: Reset tries from database
  • /revent resettries <gamecode> <player>: Reset tries from database
  • /revent resettriesgame <gamecode>: Reset tries from database
  • /revent resetwins: Reset winsfrom database
  • /revent resetwins <player>: Reset tries from database
  • /revent resetwins <gamecode> <player>: Reset wins from database
  • /revent resetwinsgame <gamecode>: Reset wins from database
  • /revent reload: Reloads the plugin.
[​IMG]
  • randomevent.join : Perm to see the alerts to join the random events
  • randomevent.spec : Perm to spectate events
  • randomevent.leave : Perm to use /revent leave
  • randomevent.stats : Perm to use /revent stats
  • randomevent.tjoin : Perm to see the alerts to join the tournament random events
  • randomevent.tleave : Perm to use /revent tleave
  • randomevent.stats: Perm to use /revent stats
  • randomevent.stats.other: Perm to use /revent stats <player>
  • randomevent.give.credits: Perm to use /revent givecredits...
  • randomevent.announcement.toggle: Perm to use /revent toggleannouncement
  • randomevent.bal.credits: Perm to use /revent bal
  • randomevent.bal.credits.other: Perm to use /revent bal <player>
  • randomevent.gui: Perm to use /revent gui
  • randomevent.gui.cooldown: Perm to use /revent gui and force events without credits with a cooldown
  • randomevent.gui.cooldown.bypass: Perm to use /revent gui and force events without credits or cooldown
  • randomevent.admin.forcestop: Perm to use /revent forcestop
  • randomevent.admin.schedule : Perm to use /revent schedule
  • randomevent.admin.spawnset: Perm to use /revent spawnset
  • randomevent.admin.tspawnset: Perm to use /revent tspawnset
  • randomevent.admin.matches: Perm to use /revent matches
  • randomevent.admin.force: Perm to use /revent begin
  • randomevent.admin.ban: Perm to use /revent ban <player> <time>
  • randomevent.admin.unban: Perm to use /revent unban <player>
  • randomevent.admin.create: Perm to use /revent create
  • randomevent.admin.delete: Perm to use /revent delete
  • randomevent.admin.disable: Perm to use /revent disable
  • randomevent.admin.enable: Perm to use /revent enable
  • randomevent.admin.edit: Perm to use /revent edit <number>
  • randomevent.admin.teleport: Perm to use /revent tp <number>
  • randomevent.admin.cancel: Perm to use /revent cancel
  • randomevent.admin.resetcredits
  • randomevent.admin.resettries
  • randomevent.admin.resetwins
  • randomevent.admin.reload: Perm to use /revent reload

[​IMG]



[​IMG]

[​IMG]


[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]

Servers using it:
  • mc.survivaldub.com (Prision)
  • mc.fusionpvp.org
1.- Grab this plugin and my library (Lib1711, it only manages versions dependencies) into the plugins folder
2.- Run the server
3.- Execute the command /revent spawnset and begin creating random events with the /revent create command!



Metrics collection
This plugin collects anonymous server statistics through bStats, an open-source Minecraft statistics service.

If you'd like to disable metrics collection via bStats, you can edit the plugins/bStats/config.yml file.
[​IMG]
Resource Information
Author:
----------
Total Downloads: 784
First Release: Jul 10, 2020
Last Update: Jun 10, 2024
Category: ---------------
All-Time Rating:
54 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings