GuestMode icon

GuestMode -----

Disables Players without the given Permission to Craft, Build, break Blocks etc.




Changelog:
  • Added that you can now disable just the building/breaking of specific blocks if you're allowing to build/break in general. There's 2 new lists in your config.yml where you can add the corresponding materials of your desire.
    • For Example: If you're adding "GRASS_BLOCK" there, your Guests can break or place dirt but are unable to destroy the default grass block of minecraft.
    • This Feature is experimental and can change in upcoming updates so keep this in mind and the feedback coming.
    • Thanks for the request romibi on Discord
  • Improved the checks for building and/or breaking of blocks.
  • Improved the checks for entity damaging.
  • Fixed that non Guests (e.g. Operator or approved Players) got moved to the servers default Gamemode on join.
    • Thanks for the report kkarnokk on Discord.
  • Fixed an issue preventing Guests to damage Entity's (e.g. Boat, Horse, Fish etc.).
    • Thanks for the report Khryus on Discord
  • Config Cleanup and some information has been updated there, too.
  • Code Cleanup

You have to update the config! Make sure you keep a backup of your old. (just in case) :)

As always: Thanks for using (or still using) my Plugin. <3
----------, Jan 22, 2022

Changelog:
  • Some interactions weren't properly blocked because I missed to change the check for them (since the renaming in 2.0.7). Thanks for the report Khryus on Discord
  • Adding some new materials based on your feedback to a fresh generated config. You can find the full list on the plugins main page! :)
No need to update the Config (if you already have since 2.0.7). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Dec 3, 2021

Changelog:
  • Renamed "Interact" to "BlockInteract" in config.yml
    • BlockInteract prevents interaction (LMB & RMB) with most of the Blocks.
    • This change helps to identify its function a bit better. :)
    • Thanks for the feedback Mervin on Discord
  • Adding new Command "/gmworld" or "/guestmode:gmworld" which tells you, if your current world is correctly set in the "BlockedWorlds"-List in config.yml - Thanks for the Feedback TamTam on Discord
    • The Command is OP only by default so Guests are unable to check for 'open gates'. ;)
  • Fixed that Guests are unable to eat food if you disabled hunger in config.yml - Thanks for the report Alex_Hansen on Discord
  • A fresh generated messages.yml should now saved by default in utf8 to prevent issues with letters like 'ö,ä,ü,ê' etc.

Make sure the 'Interact' boolean in config is renamed to 'BlockInteract'. The default value is 'true'!

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 29, 2021

Changelog:
  • Adding <UUID> to "CommandsToRun"-Section as an option. If you replace the <Player>-Tag with <UUID> the Commands will use the players UUID instead of their username. This is helpful if you use username prefixes (e.g. on floodgate for bedrock users) and your permissions-system is not finding that user with the prefixed username (e.g. /unguest .woweepaw). You can see an example in the spoiler! uwu
  • Cleanup

Code (YAML):
CommandsToRun :
- 'lp user <UUID> permission set group.member true'
- 'lp user <UUID> permission unset group.default'
- 'gamemode survival <Player>'

No need to update the Config (if you already have since 2.0.1). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 20, 2021

If you don't want this right now you can ignore this update because it's not adding anything else. You can always opt-out by setting the "enabled" boolean to false in the bStats config, in your PlugIns directory. But I hope you don't because this will help me getting some usage Stats. :)

Changelog:

  • Adding bStats to get some better insights in the future (e.g. which MC Version is mostly used or how many Servers use my Plugin). I didn't added this earlier because I wanted to keep the filesize as low as possible. This increases the filesize a bit but it's the best free and commonly used way to get the insights. :)

No need to update the Config (if you already have since 2.0.1). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 16, 2021

Changelog:
  • Fixed that already unguested (even offline unguested e.g. by setting their permission the manual way) players werent set to the servers default Gamemode on next join. Thanks for pointing this out Pepperjack
  • Cleanup

No need to update the Config (if you already have since 2.0.1). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 9, 2021

Changelog:
  • Added a missed check for Guests to the "no damage at all" handling. I missed that one I'm sorry. uwu'
    • checked everything and 2.0.3 seems fine now. :3

No need to update the Config (if you already have since 2.0.1). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Apr 2, 2021

Changelog:
  • Fixed a critical issue with the "no drops on death" handling. I've missed to remove two lines which caused the handler to remove items and gained experience (not the level) on death.
    • Maybe this is obsolet now with the "no damage at all" implementation. Keeping it for now because some peeps always find a way! x3
  • Fixed that other Players could attack Guests. This should now be disabled. If they can't attack you, you should not attack them.
  • Added that Guests no longer get any real Damage from any cause if you disabled "GuestsCanDie".
  • Cleanup

