Built-in functions list for Hydra

  • SendPacket(type, text) - int, string

  • SendPacketRaw(packetraw) - GameUpdatePacket table

  • SendPacketRawClient(packetraw) - GameUpdatePacket table

  • SendVarlist(varlist) - VariantList table

  • GetLocal() - returns local NetAvatar table

  • GetWorldPlayers() - returns an array of NetAvatars of every player in the current world

  • GetTiles() - returns an array of Tile table for all tiles in the current world

  • GetWorldObjects() - returns an array of WorldObject for all the objects in the current world

  • GetInventory() - returns an array of InventoryItem table

  • GetItem(name OR itemID) - first arg can take an number itemID or a string itemName, returns Item table if search yielded anything

  • FindPath(x, y) - finds path to the X, Y position inputted if valid, returns true or false if path was found

  • AddCallback(callbackName, callbackFunc) - self explanatory

  • Sleep(milliseconds) - create a delay in your script

  • RunThread(func) - runs your function in seperate thread

  • EditToggle(configSettingName, value) - change values in Hydra config, value can be a number or string

  • Punch(x , y) - makes your player punch at the X, Y pos

  • Place(itemID, x, y) - makes your player place at the X, Y pos

  • Wrench(x, y) - makes your player wrench at the X, Y pos

  • Say(text) - types in chat for you, can be used for slash commands aswell

  • log(text) - visually prints a message to the Growtopia Chatbox for you only

Last updated