Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 2.03 KB

README.md

File metadata and controls

34 lines (30 loc) · 2.03 KB

ShmeebGuard

Notes

  • As advanced GriefPrevention users will know, the plugin doesn't work perfect 100% of the time, and in the cases where 100% reliability is required, this plugin shines.
  • This plugin is designed with reliability as a top priority, so I decided to sacrifice some usability for reliability by forgoing any permission/bypass checks.

Commands

  • Create a region by selecting a cuboid region with WorldEdit and running /sg create [region name]
  • View a summary of a region's flags with /sg edit [region name]
  • View all regions at your current location with /sg here
  • Redefine a region's boundaries by selecting a cuboid region with WorldEdit selection and running /sg redefine [region name]

Flags

Flag Types

All of the following flag values may either be ALLOW (default) or DENY

  • BLOCK_CHANGE
  • SPAWN_POKEMON
  • INTERACT_ENTITY_SECONDARY
  • INTERACT_ENTITY_PRIMARY
  • PLAYERS_TAKE_DAMAGE
  • INTERACT_POKEMON
  • DROP_ITEMS - prevents any ItemStack entities from being spawned
  • DECAY - prevents leaves from decaying and ice from melting
  • ALLOW_NATURAL_SPAWNS - prevents Pokemon from spawning through natural means, although Pixelmon Spawners still work

Special Flags

Note that these flags will only be triggered when a user teleports, and not when they simply walk into a region

  • TELEPORT_IN - users must have the permission node specified in order to warp into a region with this flag defined, otherwise they will be teleported to spawn
    • Set the permssion node: /sg edit [region name] TELEPORT_IN allow [permission node]
    • Clear the flag: /sg edit [region name] TELEPORT_IN allow
  • ENTER_COMMANDS and EXIT_COMMANDS - upon warping into or warping out of a region with either of these flags the command(s) defined will be executed from console. The %player% variable will be replaced with the user who teleported
    • Add a command: /sg edit [region name] [flag type] add [command]
    • Remove a command: /sg edit [region name] [flag type] remove [index]
    • List all commands: /sg edit [region name] [flag type] list