No need to update the Config (if you already have since 2.0.1). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Apr 2, 2021



Changelog:

  • Added that Players do not drop items and exp if they died. I've also added a second option that teleports them back to their old position after respawn. This only works if they did not died in lava or other "unreachable" positions. I need some Feedback on this one and please let me know if I missed something. Consider this Feature as "In Development" until stated otherwise. :)

You need to update the Config.

This is the part of the config you have to update/add. Marked with '>>' | '< ... >' means just a skip so I don't have to copy the full config again. You can find the full config on the main page!
Code (YAML):
< ... >
#
# GuestsCanChat - If this is disabled your Guests can no longer use chat to talk.
#                 If you run Commands on Join you need to set RunCommandsAs to 'Console' for them to work.
#
>> # GuestsCanDie - If disabled your Guests are unable to die
>> #                They also do not drop EXP and Items and should never see any Deathscreen
>> #                There's also no message in chat
>> #
>> #                Set OldPositionOnDeath to true if you want them to teleport back
>> #                to their old position if they died. This will not work if they died in Lava
>> #                and (based on your feedback) other "unreachable" positions.
>> #
HealGuests
: false
DisableHunger
: false
GamemodeOnJoin
: 'Adventure'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'
CommandsOnJoin
: [ ]
RunCommandsAs
: Console
DisallowMultipleUnguest
: true
GuestsCanChat
: true
>> GuestsCanDie
: true
>> OldPositionOnDeath
: false
< ... >

As always: Thanks for using (or still using) my Plugin. <3
----------, Apr 1, 2021

This release took me way longer than it should have. Sorry that you had to wait. :3

