EasySign: Difference between revisions

From MC Public Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 37: Line 37:


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).
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 <code>/signtext</code> 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.

Revision as of 03:50, 4 June 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

A warp sign warps the user to the given x y z location in the current world.

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.