Interface Script

All Known Implementing Classes:
AbstractOfflineAction, AdminMaker, AdminPortal, AdminSign, AlterLoot, AlterQuest, AngelRaid, AnimalRaid, BarbarianRaid, BeholderRaid, BetManager, BlordroughRaid, BugInspect, ChangeMap, ChaosRaid, ContMoveAndStrengthenOnlinePlayers, CountObjects, CountUnusedSprites, CreateRaid, CreaturesRatioCalculator, DBLogging, Debuggera, DeepInspect, DisableFeature, DragonRaid, DropPlayerItems, DrowRaid, DumpCharacterFromDatabase, DumpConditions, DumpDeletionCandidates, DumpItems, DumpOpenDBTransactions, DumpTransitions, DumpTransitionsEx, DumpTurnListenerEvents, DwarfRaid, EasterBunny, EasyRPAction, ElementalRaid, ElfRaid, EnableFeature, Enchant, EntitySearch, EventTest, ExecuteLua, ExecuteSQL, FairyRaid, FarmRaid, FieldInspect, FindBrokenCorpses, FishInspect, FixDM, FixNegativeHp, FreezeHell, FrogmanSheepmanRaid, GC, GnomeRaid, HandleTransitions, Herald, ImperialRaid, ItemRarity, KoboldRaid, LichRaid, ListNPCs, ListRaids, ListZones, Log4J, LogoutPlayer, Maria, MineTown, MoveAndStrengthenOnlinePlayers, NameChange, NPCPathCheck, NPCShout, NPCShoutZone, Observer, OfflineAdminlevel, OfflineClearSentence, OniRaid, OrcRaid, Plague, PlayerPositionMonitoring, RemoveClient, RemoveVisitedZone, RemoveZone, ResetSlot, ResetTutorial, RestoreOriginalOutfit, Santa, SaveAllPlayers, ScriptImpl, ServerDown, ServerReset, ServerShutdown, SetNPCPath, SetNPCPathReversible, SetWelcomeText, SokobanReload, SokobanWatcher, SummonChest, SummonSpell, TeleportAllPlayers, TeleportNPC, TestShowItemList, TPPNextPhase, TPPShowQuestState, Unblock, UnblockTradeTable, WhereWho, ZombieRaid, ZoneCollisionCheck, ZoneStatistics

public interface Script
A script, which can be reloaded at runtime.
Author:
hendrik
  • Method Details

    • load

      void load(Player admin, List<String> args, ScriptingSandbox sandbox)
      Initial load of this script.
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.
      sandbox - all modifications to the game must be done using this object in order for the script to be unloadable
    • unload

      void unload(Player admin, List<String> args)
      Unloads this script.
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.
    • execute

      void execute(Player admin, List<String> args)
      Executes this script.
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.