Changelog:

  • Fixed that Villagers were still attackable by Guests if PassiveEntityDamage was set to true. Thanks for the report squeezer !
  • Added new default materials suggested by squeezer !
  • Added that Guests can no longer use beds to (re-)set their Spawnposition. They still see the Message "Spawnposition set" but that's something from the Client (I researched a lot for this) I cannot change (or I've not found out how, yet). Take note that the Spawnposition for Guests will always set to the default Worldspawn (so make sure you've set it to the correct position if you enable this). Suggested by Noiverre !
  • Added that you can block Chatting for Guests completly. They can still read it but are no longer able to write into chat (except commands you're allowing). Suggested by lesxmore !

You need to update the Config.

This is the part of the config you have to update/add. Marked with '>>' | '< ... >' means just a skip so I don't have to copy the full config again. You can find the full config on the main page!
Code (YAML):
< ... >
# DisallowMultipleUnguest - Disable this if you prefer the old way of unguesting
#                           this disables the 'is online' check and also the prevention of doubled unguesting
#                           sadly there's no other way to prevent this (as far as I can see)
#
>> # GuestsCanChat - If this is disabled your Guests can no longer use chat to talk.
>> #                 If you run Commands on Join you need to set RunCommandsAs to 'Console' for them to work.
#
#
HealGuests
: false
DisableHunger
: false
GamemodeOnJoin
: 'Adventure'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'
CommandsOnJoin
: [ ]
RunCommandsAs
: Console
DisallowMultipleUnguest
: true
>> GuestsCanChat
: true
< ... >
#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
# BlockedMaterials - List all Materials (Item/Blocks) Guests should be unable to use.
#                    NOT case sensitive but I recommend it for better readability ;)))))
#                    Legacy Materials are also blocked if you list the not so legacy (srsly... don't list the legacy ones...) versions of them... ;)))))
#
BlockPlacement
: true
BlockBreak
: true
Interact
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
PassiveEntityDamage
: true
AggressiveEntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true
DragItemsFromInventory
: true
Elytra
: true
>> EnterBed
: true
BlockedMaterials
:
< ... >
>> - OAK_TRAPDOOR
>> - SPRUCE_TRAPDOOR
>> - BIRCH_TRAPDOOR
>> - JUNGLE_TRAPDOOR
>> - ACACIA_TRAPDOOR
>> - DARK_OAK_TRAPDOOR
>> - CRIMSON_TRAPDOOR
>> - WARPED_TRAPDOOR
 

As always: Thanks for using (or still using) my Plugin. <3
----------, Mar 27, 2021

Changelog:
  • Split the "EntityDamage" node into Passive and Aggressive Mobs. You can now decide if only one or both sides are blocked. If you (for example) set Passive to false, your Guests are able to attack Sheeps, Cows and so on. Same goes for Aggressive. Both are blocked by default. Thanks for the suggestion (on discord) romibi
  • Added a new option to disable hunger completly for Guests. While enabled they won't drop any hunger while sprinting, moving and so on. Thanks for your suggestion (on discord) TintedMint

You need to update the Config.

This is the part of the config you have to update/add. Marked with '>>' | '< ... >' means just a skip so I don't have to copy the full config again. You can find the full config on the main page!
Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.9.9 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
>> #
>> # Disable Hunger - If enabled your Guests won't suffer from Hunger
>> #                  ATTENTION: This only keeps your Players fed but never insta-heals them! Enable "HealGuests" to also keep them fully healed all the time.
>> #
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
# CommandsToRun - Commands running on /unguest <Player>
#                 guestmode.unguest Permission required
#                 [] = disabled
#
# CommandsOnJoin - Commands running on Join for unguested Players
#                  (default this is empty just build a list like on CommandsToRun)
#                  [] = disabled
#
# RunCommandsAs - Choose if the Current Player or the Console should run the Commands
#                 Allowed Values: Player | Console
#
# DisallowMultipleUnguest - Disable this if you prefer the old way of unguesting
#                           this disables the 'is online' check and also the prevention of doubled unguesting
#                           sadly there's no other way to prevent this (as far as I can see)
#
HealGuests
: false
>> DisableHunger
: false
GamemodeOnJoin
: 'Adventure'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'
CommandsOnJoin
: [ ]
RunCommandsAs
: Console
DisallowMultipleUnguest
: true
< ... >
#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
# BlockedMaterials - List all Materials (Item/Blocks) Guests should be unable to use.
#                    NOT case sensitive but I recommend it for better readability ;)))))
#                    Legacy Materials are also blocked if you list the not so legacy (srsly... don't list the legacy ones...) versions of them... ;)))))
#
BlockPlacement
: true
BlockBreak
: true
Interact
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
>> PassiveEntityDamage
: true
>> AggressiveEntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
< ... >

As always: Thanks for using (or still using) my Plugin. <3
----------, Jan 21, 2021

I wish you, in advance, a merry Christmas and a happy new year. Please stay healthy and hopefully everyone of you is not alone in this mess of a year. <3

Changelog:

  • Fixed a Problem causing the command blocking function sometimes not blocking commands. Thanks for the report Atuer
  • Added a Option in config disallowing multiple use of unguest on the same player. This also adds a "is online"-check and disallows unguesting of offline players. You can disable that in your updated config! Default = on. Thanks for your suggestion Atuer
  • Cleanup

You need to update the Config.

This is the part of the config you have to update/add. Marked with '>>'
Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.9.8 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
# CommandsToRun - Commands running on /unguest <Player>
#                 guestmode.unguest Permission required
#                 [] = disabled
#
# CommandsOnJoin - Commands running on Join for unguested Players
#                  (default this is empty just build a list like on CommandsToRun)
#                  [] = disabled
#
# RunCommandsAs - Choose if the Current Player or the Console should run the Commands
#                 Allowed Values: Player | Console
#
>> # DisallowMultipleUnguest - Disable this if you prefer the old way of unguesting
#                           this disables the 'is online' check and also the prevention of doubled unguesting
#                           sadly there's no other way to prevent this (as far as I can see)
#
HealGuests
: false
GamemodeOnJoin
: 'Adventure'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'
CommandsOnJoin
: [ ]
RunCommandsAs
: Console
>> DisallowMultipleUnguest
: true

As always: Thanks for using (or still using) my Plugin. <3
----------, Dec 5, 2020

Changelog:
  • Fixed a missing null check on the Vehicle Event. Thanks for the report Atuer
  • Fixed that Paintings and Itemframes (without Items) still being breakable by Guests. Thanks for the report Atuer
  • Cleanup

No need to update the Config (if you already have since 1.9.0). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 3, 2020

First of all: Sorry for the small updates close to eachother. Normally I only would do this if there's a critical issue that has to get fixed asap. So just skip 1.9.4 and move on with this one...

Changelog:

  • Adding that you can now block Vehicle interact and/or break by enable the blocking for "Interact" and "EntityDamage" in config. No additional configuration needed.

    Suggested, once again, by Atuer

No need to update the Config (if you already have since 1.9.0). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 2, 2020

Changelog:
  • Adding that you can now block (if available) all legacy (do not list the legacy ones... srlsy! It's doing that on it's own x3) and non legacy entitys listed in BlockedMaterials.

    For example:
    If you put "ITEM_FRAME" into it (because it's an entity and not a block) your Guests are no longer able to interact (e.g. rightclick) with them.

    You can ofc. list any other type of Entity there but I recommend just adding those "blockish" ones that are not handled as a block. Feel free to try some stuff and report back if anything wonky happens. :D

    Suggested by Atuer
  • Small cleanup/improvements here and there

No need to update the Config (if you already have since 1.9.0). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Aug 2, 2020

Changelog:
  • This Update fixes a Problem with Commands having args not getting allowed even if the actual command e.g. /warp is allowed.

    If you enable /warp you now also enable, for example, /warp spawn and so on. Please make sure you're blocking the sub-commands/args if the plugin(s) support that e.g. by permission. First scenario was never intentional so (even if this was helpful) it was a bug. Surry! :3
  • Added the Version of the Plugin to the Console Log on load, disable and reload
  • Some code Cleanup/Improvements

No need to update the Config (if you already have since 1.9.0). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. We're close to 300 Downloads. <3
----------, Aug 1, 2020

Changelog:
  • If you didn't know: 1.16.x was already supported. You're welcome. Please report bugs/issues or send some feedback (if you want or encounterd them) into the discussions section. Have fun exploring the new Nether.
  • Adding /guestmode:reload-Command which reloads all configs and the plugin so Admins can reload their changes to take affect. This is an alternative command if you don't want to use plugman to do this job. Thanks for the suggestion seshipma ! :)

No need to update the Config (if you already have since 1.9.0). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using (or still using) my Plugin. <3
----------, Jul 27, 2020

Changelog:
  • Fixed a little bug causing Commands for /unguest not getting executed as Player if "SendAs" was set to "Player".
No need to update the Config (if you already have since 1.9.0). Just grab the Update and replace in your Plugins directory.

As always: Thanks for using my Plugin. <3
----------, Feb 27, 2020

Update-Video:


Please read the full Changelog so you won't run into any issues regarding this update.


Changelog:

  • Moved the blocked Materials part from Code to Config which heavily reduced the Filesize so this is a big win... oh and ofc. you can now add new Materials on your own! :)
    • Also added TNT and the Jukebox by default
  • Added an Option to select how Commands should either get run by Console (default) or by the Player
  • Added an Option to run Commands after the Player has Joined your Server. This was suggested by RabidHuman
  • Added an Option to block the dragging of Items from Inventories (own and ofc. Chests/other Containers). If you want Guests to be able to open Chests but not being able to take Items. Suggested by TecnaGamer
Make sure to update your config.yml

Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.9.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
# CommandsToRun - Commands running on /unguest <Player>
#                 guestmode.unguest Permission required
#                 [] = disabled
#
# CommandsOnJoin - Commands running on Join for unguested Players
#                  (default this is empty just build a list like on CommandsToRun)
#                  [] = disabled
#
# RunCommandsAs - Choose if the Current Player or the Console should run the Commands
#                 Allowed Values: Player | Console
#
HealGuests
: false
GamemodeOnJoin
: 'Adventure'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'
CommandsOnJoin
: [ ]
RunCommandsAs
: Console

#
# Particles
#
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# BlockedWorlds - List of Worlds you want GuestMode to be active
#                 [] = enable in all
#
# List of valid Particles:
#                               [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                               CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                               DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                               FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                               LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                               SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                               SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                               WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0
BlockedWorlds
:
- world
- world_nether
- world_the_end

#
# Block Command Usage - If enabled, Players without Permission are unable to use any Command (except the ones you're allowing)
#
# Allowed Commands - The List of Commands that a Guest is able to use (requires that BlockCommandUsage = true)
#                    [] = disabled
#
BlockCommandUsage
: false
AllowedCommands
:
- spawn

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
# BlockedMaterials - List all Materials (Item/Blocks) Guests should be unable to use.
#                    NOT case sensitive but I recommend it for better readability ;)))))
#                    Legacy Materials are also blocked if you list the not so legacy (srsly... don't list the legacy ones...) versions of them... ;)))))
#
BlockPlacement
: true
BlockBreak
: true
Interact
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true
DragItemsFromInventory
: true
Elytra
: true
BlockedMaterials
:
- FLINT_AND_STEEL
- FIREWORK_ROCKET
- SPLASH_POTION
- LINGERING_POTION
- ELYTRA
- LEVER
- DAYLIGHT_DETECTOR
- CROSSBOW
- BOW
- TRIDENT
- LEAD
- SHEARS
- FISHING_ROD
- SNOWBALL
- FIRE_CHARGE
- ENDER_PEARL
- ENDER_EYE
- END_CRYSTAL
- SWEET_BERRY_BUSH
- BELL
- TNT
- JUKEBOX

Thanks again for all your Feedback, Bugreports and (like always) thanks for using my Plugin. <3

PS: If you want to share a translation (or corrected one) for this Plugin, send it to the Discussions section or write me the .yml-Code on Discord and I'll add it to the default generation.
----------, Feb 25, 2020

Update-Video:


First of all:
Thanks for >100 Downloads. Yeah yeah ... that's new (and a bit late) ... I know.
Please read the full Changelog so you won't run into any issues regarding this update.

Changelog:

  • Fixed a bug that caused the "block Commands"-Feature to not work since we switched Messages to be multilingual.
  • Fixed that the joining Message was not shown in the selected Clients language (if supported by your Server ofc.).
  • Fixed a bug causing Items to vanish away into the endless Void of Voidness by picking up an Item as a Guest and closing the Inventory while holding said Item (you know ... the move item in inventory stuff). Thanks for the report RabidHuman
  • Added that Armorstands no longer interact with Guests.
  • Added that a lot of Items/Blocks are no longer interacting with Guests.
    • Elytra
    • Bows
    • Crossbows
    • Snowballs
    • Levers
    • Flint and Steel
    • Firework
    • Lingering Potions
    • Splash Potions
    • Tridents
    • Leads
    • Shears
    • Fishing Rods
    • Fire Charge(s??)
    • Ender Pearls
    • Ender Eyes
    • End Crystals
    • Sweet Berry Bushes
    • Bell(s)
    • the legacy Versions of the above

Make sure to add the following to the end of your config.yml

Code (YAML):
Interact : true
Elytra
: true
of just copy/replace this to the file
Code (YAML):
#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
Interact
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true
Elytra
: true


Thanks again for all your Feedback, Bugreports and (like always) thanks for using my Plugin. <3

PS: If you want to share a translation (or corrected one) for this Plugin, send it to the Discussions section or write me the .yml-Code on Discord and I'll add it to the default generation.
----------, Feb 6, 2020

BEWARE! This update changes the default config so you have to update or regenerate it if you switch to this Version.

Changelog:

  • Added a messages.yml which now stores every string for messages (e.g. No permission, Player join etc.). You can alter this messages.yml to your needs and add more languages. By default you have "en_us, de_de and es_es" supported. If you add another language make sure you keep the layout of this file! Language is taken from Client so de_de Clients see the German message instead of the English one.
  • Code cleanups
Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.7.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
# CommandsToRun - Commands running on /unguest <Player>
#                guestmode.unguest Permission required
#
#
HealGuests
: false
GamemodeOnJoin
: 'Adventure'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'
- 'gamemode survival <Player>'

#
# Particles
#
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# BlockedWorlds - List of Worlds you want GuestMode to be active
#                 [] = enable in all
#
# List of valid Particles:
#                               [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                               CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                               DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                               FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                               LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                               SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                               SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                               WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0
BlockedWorlds
:
- world
- world_nether
- world_the_end

#
# Block Command Usage - If enabled, Players without Permission are unable to use any Command (except the ones you're allowing)
#
# Allowed Commands - The List of Commands that a Guest is able to use (requires that BlockCommandUsage = true)
#                    [] = disabled
#
BlockCommandUsage
: false
AllowedCommands
:
- spawn

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true

Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.7.0 (SNAPSHOT)
#
# Default (en_us, de_de & es_es) Translation by D3thw0lf | https://twitch.tv/woweepaw
# <Translation> <YourNameHere> | <YourWebsite>
#
# Language Codes: https://minecraft.gamepedia.com/Language
#
##############################################################################################
#
# UnguestMessage - Message shown if someone allowed is using /unguest <Player>
#                  '' = disabled
#
# NoPermissionMessage - Message shown if someone not allowed is using /unguest <Player>
#                       '' = disabled
#
# MessageOnPlayerJoin - The Message shown to Guests when they're joining. Use \n for new Lines
#                       '' = disabled
#
# BlockedActionMessage - The Message shown if any blocked Action was performed.
#                        '' = disabled
#
#
# default - The Language used if the clients selected language is not added/supported (yet)
#
default
: en_us
lang
:
  en_us
:
    UnguestMessage
: '&a<Player> is no longer in GuestMode'
    NoPermissionMessage
: '&cYou don''t have permission to run that Command.'
    MessageOnPlayerJoin
: '&e&lYou''re in GuestMode.\n&9&lPlease contact an &c&lAdmin&9&l to get permissions.'
    BlockedActionMessage
: '&c&lGuests can''t do that. Please contact an Admin to get permissions.'
  de_de
:
    UnguestMessage
: '&a<Player> ist nicht länger im GuestMode'
    NoPermissionMessage
: '&cDu hast keine Berechtigung für diesen Befehl.'
    MessageOnPlayerJoin
: '&e&lDu befindest dich im Gastmodus.\n&9&lBitte kontaktiere einen &c&lAdmin&9&l um freigeschaltet zu werden.'
    BlockedActionMessage
: '&c&lGäste können dies nicht tun. Kontaktiere einen Admin um freigeschaltet zu werden.'
  es_es
:
    UnguestMessage
: '&a<Player> ya no está en modo invitado'
    NoPermissionMessage
: '&cNo tiene permiso para ejecutar ese comando.'
    MessageOnPlayerJoin
: '&e&lEstás en modo invitado.\n&9&lPóngase en contacto con un &c&lAdministrador&9&l para ser desbloqueado.'
    BlockedActionMessage
: '&c&lLos invitados no pueden hacer eso. Póngase en contacto con un administrador para obtener permisos.'

PS: If you want to share a translation (or corrected one) for this Plugin, send it to the Discussions section or write me the .yml-Code on Discord and I'll add it to the default generation.

And as always: Thanks for using my Plugin. <3
----------, Feb 5, 2020

No need to update the Config (if you already have since 1.6.0).
Just grab the Update and replace in your Plugins directory.


Changelog:
  • Fixed that /unguest or /guestmode:unguest now returns a message that you have to add a Playername for it to work. This fixes a "null" error in console/log because we can't unguest "nothing". Thanks for reporting Turboline!
  • Just some small codestyle improvements here and there, too.

And as always: Thanks for using my Plugin. <3
----------, Feb 3, 2020

This Update can get ignored!

Just a small improvement
. No need to update the Config (if you already have since 1.6.0).

Just grab the Update and replace in your Plugins directory if you want to use the unguest command directly via Console and not as Player only!

---------------

+ Added another Server to the Plugins Description. Check 'em out if you want. And let me know if you want yours listed, too!
---------------

As always: Thanks for using my Plugin. <3
----------, Feb 2, 2020

This Update adds that Players (with the given Permission) can unguest other Players. So for example you can give your Mods the Permission " guestmode.unguest" (default = op only) and they can run the /unguest <Player> Command.

You have to add the required Commands to your updated Config for the console to run. So make sure to update your Plugin + Config.

Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.6.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
# UnguestMessage - Message shown if someone allowed is using /unguest <Player>
#                  '' = disabled
#
# NoPermissionMessage - Message shown if someone not allowed is using /unguest <Player>
#                       '' = disabled
#
# CommandsToRun - Commands running on /unguest <Player>
#                guestmode.unguest Permission required
#
#
HealGuests
: false
GamemodeOnJoin
: 'Adventure'
UnguestMessage
: '&a<Player> is no longer in GuestMode'
NoPermissionMessage
: '&cYou don''t have permission to run that Command.'
CommandsToRun
:
- 'lp user <Player> permission set group.member true'
- 'lp user <Player> permission unset group.default'

#
# Message and Particles
#
#
# MessageOnPlayerJoin - The Message shown to Guests when they're joining. Use \n for new Lines
#                       '' = disabled
#
# BlockedActionMessage - The Message shown if any blocked Action was performed.
#                        '' = disabled
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# BlockedWorlds - List of Worlds you want GuestMode to be active
#                 [] = enable in all
#
# List of valid Particles:
#                               [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                               CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                               DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                               FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                               LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                               SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                               SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                               WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
MessageOnPlayerJoin
: '&e&lYou''re in GuestMode.\n&9&lPlease contact an &c&lAdmin&9&l to get permissions.'
BlockedActionMessage
: 'Guests can''t do that. Please contact an Admin to get permissions.'
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0
BlockedWorlds
:
- world
- world_nether
- world_the_end

#
# Block Command Usage - If enabled, Players without Permission are unable to use any Command (except the ones you're allowing)
#
# Allowed Commands - The List of Commands that a Guest is able to use (requires that BlockCommandUsage = true)
#                    [] = disabled
#
BlockCommandUsage
: false
AllowedCommands
:
- spawn

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true

As always: Thanks for using my Plugin. <3
----------, Jan 24, 2020

This Update adds the ability to block the general usage of Commands and also adding a whitelist for allowed Commands (e.g. /spawn). This Feature is off by default. Remember: You have to enable it for blocking!

Just update your Config + Plugin and everything should work as intended.

Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.5.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
HealGuests
: false
GamemodeOnJoin
: 'Adventure'

#
# Message and Particles
#
#
# MessageOnPlayerJoin - The Message shown to Guests when they're joining. Use \n for new Lines
#                       '' = disabled
#
# BlockedActionMessage - The Message shown if any blocked Action was performed.
#                        '' = disabled
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# BlockedWorlds - List of Worlds you want GuestMode to be active
#                 [] = enable in all
#
# List of valid Particles:
#                               [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                               CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                               DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                               FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                               LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                               SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                               SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                               WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
MessageOnPlayerJoin
: '&e&lYou''re in GuestMode.\n&9&lPlease contact an &c&lAdmin&9&l to get permissions.'
BlockedActionMessage
: 'Guests can''t do that. Please contact an Admin to get permissions.'
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0
BlockedWorlds
:
- world
- world_nether
- world_the_end

#
# Block Command Usage - If enabled, Players without Permission are unable to use any Command (except the ones you're allowing)
#
# Allowed Commands - The List of Commands that a Guest is able to use (requires that BlockCommandUsage = true)
#                    [] = disabled
#
BlockCommandUsage
: false
AllowedCommands
:
- spawn

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true

As always: Thanks for using my Plugin. <3
----------, Jan 16, 2020

Just a small improvement. No need to update the Config (if you already have since 1.4.0). Just grab the Update and replace in your Plugins directory.

This Update can get ignored!

As always: Thanks for using my Plugin. <3
----------, Jan 16, 2020

This Update adds a configurable Gamemode for Guests on Join. As always just update your Config + Plugin and everything should work just fine. You can disable this by setting the "GamemodeOnJoin" to ''. :)

Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.4.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
# Gamemode on Join - The Gamemode a Guest gets on Login
#                     '' = disabled
#                     Valid Gamemodes: Survival, Creative, Adventure, Spectator
#
HealGuests
: false
GamemodeOnJoin
: 'Adventure'

#
# Message and Particles
#
#
# MessageOnPlayerJoin - The Message shown to Guests when they're joining. Use \n for new Lines
#                       '' = disabled
#
# BlockedActionMessage - The Message shown if any blocked Action was performed.
#                        '' = disabled
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# BlockedWorlds - List of Worlds you want GuestMode to be active
#                 [] = enable in all
#
# List of valid Particles:
#                               [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                               CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                               DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                               FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                               LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                               SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                               SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                               WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
MessageOnPlayerJoin
: '&e&lYou''re in GuestMode.\n&9&lPlease contact an &c&lAdmin&9&l to get permissions.'
BlockedActionMessage
: 'Guests can''t do that. Please contact an Admin to get permissions.'
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0
BlockedWorlds
:
- world
- world_nether
- world_the_end

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true

As always: Thanks for using my Plugin. <3
----------, Jan 14, 2020

This Update can get ignored because it's not adding something new to the Plugin. I've just updated/improved some Code to make it easier to update in future Updates and ofc. to let me sleep without nightmares. ;)

