GuestMode icon

GuestMode -----

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



Fixes and Improvements
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
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