Small feature update (which I wasn't going to do until 2.x. but here we are)
We have 4 new flags and 1 new command
New Flags:
PREVENT_BREAK_PAINTING_BY_NONALLOWED
- Prevents non-allowed players from breaking paintings in the field
PREVENT_INTERACT_CAKE_BY_NONALLOWED
- Prevents non-allowed players interacting (eating) cake in the field
PREVENT_INTERACT_REDSTONE_REPEATER_BY_NONALLOWED
- Prevents non-allowed players from modifying redstone repeaters in the field
PREVENT_VEHICLE_PLACE_BY_NONALLOWED
- Prevents non-allowed players from placing vehicles in the field
If you have an existing install, add the following to flags.yml
Code (YAML):
PREVENT_BREAK_PAINTING_BY_NONALLOWED:
name: "&bPrevent Break Painting" lore: "&fPrevents paintings being broken by Non-Allowed players" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
PREVENT_INTERACT_REDSTONE_REPEATER_BY_NONALLOWED:
name: "&bPrevent Redstone Repeater Interaction " lore: "&fPrevents redstone repeaters|being broken by Non-Allowed players" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
PREVENT_INTERACT_CAKE_BY_NONALLOWED:
name: "&bPrevent Cake Interaction" lore: "&fPrevents Non-Allowed players from |interacting/eating cakes|&fin the field" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
PREVENT_VEHICLE_PLACE_BY_NONALLOWED:
name: "&bPrevent Vehicle Place By Non-Allowed" lore: "&fPrevents Non-Players from placing vehicles" icon_on: LIME_STAINED_GLASS_PANE
icon_off: RED_STAINED_GLASS_PANE
locked: false
Add the following to lang.yml
Code (YAML):
break_painting: "&cYou cannot break paintings here" cake_interact_nonallowed: "&cYou cannot eat cake here" cake_interact_nonallowed_bypass: "Access to <%blocktype%> at <%location%> allowed due to bypass mode" glow_no_player: "&cInvalid Player" glow_set_off: "&aGlow disabled for <%player%>" glow_set_on: "&aGlow enabled for <%player%>" redstone_repeater_interact_nonallowed: "&cYou cannot access redstone repeaters here" redstone_repeater_interact_nonallowed_bypass: "Access to <%blocktype%> at <%location%> allowed due to bypass mode" vehicle_place_deny: "&cYou cannot place vehicles here"
And a new command which may or may not be helpful. It isn't actually a "Domain" function, but can help prevent issues caused by PVP Glowing
/domain glow <player name>
This command requires domain.admin (or op/console access) and will turn glow effect on/off for players
Any questions, please let me know in the Discord channel!