Oh and hey look ... it's a bit smaller again. #ForTheLoveOfDiskspace

Everything should work just fine in older Versions but let me know if this is not the case in the Discussions. :)

As always: Thanks for using my Plugin. <3
----------, Jan 9, 2020

Changelog for v1.3.0
  • You can now seperate your Worlds you want GuestMode to be active in. Just add them to the list in your updated config.yml
Just update your Config and the Plugin and you're good 2 go!

Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.3.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
#
HealGuests
: false

#
# Message and Particles
#
#
# MessageOnPlayerJoin - The Message shown to Guests when they're joining. Use \n for new Lines
#                       '' = disabled
#
# BlockedActionMessage - The Message shown if any blocked Action was performed.
#                        '' = disabled
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# BlockedWorlds - List of Worlds you want GuestMode to be active
#                 [] = enable in all
#
# List of valid Particles:
#                               [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                               CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                               DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                               FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                               LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                               SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                               SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                               WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
MessageOnPlayerJoin
: '&e&lYou''re in GuestMode.\n&9&lPlease contact an &c&lAdmin&9&l to get permissions.'
BlockedActionMessage
: 'Guests can''t do that. Please contact an Admin to get permissions.'
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0
BlockedWorlds
:
- world
- world_nether
- world_the_end

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true

