GuestMode icon

GuestMode -----

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



The "Block it yourself"-Update ;)
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
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