EasySign: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
m (add potion)
No edit summary
Line 22: Line 22:
== warp ==
== warp ==


Args: x y z
Args: x y z [world]


A warp sign warps the user to the given x y z location in the current world.
A warp sign warps the user to the given x y z location in the current world, or another world if specified.  Default world names are world, world_nether and world_the_end.  Coordinates can include decimal points.


== ci ==
== ci ==

Revision as of 02:42, 9 September 2013

Easy Signs is a sign configuration plugin. All sign types follow the same rules:

  • Signs are "special" based on their location, not the text on the sign
  • If a sign is broken, it will be removed as an easy sign within a few minutes
  • Only admins can configure a sign
  • All players can activate the sign
  • To configure a sign, look at it, and run /easy-sign <type> [<args>] (the options are listed below)
  • To activate a sign, left or right click it
  • To remove a sign, simply break it, or look at it and run /easy-sign-delete
  • Multiple actions can be added. They are run in the order they are added to the sign during configuration.
  • To delete an action, currently, you must just delete the sign and start over

Each "module" or sign type is configured differently, and the documentation is listed below. For the quick version of this guide, just run /easy-sign in game. An example would be: /easy-sign warp 1 2 3

sleep

Args: None

A sleep sign sets the players bed at their current location.

warp

Args: x y z [world]

A warp sign warps the user to the given x y z location in the current world, or another world if specified. Default world names are world, world_nether and world_the_end. Coordinates can include decimal points.

ci

Args: None

Clears the player's inventory

give

Args: item qty [slot]

Gives the player a certain qty of an item. If slot is present, it is given directly to that slot number, which is useful for armor. Other items are simply added to the user's inventory directly. 100 is feet, 101 is legs, 102 is chest, and 103 is helmet. Item may use the item id, (like 1 for stone) or item id:value (like 35:11 for blue wool).

announce

Args: id message...

Sets up an announcement sign. The message is broadcast (only once) when a player clicks the sign. The message supports colors with the same notation as /signtext and %s is replaced with the player's name. The id sets the "key" for the sign group, players can only announce once per group, but as many signs as you like can be in the group.

heal

Args: [gap]

Refills a player's health. If gap is provided (it defaults to 0) then the player gets a half a heart every gap seconds. 0 means it fills up instantly.

msg

Args: message...

Sends the player a message. Color codes with & are supported.

take

Args: item qty failmsg...

Takes the given item from the player (at the specified quantity) and continues through the rest of the actions on the sign. If the player doesn't have the specified quantity of the item, none of the remaining actions will happen, and the fail message will be displayed, which supports color codes.

potion

params: <id> <strength> <seconds>

Applies a potion effect to the player. <id> must be in the range 1 - 23. <strength> has a minimum of level 1.