- [NEW] Added permission "PLAYER_TELEPORT_WITHIN" in the /Ranks folder, handles players teleporting within the protected area (chorus fruit, ender pearls, etc).
- [NEW] Joining the server within enemy protections can now execute actions (commands, messages, etc)
- [NEW] You can now limit the amount of players a protection can have, this is applied per-owner just like the place / own limits and can be increased with permissions.
- [NEW] Within protection flight - permission based, can be disabled when non-members are inside the protected area.
- [NEW] Executing commands within enemy protections can now be stopped (list).
- [NEW] /base home & /base home <protection> teleport you on top of the protection.
- [MOD] /base invite now works without specifying a protection (/base invite <player>) - choses a protection for you, may be buggy if you own multiple.
- [MOD] /base leave now works without specifying a protection (/base leave <protection>) - choses a protection for you, may be buggy if you own multiple.
- [FIX] Fixed some bugs related to the holograms, permissions & database data.
File changes:
- cancel-commands-as-outsider
> list path: config.yml - `protection.cancel-commands-as-outsider`
> message path: messages.yml - `messages.event.outsider-command`
[code=YAML]cancel-commands-as-outsider:
- "/spawnpoint"[/code]
[code=YAML]outsider-command:
- "<dark_gray>[<red>LOCKED<dark_gray>] <gray>You are not allowed to use that command while you are within this protection."[/code]
- New permission
> message path: messages.yml - `messages.event.no-permission.PLAYER_TELEPORT_WITHIN`
[code=YAML]PLAYER_TELEPORT_WITHIN:
- "<dark_gray>[<red>MISSING PERMISSION<dark_gray>] <gray>You are not allowed to teleport within this protection!"[/code]
- join-server-as-outsider
> list path: config.yml - `protection.join-server-as-outsider`
[code=YAML] join-server-as-outsider:
execute:
- "[MESSAGE] <red>You have logged in within enemy territory!"[/code]
- Member slot limit
> path: config.yml - `protection.limit.member-slots`
[code=YAML] member-slots: # How many members you can have in one protection, owning the protection counts towards the amount
default: 9
permissions: # Anything here gets added on top of the default value
base.owner.vip: 3[/code]
- Flight
> path: config.yml - `protection.fly`
[code=YAML] fly:
enable: true
permission: "baseraiders.fly"
outsider-check: true[/code]