Java Reference
In-Depth Information
This plugin lets you create signposts in the game and name them. You can
then put text on any one of the signposts by name. For example, suppose I
make two signs, named one and two , by typing these commands in the chat
/signs new one
/signs new two
/signs set one Hello!
/signs set two Goodbye!
I'd see something like this:
Now I can go in and change either sign's text at will just by issuing another
signsset command, like this:
/signs set two Adios!
Let's start with the plugin in all its glory, then look at the interesting pieces.
package namedsigns;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import net.canarymod.plugin.Plugin;
import net.canarymod.logger.Logman;
import net.canarymod.Canary;
import net.canarymod.commandsys.*;
Search WWH ::

Custom Search