On Experience Spawn

Syntaxes

Version

[e]xp[erience] [orb] spawn

spawn of [a[n]] [e]xp[erience] [orb]

2.0

Called whenever experience is about to spawn. This is a helper event for easily being able to stop xp from spawning, as all you can currently do is cancel the event. Please note that it's impossible to detect xp orbs spawned by plugins (including Skript) with Bukkit, thus make sure that you have no such plugins if you don't want any xp orbs to spawn. (Many plugins that only change the experience dropped by blocks or entities will be detected without problems though)

Exemple:

on xp spawn:
    world is "minigame_world"
    cancel event

Dernière mise à jour

Cet article vous a-t-il été utile ?