Deprecated API
Contents
-
ElementDescriptionuse
Predicate
This copies all values from the other config and sets them in this config, which could be destructive for sensitive data if something goes wrong. Also removes user comments. UseConfig.updateNodes(Config)
instead.This copies all values from the other config and sets them in this config, which could be destructive for sensitive data if something goes wrong. Also removes user comments. UseConfig.updateNodes(Config)
instead.UseSectionNode.add(int, Node)
instead.UseDate.getTime()
instead.useConverter
insteadUseTimespan(TimePeriod, long)
instead.useFunction
usePredicate
useCloseable
UseBiMap
UseBiMap
unusedunusedusePredicate
useConsumer
This method will be removed in a future version. If the EntryContainer is needed outside ofStructure.init(Literal[], int, ParseResult, EntryContainer)
, the Structure should keep a reference to it.
-
FieldDescriptionbefore 1.13 is no longer supporteddue to bad naming conventions, use
SkriptParser.LIST_SPLIT_PATTERN
instead.due to bad naming conventions, useSkriptParser.WILDCARD
instead.Users should specify the listening behavior in the event declaration. "on any %event%:", "on cancelled %event%:".
-
MethodDescriptionFreezes server on call. Use
Aliases.loadAsync()
instead.UseItemType.isOfType(BlockData)
insteadThis shouldn't be usedUseBlockCompat.getBlockValues(BlockData)
insteadUseNewBlockCompat.getBlockValues(BlockData)
insteadPreferBukkitUnsafe.getMaterialFromNamespacedId(String)
for including modded item supportthis method is only used by EffTeleport, and with the recent additions of TeleportFlag, this method should be moved within that effect.This just returns itself and has no useuseBukkit.getOnlinePlayers()
insteadThis copies all values from the other config and sets them in this config, which could be destructive for sensitive data if something goes wrong. Also removes user comments. UseConfig.updateNodes(Config)
instead.This copies all values from the other config and sets them in this config, which could be destructive for sensitive data if something goes wrong. Also removes user comments. UseConfig.updateNodes(Config)
instead.UseSectionNode.add(int, Node)
instead.in favour ofFunctions.getGlobalFunction(String)
for proper name.in favour ofFunctions.getGlobalSignature(String)
for proper name.UseParserInstance.setCurrentStructure(Structure)
with 'null'.UseScript.getData(Class)
instead. TheStructOptions.OptionsData
class should be obtained. Example:script.getData(OptionsData.class)
Addons should no longer be modifying this.UseSelfRegisteringSkriptEvent.postLoad()
instead.This method's functionality can be replaced by overridingSelfRegisteringSkriptEvent.postLoad()
. Normally, that method would register the parsed trigger withSkriptEventHandler
. A reference to theTrigger
is available throughSkriptEvent.trigger
.This method's functionality can be replaced by overridingSelfRegisteringSkriptEvent.unload()
. Normally, that method would unregister the parsed trigger withSkriptEventHandler
. A reference to theTrigger
is available throughSkriptEvent.trigger
.This method should no longer be used. Each trigger should be unregistered throughSelfRegisteringSkriptEvent.unregister(Trigger)
.This method no longer does anything as self registered Triggers are unloaded when theSkriptEvent
is unloaded (no need to keep tracking them here).UseDate.getTime()
instead.To be removed in a future version.Magic numbersMagic numbersUseTimespan(TimePeriod, long)
instead.UseClassLoader
.This method will be removed in a future version. If the EntryContainer is needed outside ofStructure.init(Literal[], int, ParseResult, EntryContainer)
, the Structure should keep a reference to it.