Thanks for using my Plugin. <3
----------, Jan 8, 2020

Changelog for v1.2.0
  • Added that the Plugin can now send a Message to Players joining the Server if they're in GuestMode.
  • Added that the Plugin now sends a Message to Guests if they're trying to perform a blocked action like (for example) placing Blocks.
  • Added Particles *w* (just take a look at the Config).
  • Fixed a potential Issue on /reload, /plugman reload usage.
  • Cleanup.

Just update your Config and the Plugin and you're good 2 go!


Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.2.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
#
HealGuests
: false

#
# Message and Particles
#
#
# MessageOnPlayerJoin - The Message shown to Guests when they're joining. Use \n for new Lines
#                       '' = disabled
#
# BlockedActionMessage - The Message shown if any blocked Action was performed.
#                        '' = disabled
#
# BlockedActionParticles - The Particles shown if any blocked Action was performed.
#                          '' = disabled
#
# BlockedActionParticleAmount - The Amount of Particles to spawn.
#                               0 = just one Particle
#
# List of valid Particles:
#                                [ BARRIER, BLOCK_CRACK, BLOCK_DUST, BUBBLE_COLUMN_UP, BUBBLE_POP, CAMPFIRE_COSY_SMOKE, CAMPFIRE_SIGNAL_SMOKE,
#                                CLOUD, COMPOSTER, CRIT, CRIT_MAGIC, CURRENT_DOWN, DAMAGE_INDICATOR, DOLPHIN, DRAGON_BREATH, DRIP_LAVA, DRIP_WATER,
#                                DRIPPING_HONEY, ENCHANTMENT_TABLE, END_ROD, EXPLOSION_HUGE, EXPLOSION_LARGE, EXPLOSION_NORMAL, FALLING_DUST, FALLING_HONEY,
#                                FALLING_LAVA, FALLING_NECTAR, FALLING_WATER, FIREWORKS_SPARK, FLAME, FLASH, HEART, ITEM_CRACK, LANDING_HONEY, LANDING_LAVA,
#                                LAVA, LEGACY_BLOCK_CRACK, LEGACY_BLOCK_DUST, LEGACY_FALLING_DUST, MOB_APPEARANCE, NAUTILUS, NOTE, PORTAL, REDSTONE, SLIME,
#                                SMOKE_LARGE, SMOKE_NORMAL, SNEEZE, SNOW_SHOVEL, SNOWBALL, SPELL, SPELL_INSTANT, SPELL_MOB, SPELL_MOB_AMBIENT, SPELL_WITCH,
#                                SPIT, SQUID_INK, SUSPENDED, SUSPENDED_DEPTH, SWEEP_ATTACK, TOTEM, TOWN_AURA, VILLAGER_ANGRY, VILLAGER_HAPPY, WATER_BUBBLE,
#                                WATER_DROP, WATER_SPLASH, WATER_WAKE ]
#
#
MessageOnPlayerJoin
: '&e&lYou''re in GuestMode.\n&9&lPlease contact an &c&lAdmin&9&l to get permissions.'
BlockedActionMessage
: 'Guests can''t do that. Please contact an Admin to get permissions.'
BlockedActionParticles
: 'SMOKE_NORMAL'
BlockedActionParticleAmount
: 0

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true

Thanks for using my Plugin. <3
----------, Jan 6, 2020

This Update adds some new Config Values. I think this can be helpful if you want just some parts of this Plugin to work or disable Stuff you don't need or want. :)

Just Update your Config with the new Values inserted or delete it so the Plugin will re-generate it on reload/restart.
Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 1.1.0 (SNAPSHOT)
#
#
# Heal Guests - Enables that Guests get healed while they're moving.
#               This CAN be very stressfull for your Server on a high Playercount (if you have small Hardware for example) so this is default off.
#
#
HealGuests
: false

#
# Blocking Types
# Just disable what you don't need or want to be enabled.
#
# true = blocked
#
BlockPlacement
: true
BlockBreak
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
BlockDamage
: true
EntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true
Also changed Versioning a bit for future Updates (Features & Fixes). :3

Thanks for using my Plugin. <3
----------, Jan 5, 2020

Resource Information
Author:
----------
Total Downloads: 3,118
First Release: Jan 4, 2020
Last Update: Jan 22, 2022
Category: ---------------
All-Time Rating:
12 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings