HyperGamemodeSwap 1.4.8
Stop creative abuse and keep gameplay fair with HyperGamemodeSwap
🐛 Fixed it so that players with the bypass permission can break blocks that were placed by other players in creative.
🐛 Fixed a bug that caused inventories to not swap the first time a player switches gamemodes. (This only happened when the player's data files didn't exist yet, but it's fixed now)
🐛 Fixed a bug that caused some people to lose their inventory if the server was shut down or restarted while the player was still in the server.
🐛 Fixed a bug that caused some players to lose their inventory/xp/etc. when joining the server.
🐛 Fixed the bypass permission for blacklisted-items.
🐛 Fixed nightvision so that it lasts a lot longer than the 14 hours it lasted before (it now lasts about 3.4 years in case you're wondering).
🐛 Fixed an issue that caused inventories to not be restored properly when relogging.
🐛 Fixed gamemode commands so that it will now run the commands for the gamemode you swap to, not the gamemode you swapped from.
🏹 Adds the ability to set commands that will run when a player's inventory is swapped, you can set different commands for each gamemode in the config.
🐛 Fixed the hgs.bypass permission to stop players with that permission from having their inventory/ender chest/etc. swapped.
🐛 Fixed item-use-prevention to prevent players in creative from using projectiles. (Bows, snowballs, tridents, splash potions, etc.)
🐛 Fixed item-drop-prevention not working properly.
🐛 Fixed an issue that caused stackable blocks (sugar cane, cactus, dripleaf, dripstone, carpet, scaffolding, etc.) to drop items when broken in creative.
🐛 Fixed an issue that caused non-solid blocks around any block destroyed in creative to be destroyed.
🐛 Some other small bug fixes.
🔨 Added support for most (if not all) plugins that have custom vehicles.
🔨 Renamed a config option from 'unable-to-break-msg' to 'unable-to-interact-msg' and slightly changed the message for it. (The plugin may not work properly if you don't let the plugin regenerate the config or rename it how I did)
As far as I'm aware, the plugin should now completely prevent people from abusing creative mode! If not, please report any bugs in the Discord server!
🐛 Fixed an issue where if a block was broken in creative, the grass/flowers/etc. next to it would also break.
🐛 Fixed an issue that caused players in creative to not be able to place item frames and similar blocks onto other blocks.
🐛 Fixed a bug that would let you open containers in creative if you were shifting.
🏹 Added a prevention that removes players from vehicles if they enter the vehicle in survival/adventure and then switch to creative. (vehicle-enter-prevention)
🏹 Added a config option to be able to combine the inventories for survival mode & adventure mode.
🐛 Fixed a major issue that broke swapping completely.
🐛 Fixed a bug where if you placed gravity blocks too quickly, it would spam errors in the console and not store them properly.
🐛 Fixed /getitem to where it won't let you get blacklisted items.
🔨 Made it so that if a block that was placed in creative is exploded, the item(s) will now either not drop, or not break (depending on the config options for track-block-placement)
🔨 Made it to where if a player interacts with a blacklisted item, it will be removed from their inventory.
🐛 Fixed a major bug that caused inventory swap to be completely disabled, it should function normally now.
🐛 Fixed lily pads so they won't drop when broken in creative.
🐛 Fixed bug where commands from certain plugins weren't able to be blacklisted properly.
🔨 Removed the inventory-swap-enabled config option because it didn't do anything, please use the separate-inventories-enabled config option instead.
🔨 Optimizations to the code.
🐛 Fixed an error involving gravity blocks that would happen when a block is broken.
🐛 Fixed incompatibilities with protection based plugins.
🔨 Improved gravity blocks prevention.
🔨 Made it so that you can't use a crafting table in creative (due to some servers having plugins that keep the items in the crafting table when closing the menu).
🐛 Fixed an issue that caused container-use-prevention to stop working.
🐛 Fixed an issue with item-use-prevention causing players to not be able to remove the fire from a campfire.
🐛 Fixed an issue preventing players from being able to strip logs.
🔨 You can no longer interact with blocks that were placed by someone in creative if block tracking is enabled.
🏹 Added support for 1.20 and 1.20.1.
🐛 Fixed commands not working properly when ran through the server console.
🔨 Optimized some code.