Class ExecuteSQL

java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.ExecuteSQL
All Implemented Interfaces:
Script

public class ExecuteSQL extends ScriptImpl
Executes an sql statement. WARNING: This is a quick hack: The sql statement and the post processing is hard coding and it blocks the server creating lag.
Author:
hendrik
  • Constructor Details

    • ExecuteSQL

      public ExecuteSQL()
  • Method Details

    • 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.