cPluginLua


Index:
Articles
Classes
Hooks

Quick navigation:
BannerPattern
BossBarColor
BossBarDivisionType
cArrowEntity
cBeaconEntity
cBedEntity
cBlockArea
cBlockEntity
cBlockEntityWithItems
cBlockInfo
cBoat
cBoundingBox
cBrewingstandEntity
cChatColor
cChestEntity
cChunkDesc
cClientHandle
cColor
cCommandBlockEntity
cCompositeChat
cCraftingGrid
cCraftingRecipe
cCryptoHash
cCuboid
cDispenserEntity
cDropperEntity
cDropSpenserEntity
cEnchantments
cEnderCrystal
cEntity
cEntityEffect
cExpBottleEntity
cExpOrb
cFallingBlock
cFile
cFireChargeEntity
cFireworkEntity
cFloater
cFlowerPotEntity
cFurnaceEntity
cGhastFireballEntity
cHangingEntity
cHopperEntity
cIniFile
cInventory
cItem
cItemFrame
cItemGrid
cItems
cJson
cJukeboxEntity
cLeashKnot
cLineBlockTracer
cLuaWindow
cMap
cMapManager
cMobHeadEntity
cMobSpawnerEntity
cMojangAPI
cMonster
cNetwork
cNoteEntity
cObjective
cPainting
cPawn
cPickup
cPlayer
cPlugin
cPluginLua
cPluginManager
cProjectileEntity
cRankManager
cRoot
cScoreboard
cServer
cServerHandle
cSignEntity
cSplashPotionEntity
cStringCompression
cTCPLink
cTeam
cThrownEggEntity
cThrownEnderPearlEntity
cThrownSnowballEntity
cTNTEntity
cUDPEndpoint
cUrlClient
cUrlParser
CustomStatistic
cUUID
cWebAdmin
cWindow
cWitherSkullEntity
cWorld
EffectID
HTTPFormData
HTTPRequest
HTTPTemplateRequest
ItemCategory
lxp
SmokeDirection
sqlite3
StatisticsManager
TakeDamageInfo
tolua
Vector3d
Vector3f
Vector3i
Globals

Contents


cPluginLua class

(OBSOLETE) This class is no longer useful in the API and will be removed as soon as all core plugins are migrated away from it. The cPlugin class serves as the main plugin instance's interface.


Inheritance

This class inherits from the following parent classes:


Functions

NameParametersReturn valueNotes
AddWebTab
Titlestring
HandlerFnfunction
OBSOLETE - Use cWebAdmin:AddWebTab() instead.

Functions inherited from cPlugin

NameParametersReturn valueNotes
GetDirectory
string
OBSOLETE, use GetFolderName() instead!
GetFolderName
string
Returns the name of the folder where the plugin's files are. (APIDump)
GetLoadError
string
If the plugin failed to load, returns the error message for the failure.
GetLocalDirectory OBSOLETE, use GetLocalFolder instead.
GetLocalFolder
string
Returns the path where the plugin's files are. (Plugins/APIDump)
GetName
string
Returns the name of the plugin.
GetStatus
PluginStatusePluginStatus
Returns the status of the plugin (loaded, disabled, unloaded, error, not found)
GetVersion
number
Returns the version of the plugin.
IsLoaded
boolean
SetName
PluginApiNamestring
Sets the API name of the Plugin that is used by cPluginManager:CallPlugin() to identify the plugin.
SetVersion
PluginApiVersionnumber
Sets the API version of the plugin. Currently unused.
Generated by APIDump on 2024-07-12 00:49:19, Build ID 63, Commit 5f4d2f004bc41bc44d0df7376e48cbb5567db1be