GuestMode icon

GuestMode -----

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



EntityDamge split into Aggressive and Passive and keeping Guests fed
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
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