Class AdminSign

All Implemented Interfaces:
Script

public class AdminSign extends ScriptImpl
Enables admins to create (list and remove) signs.
Author:
hendrik
  • Constructor Details

    • AdminSign

      public AdminSign()
  • Method Details

    • add

      public void add(Player player, List<String> args)
      Adds a sign.
      Parameters:
      player - admin who put the sign
      args - zone x y text
    • delete

      public void delete(Player player, List<String> args)
      Removes the specified sign.
      Parameters:
      player - admin
      args - sign number at index 1
    • list

      public void list(Player player)
      Lists all signs.
      Parameters:
      player - admin invoking this script
    • execute

      public void execute(Player admin, List<String> args)
      Description copied from interface: Script
      Executes this script.
      Specified by:
      execute in interface Script
      Overrides:
      execute in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.