Sueta

Gamerules

1.1

A better way to set game rules

·Plugin

Why use this?
I wrote this plugin out of my sheer distaste for setting Gamerules. Every single time I've done map resets in the past, or set up new worlds, I've always had to remember to set up the Gamerules in each world. This is just inefficient, and I'd prefer to not think about it. So if you've experienced this like me, then this is the plugin for you!

Features:
Ability to set Gamerules very easily in a config
Ability to apply per world Gamerules, or Gamerules for all worlds

Commands:
/Gr reload - Reloads config (gr.reload)

Servers that use this:
mcaim.com
play.insanitycraft.net

Other Info:
I use this plugin on my server mcaim.com, however it is new, and may have issues, if you find one you can find me here https://discord.gg/2kBypdV

config.yml

# # # # # # # # # # # # # # # # # # # #
# Plugin Made by CodePunisher with <3 #
# # # # # # # # # # # # # # # # # # # #

# WARNING: With this plugin enabled, any worlds
# that are not listed here, have that gamerule
# reset back to default

# This is a true/false setting (Applies to all worlds)
AnnounceAdvancements: true

# Random Tick Speed Worlds
# The number is the tick-speed for that world
# To enable in all worlds add "all:<value>" in the list
# Disable by putting a random world name
RandomTickSpeedWorlds:
- my_world_here:3

# Worlds with no day light cycle
# The value past the colon is the time: Available times (Sunrise, Day, Morning, Noon, Afternoon, Sunset, Night, Midnight)
# FYI: The time you set it to in that specific world, will stick
# To enable in all worlds add "all:<time>" in the list
# Disable by putting a random world name
NoDayLightCycleWorlds:
- my_world_here:Afternoon

# Weather worlds
# The value past the colon is the weather: Available options (Clear, Storm)
# To enable in all worlds add "all:<weather>" in the list
# Disable by putting a random world name
WeatherWorlds:
- my_world_here:clear

# Worlds with no entity drops
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoEntityDropWorlds:
- my_world_here

# Worlds with no fire tick spread
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoFireTickWorlds:
- my_world_here

# Worlds with no mob loot drops
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoMobLootWorlds:
- my_world_here

# Worlds where mobs don't spawn naturally
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoMobSpawningWorlds:
- my_world_here

# Worlds where mobs can't grief
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoMobGriefingWorlds:
- my_world_here

# Worlds where natural regeneration is turned off
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoNaturalRegenerationWorlds:
- my_world_here

# Worlds where there aren't death messages
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoDeathMessagesWorlds:
- my_world_here

# Worlds where inventories are kept on death
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
KeepInventoryWorlds:
- my_world_here

# No fall damage worlds
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoFallDamageWorlds:
- my_world_here

# No fire damage worlds
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoFireDamageWorlds:
- my_world_here

# No drowning damage worlds
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoDrowningDamageWorlds:
- my_world_here

# No PvP worlds
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoPvPWorlds:
- my_world_here

# Worlds where TNT doesn't blow up blocks
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoTntExplodeWorlds:
- my_world_here

# Worlds where players don't get hungry
# To enable in all worlds add "all" in the list
# Disable by putting a random world name
NoHungerWorlds:
- my_world_here

Similar projects

Plugin →