This is the default Config file you can use if you messed it up. The first Option (off by default) keeps your Guests healed and well fed.
Code (YAML):
# Config file for GuestMode.
# This file was originally created by version 2.1.0 (SNAPSHOT)
config-version
: 1
#
#
# 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
# You can use <Player> (for using a Playername)
# Or you can use <UUID> (for using the Players UUID) on Commands (requires them to at least login once)
# [] = 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)
#
# 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
#
#
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
#
# 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 the guestmode.play 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
#
# BlockedInteractMaterials - List all Materials (Items/Blocks) Guests should be unable to interact with.
#
# ExtraBlockedPlacement - List all Materials (Items/Blocks) your Guests should never be able to place.
# This list is always checked even if you allow the placement of blocks!
#
# ExtraBlockedBreaking - List all Materials (Items/Blocks) your Guests should never be able to break.
# This list is always checked even if you allow the breaking of blocks!
#
#
# Lists are NOT case sensitive but I recommend it for better readability :)
# Legacy Materials are also blocked by default (do NOT list them here)
# Do or keep [] to disable those extra lists!
#
BlockPlacement
: true
BlockBreak
: true
BlockInteract
: true
PhysicalInteract
: true
BucketFilling
: true
BucketEmptying
: true
OpenInventories
: true
PassiveEntityDamage
: true
AggressiveEntityDamage
: true
TargetByEntitys
: true
ItemPickup
: true
DropItemsFromInventory
: true
DragItemsFromInventory
: true
Elytra
: true
EnterBed
: true
BlockedInteractMaterials
:
- 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
- ITEM_FRAME
- PAINTING
- OAK_TRAPDOOR
- SPRUCE_TRAPDOOR
- BIRCH_TRAPDOOR
- JUNGLE_TRAPDOOR
- ACACIA_TRAPDOOR
- DARK_OAK_TRAPDOOR
- CRIMSON_TRAPDOOR
- WARPED_TRAPDOOR
- OAK_BOAT
- SPRUCE_BOAT
- BIRCH_BOAT
- JUNGLE_BOAT
- ACACIA_BOAT
- DARK_OAK_BOAT
- OAK_BUTTON
- SPRUCE_BUTTON
- BIRCH_BUTTON
- JUNGLE_BUTTON
- ACACIA_BUTTON
- DARK_OAK_BUTTON
- CRIMSON_BUTTON
- WARPED_BUTTON
- STONE_BUTTON
- POLISHED_BLACKSTONE_BUTTON
- OAK_DOOR
- SPRUCE_DOOR
- BIRCH_DOOR
- JUNGLE_DOOR
- ACACIA_DOOR
- DARK_OAK_DOOR
- CRIMSON_DOOR
- WARPED_DOOR
- OAK_FENCE_GATE
- SPRUCE_FENCE_GATE
- BIRCH_FENCE_GATE
- JUNGLE_FENCE_GATE
- ACACIA_FENCE_GATE
- DARK_OAK_FENCE_GATE
- CRIMSON_FENCE_GATE
- WARPED_FENCE_GATE
ExtraBlockedPlacement
:
[
]
ExtraBlockedBreaking
:
[
]