API changes - ClassiCube/MCGalaxy GitHub Wiki
Listed here are the known non-breaking API changes and additions with each MCGalaxy release:
1.9.3.9
MCGalaxy.SQL.DatabaseExts
methods are all public nowMCGalaxy.Player.ClientHeldBlock
field is now updated when following/on train
1.9.3.5
MCGalaxy.Modules.Relay.RelayBot
addedUserID
property to retrieve ID of relay bot userMCGalaxy.Player
addedSendPosition
method
1.9.3.4
MCGalaxy.Level.Load
now supports non-lvl maps in pathMCGalaxy.Events.OnShuttingDownEvent
is now called before plugin unloadMCGalaxy.Modules.Relay.Discord.DiscordBot
addedSend
method for sending arbitrary Discord API messagesMCGalaxy.PlayerOperations
class added for performing high level player operationsMCGalaxy.Scripting.ICompiler
addedCompile
overload that takes array of source files
1.9.3.3
MCGalaxy.PlayerActions
madeReloadMap
publicMCGalaxy.Authenticator
added to allow customisingmppass
and/pass
authentication- Plugins always load after main level has been loaded now
MCGalaxy.Player
addedSetIP
methodMCGalaxy.Network.IPUtils
added methods for IPv4 mapped IPv6 addressesMCGalaxy.Scripting.ICompiler
allows adding custom compilers