mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2025-02-20 01:41:43 +01:00
Clarifies kicked-keep-inventory config setting.
This commit is contained in:
parent
e04c38a246
commit
12c2885b75
@ -402,6 +402,7 @@ public class Settings implements WorldSettings
|
||||
* This method returns the leaversLoseReset object.
|
||||
* @return the leaversLoseReset object.
|
||||
*/
|
||||
@Override
|
||||
public boolean isLeaversLoseReset()
|
||||
{
|
||||
return leaversLoseReset;
|
||||
@ -412,6 +413,7 @@ public class Settings implements WorldSettings
|
||||
* This method returns the kickedKeepInventory object.
|
||||
* @return the kickedKeepInventory object.
|
||||
*/
|
||||
@Override
|
||||
public boolean isKickedKeepInventory()
|
||||
{
|
||||
return kickedKeepInventory;
|
||||
@ -554,6 +556,7 @@ public class Settings implements WorldSettings
|
||||
* This method returns the deathsSumTeam object.
|
||||
* @return the deathsSumTeam object.
|
||||
*/
|
||||
@Override
|
||||
public boolean isDeathsSumTeam()
|
||||
{
|
||||
return deathsSumTeam;
|
||||
@ -1789,8 +1792,7 @@ public class Settings implements WorldSettings
|
||||
private boolean leaversLoseReset = false;
|
||||
|
||||
@ConfigComment("Allow kicked players to keep their inventory.")
|
||||
@ConfigComment("If false, kicked player's inventory will be thrown at the island leader if the")
|
||||
@ConfigComment("kicked player is online and in the island world.")
|
||||
@ConfigComment("Overrides the on-leave inventory reset for kicked players.")
|
||||
@ConfigEntry(path = "island.reset.kicked-keep-inventory")
|
||||
private boolean kickedKeepInventory = false;
|
||||
|
||||
|
@ -275,8 +275,7 @@ island:
|
||||
# Leave this true to avoid players exploiting free islands
|
||||
leavers-lose-reset: false
|
||||
# Allow kicked players to keep their inventory.
|
||||
# If false, kicked player's inventory will be thrown at the island leader if the
|
||||
# kicked player is online and in the island world.
|
||||
# Overrides the on-leave inventory reset for kicked players.
|
||||
kicked-keep-inventory: false
|
||||
on-join:
|
||||
# What the plugin should reset when the player joins or creates an island
|
||||
|
Loading…
Reference in New Issue
Block a user