(
ADDED) 1.16.5 support
(
ADDED) Added chat notifications when someone changes into a different gamemode. To see the notifications requires the permission "gmchange.notify".
This feature is toggleable in the config.yml and is disabled by default. (
ADDED) Added a feature where if you try to go into or get put into creative mode you will get blocked from going into creative without the bypass permission. To bypass this you will need the permission "gmchange.creative.bypass".
This feature is toggleable in the config.yml and is disabled by default. (
ADDED) When you die, you get put into a gamemode that is specified in console. To bypass this you will need the permission "gmchange.death.bypass".
This feature is toggleable in the config.yml and is disabled by default.
(
CHANGED) Made it so you can change people’s gamemodes from console.
If you find any bugs please report them on my support discord.
(
NOTICE) You will need to add the following to the bottom of your config.yml or regenerate your config.yml for the plugin to continue operating properly.
# Toggle if your gamemode gets changed when you/a player dies.
deathToggle: false
# The gamemode you want players to change into if a player dies.
# deathToggle must be set to true.
# 0 = Survival | 1 = Creative | 2 = Adventure | 3 = Spectator
deathGamemode: 2
# Do you want to make it so people can't access gamemode creative unless they have the bypass permission?
# Anti Creative (true or false - enable/disable)
antiCreativeToggle: false
# The error message to players trying to go into creative without bypass permission.
antiCreativeErrorMessage: '&c&l(!) &cYou do not have permission to go into creative &cmode. You need the &cbypass permission.'
# Do you want the notification feature of a gamemode change to enabled or disabled?
notifyToggle: false
# The message that should be displayed if you have gamemode change notification enabled?
# Color codes can be used.
# Use %player% to display the player name.
# Use %gamemode% to display the new gamemode.
notifyMessage: '&c&l(!) &6%player% &ahas just changed there gamemode to &6%gamemode%'
Sorry for the amount of updates adding stuff to the config.