Skip to content

katorlys/GameruleLocker

GameruleLocker

A simple Minecraft plugin to lock gamerules in all worlds in the server.

Introduction

Tired of configuring gamerules every time you create a new world? Forgot to set the gamerules after changing them?

This plugin can help you automatically set the gamerules in all worlds, followed by a simple configuration file.

Commands

/gamerulelocker

Aliases: /gamerulelock, gamerulel, /gml.

  • gamerulelocker execute - Auto-set the gamerules immediately.
  • gamerulelocker reload - Reload plugin configuration.

Permissions

gamerulelock.use

Allows the player to use /gamerulelocker commands.
Default: OP

Config

config.yml:

# Will be executed automatically once every time the server finishes starting, and can also be triggered with /gamerule execute.

# Please make sure the game rule exists and the corresponding value is valid. Otherwise, your settings will be invalid.
# For the worlds key, use "*" to indicate all worlds. (Be sure to use quotes, otherwise using * will cause an error)
# If you specify a non-existent game rule, value, or world, the plugin will automatically ignore it.

# Example:
# keepInventory:
#   value: true
#   worlds: "*"

keepInventory:
  value: true
  worlds: "*"
randomTickSpeed:
  value: 10
  worlds: world, world_nether, world_the_end

Notice

  • Test before reviewing. Please don't leave bad reviews if you dislike it.
  • If you find a bug, still don't know how to use the plugin, or have new features to suggest, make sure you're using the lastest version of the plugin and then report bugs on Github. DO NOT use the review section to do these things, or you won't receive any support!
  • Have any other issues or questions? Go to Discussions for further assistance.

About

A simple Minecraft plugin to lock gamerules in all worlds in the server.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages