Mercerenies / a-turtles-troll

Random Minecraft shenanigans
GNU General Public License v3.0
4 stars 2 forks source link

Random events #14

Open EvanSkiStudios opened 2 years ago

EvanSkiStudios commented 2 years ago

every day (20 mins / 24K ticks) their is a 1 in 100 chance that the plugin kicks you from the server

EvanSkiStudios commented 2 years ago

Or every day like the pufferfish, their is a chance for Russian roulette where one player is picked to get arrows rained down on them until they are dead

Mercerenies commented 10 months ago

Expanding on this ticket to include Flip's ideas from #suddenly-an-idea.

Not all random events are as likely to happen. This is in place so that more chaotic random events can be created without everything going kaboom. Let's assume something like Pufferfish Rain has a chance of occuring of 1.0, while something like Trivia has 3.0. This means Trivia is 3x as likely to happen.

Mercerenies commented 10 months ago

Suggested random events (REC = Random Event Chance, a higher REC means it'll happen more often)

Mercerenies commented 10 months ago

(Putting this one in a separate comment because it's longer)

Direct quote from Flip:

Solar Eclipse Blood Moon Monster Hunt

REC: .6

Players will be notified that a solar eclipse blood moon will soon occur and are asked to hunt monsters. Once this event triggers the time is set to night. During this night the difficulty is set to hard and enemy spawn odds are greatly increased. A tracker will display how many monsters the players are tasked with killing.

The way this tracker works is that it's a healthbar equal to 25 + (35 x currently online players).

Every mob killed by a player removes a certain amount of health based on the mob killed. Some examples are:

Wither: 50 Iron Golem, Ghast: 10 Skeleton: 8 Piglin, Zombie Piglin, Slime: 7 Husk, Drowned, Creeper: 6 Zombie, Spider: 5 Chicken, Bear, Wolf: 2 Sheep, Cow, Villager, Cat: 1

If this healthbar is reduced to 0, then the time is immediately set to dawn, the difficulty is set to peaceful for the next Minecraft day, and all players will be given a Shulker Box which contains the following:

1 Random piece of chainmail armor. 1 Iron sword OR 1 Bow and 16 arrows 1 Random job site block 12 Random wood 3 Iron ingots 16 Bread

Mercerenies commented 9 months ago

https://github.com/Mercerenies/a-turtles-troll/commit/512482db75997455159983b77b8dc2beda601c0e migrates pufferfish to the new random event API. Will be migrating trivia next and then adding new events on top of that.

I probably won't do "randomly kicked", since you pretty much already do that on your side, Evan.

Mercerenies commented 9 months ago

Trivia is migrated: be5db5e