Lobbo 1.1.1 adds the "
disable-swap-hand-items" feature, which disables switching items between hands, and also clears the inventory off hand when a player joins the server.
The priority of the event responsible for cleaning the inventory has been changed to the lowest (due to compatibility with other plugins).
New configuration:
Added
disable-swap-hand-items boolean in settings section (after disable-inventory-click):
Code (YAML):
settings:
disable-chat
: true
disable-join-message
: true
disable-quit-message
: true
disable-build
: true
disable-interact
: true
disable-vehicles
: true
disable-vehicles-destroy
: true
disable-explode
: true
disable-hunger
: true
disable-damage
: true
set-gm-on-join
: true
gm-on-join
: SURVIVAL
disable-item-drop
: true
disable-item-pickup
: true
disable-inventory-click
: true
disable-swap-hand-items
: true
# <-- NEW LINE
clear-inventory-on-join
: false
functions:
doublejump:
enabled
: true
require-permission
: false
effects-affects-only-player
: true
jump-y
: 0.6
sound
: ENTITY_FIREWORK_ROCKET_LAUNCH
particle
: END_ROD
particle-count
: 1
messages:
no-permission
: '&cYou don''t have permission to execute this command.'
only-player
: '&cOnly players can execute this command.'
reload
: '&aReloaded &eLobbo&a.'
spawn-set
: '&aSpawn has been successfully set
(&e
%x%&7, &e%y%&7, &e%z%&7, &eyaw
%yaw%&7, &epitch %pitch%&7 in world &e%world%&a)'
spawn-tp
: '&aTeleported to spawn.'
spawn-not-set
: '&cSpawn has not yet been set.'
motd
:
- '&7Welcome!'
- '&
#0CB481Players online: &e%server_online%'
- 'This plugins supports PAPI and RGB.'
spawn:
x:
y:
z:
yaw:
pitch:
world:
tp-on-join
: true