Commands

Command

There are a number of commands available to for AntiMobSpawn. All commands have permissions associated with them, see here. All commands support tab complete and I highly recommend using it.

ams-create

This command creates a new zone with the given name. New zones are created on the world you are on or on the world specified.

Arguments

  • zoneName - the name of the new zone
  • worldName - [optional] the world this zone is for. Required from the console

Example

  • /ams-create test <- creates a new zone called test

ams-list

Lists all the zones on the given world or on all world if no world is specified.

Arguments

  • worldName - [optional] the world to list zones from

Example

  • /ams-list shows all zones
  • /ams list test_world shows all the zones on test_world

am-reload

Reload reloads the configuration file from the disk, allowing you to make changes to it without having to restart the server. For details on the configuration file, click here

Example

  • /ams reload reloads the config.yml file

ams-remove

Remove is the opposite of create. It will remove the given zone on the world specified or on the world you are on if no world is specified.

Arguments

  • zoneName - the name of the zone to remove
  • worldName - [optional] the world to remove the zone from. Required from the console

Example

  • /ams remove test removes the zone called test from your world

ams-set

Set actually sets up a zone. Zones are rectangular in shape and to set them up, two points must be specified. These are one and two. These points are specified by the block you are looking at (highlighted with wireframe), or can be specified with exact coordinates in the form x y z.

Arguments

  • zoneName - the name of the zone this point is for
  • one or two - which point to set
  • x - [optional] x coordinate of the point. Required from the console
  • y - [optional] y coordinate of the point. Required from the console
  • z - [optional] z coordinate of the point. Required from the console
  • worldName - [optional] the world this zone is on. Required from the console

Example

  • /ams-set test one sets the first point of the zone test to the block you are looking at
  • /ams-set test two 10 15 -80 sets the second point of the zone test to the block at x=10, y=15, z=-80

ams-preview

Show allows you to get a visual idea of where your zone actually is. There are four types that show can do. Corners just places blocks at the corners of the zone. Fill entirely fills the zone with blocks. Outline only fills in the outer edges. Hollow fills in the outer surfaces of the zone.

Arguments

  • zoneName - the name of the zone to preview
  • preview type - the type of preview. Options are corners, fill, hollow and outline.
  • block - block type to preview the zone with
  • replace - true or false. Should the preview replace existing blocks
  • worldName - [optional] the world this zone is on. Required from the console

Example

  • /ams-preview test fill gold_block false fills in the zone called test with gold blocks, not replacing existing blocks
  • /ams-preview test outline stone true outlines the zone called test with stone replacing existing blocks

Comments

Posts Quoted:
Reply
Clear All Quotes