Jest to nowe wydanie dodatku do pluginu skript do wspierania pluginu funnyguilds, dodatek już istniał lecz zakończył on swoje wsparcie (tamten dodatek był pisany jeszcze razem z @Inder00)
Ten został napisany już razem z @LloydPL
Dokumentacja: https://funnyskaddon.peri.dev/
Dokumentacja (legacy): https://mlgroupmc.github.io/
https://github.com/FunnyGuilds/FunnySkAddon/releases
https://bstats.org/plugin/bukkit/FunnySkAddon-Extended
on rightclick with brick:
if name of player's tool is "nether":
remove 1 brick named "nether" from player
teleport player to world "%player's world%_nether"
cegła nazwana "nether"
To chyba powinno działać (nie mam jeszcze na czym przetestować, bo nie mam jeszcze zainstalowanej javy)
on rightclick on jukebox:
if player's tool is 4756:
if name of player's tool is "&cMoneta":
if lore of player's tool is "Test":
send "%amount of item player's tool%" #Wymaga skellet
if amount of item player's tool is larger than or equal to 2:
remove 2 4756 named "&cMoneta" with lore "Test" from player
give 1 diamond to player
send "Wymieniles dwa itemy na diamenta."
command /lobby:
trigger:
set {_x} to x-location of player
set {_y} to y-location of player
set {_z} to z-location of player
send "&5[&3&lLOBBY&5] &eZa 5 sekund zostaniesz przeteleportowany do lobby!"
loop 100 times:
wait 1 tick
set {_xx} to x-location of player
set {_yy} to y-location of player
set {_zz} to z-location of player
if {_zz} isn't {_z}:
send "&5[&3&lLOBBY&5] &cRuszyles sie! Teleportacja anulowana!"
stop
if {_yy} isn't {_y}:
send "&5[&3&lLOBBY&5] &cRuszyles sie! Teleportacja anulowana!"
stop
if {_xx} isn't {_x}:
send "&5[&3&lLOBBY&5] &cRuszyles sie! Teleportacja anulowana!"
stop
teleport player to {lobby.tp}
send "&5[&3&lLOBBY&5] &aZostales przeteleportowany do &clobby&a!"