Change Log 1.8.3
Full change log available here
This update brings Idle kicking, the ability to kick players from the field, a new command to see your own fields, and the potential to teleport back to your own fields. It also includes an assortment of bug fixes.
Idle Kicking
If the config is set up to allow idle kicking,then having the
KICK_OUT_IDLE_NONALLOWED flag in the field will kick non-allowed players from the field.
You can force it to kick directly to spawn by setting
field_kick_direct_to_spawn to true in the config, if it is not set to true, then it will find the nearest corner of the field to the player and attempt to teleport them somewhere safe within a range of that corner that is NOT inside the field.
If for whatever reason it can't find a safe teleport location, it will try to send them to their last bed spawn, if that is not safe, it will revert to spawn.
In order to prevent players abusing this, the
new_field_kick_cooldown config option is available. This will prevent kicks if the field is less than that many minutes old (we don't want players placing a block down so they can bounce an idle player around)
To disable idle kicking completely, set idle_cycle_seconds to 0 in the config.
Who else is in field
This button in your Domain block previously displayed who was in the field and where. It has been expanded to show allowed players in green, not-allowed players in red. Location and distance from block is displayed in a hover-over, and if enabled in the block (allow_who_in_kick: true) - you can kick not-allowed players from the field. It uses the same rules as idle kicking above.
New Commands
/domain back
This command will teleport a player back to the field they were idle kicked from. It requires the domain.idle.back permission. It only works if they have been idle kicked, and only if they have not moved from where they were kicked to.
/domain me
This will display all the fields belonging to the player, and if allow_self_teleport_to_field is set to true in the config, will allow the player to teleport to the nearest safe location by the Domain Block
Bug Fixes
- File generation errors on startup have been removed (‘Unable to create flags.yml as it already exists’ etc.)
- When a block has the same base type and name, it will no longer default to the wrong block, instead it will use the NBT tag to determine type
- Null error when players break blocks in an admin block area has been corrected
- Other not player facing fixes
Finally..
As always - if you have any issues with Domain after this update, please reach out on Discord or via message in Spigot. Discord WILL be faster - I don't check messages here every day.
Please note that this will be the last feature update of Domain until after the 1.17 Spigot release. Bug fixes may be released still as needed.