Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
#|------------------------------------------|
#|© 2017 LEONARDBOBO2112 ALL RIGHTS RESERVED|
#| |
#| MAGICSTICK SKRIPT BY LEONARDBOBO2112 |
#| |
#|© 2017 LEONARDBOBO2112 ALL RIGHTS RESERVED|
#|------------------------------------------|
#|------------------------------------------|
#| |
#| OPTIONS |
#| |
#|------------------------------------------|
options:
SpeedPerm: magicstick.speed
StrengthPerm: magicstick.strength
JumpBoostPerm: magicstick.jumpboost
NightVisionPerm: magicstick.NightVision
#VOUS POUVEZ MODIFIER LES PERMISSIONS COMME VOUS LE SOUHAITEZ
#|------------------------------------------|
#| PERMISSIONS |
#| COMMANDS |
#| CONDITIONS |
#|------------------------------------------|
Command /magicstick [<text>]:
aliases: ms, mast
trigger:
if arg 1 is not set:
message "&cVeuillez séléctionner un MagicStick"
message "&cOu faites '/magicstick delete' pour enlever vos effets de MagicStick"
message "&a --------------------"
message " &5&lMagicStick &o&aby LeonardBoBo2112"
message "&6&l MAGICSTICK EXISTANT:"
message "&3&l SpeedStick"
message "&c&l StrengthStick"
message "&a&l JumpBoostStick"
message "&9&l NightVisionStick"
message "&a --------------------"
message "&a&l VOUS POUVEZ DROP VOTRE MAGICSTICK A VOS"
message " &a&l AMI(E)S"
stop
if arg 1 is not "Speed":
if arg 1 is not "Strength":
if arg 1 is not "JumpBoost":
if arg 1 is not "NightVision":
if arg 1 is not "NightVisionStick":
if arg 1 is not "JumpBoostStick":
if arg 1 is not "StrengthStick":
if arg 1 is not "SpeedStick":
if arg 1 is not "delete":
message "&a --------------------"
message " &5&lMagicStick &o&aby LeonardBoBo2112"
message "&6&l MagicStick existants:"
message "&3&l SpeedStick"
message "&c&l StrengthStick"
message "&a&l JumpBoostStick"
message "&9&l NightVisionStick"
message "&a --------------------"
message "&a&l VOUS POUVEZ DROP VOTRE MAGICSTICK A VOS "
message " &a&l AMI(E)S"
if arg 1 is "delete":
message "&aTous vos effets on été suprimée"
if arg 1 is "Speed" or "SpeedStick":
if player has permissions "{@SpeedPerm}": #Vous pouvez modifier la permission
give 1 stick named "&3&lSpeedStick" to player
message "&a&lStick: &6&l%arg 1%"
stop
else:
message "&4Tu n'a pas la permission d'utiliser ce MagicStick"
if arg 1 is "Strength" or "StrengthStick":
if player has permissions "{@StrengthPerm}": #Vous pouvez modifier la permission
give 1 stick named "&c&lStrengthStick" to player
message "&a&lStick: &6&l%arg 1%"
stop
else:
message "&4Tu n'a pas la permission d'utiliser ce MagicStick"
if arg 1 is "JumpBoost" or "JumpBoostStick":
if player has permissions "{@JumpBoostPerm}": #Vous pouvez modifier la permission
give 1 stick named "&a&lJumpBoostStick" to player
message "&a&lStick: &6&l%arg 1%"
stop
else:
message "&4Tu n'a pas la permission d'utiliser ce MagicStick"
if arg 1 is "NightVision" or "NightVisionStick":
if player has permissions "{@NightVisionPerm}": #Vous pouvez modifier la permission
give 1 stick named "&9&lNightVisionStick" to player
message "&a&lStick: &6&l%arg 1%"
stop
else:
message "&4Tu n'a pas la permission d'utiliser ce MagicStick"
if arg 1 is "delete":
if player has Night vision:
remove Night Vision from the player
if player has Strength:
remove Strength from the player
if player has Jump Boost:
remove Jump Boost from the player
if player has speed:
remove speed from the player
#|------------------------------------------|
#| |
#| RIGHTCLICK |
#| EFFECTS |
#|------------------------------------------|
on rightclick:
if player's tool is Stick:
if name of player's tool is "&3&lSpeedStick":
apply speed 2 to player for 200 minutes
if player has Night vision:
remove Night Vision from the player
if player has Strength:
remove Strength from the player
if player has Jump Boost:
remove Jump Boost from the player
if player has regeneration:
remove regeneration from the player
on rightclick:
if player's tool is Stick:
if name of player's tool is "&c&lStrengthStick":
apply strength 1 to player for 200 minutes
if player has Night vision:
remove Night Vision from the player
if player has Speed:
remove speed from the player
if player has Jump Boost:
remove Jump Boost from the player
if player has regeneration:
remove regeneration from the player
on rightclick:
if player's tool is Stick:
if name of player's tool is "&a&lJumpBoostStick":
apply Jump boost 2 to player for 200 minutes
if player has Night vision:
remove Night Vision from the player
if player has Speed:
remove speed from the player
if player has Strength:
remove Strength from the player
if player has regeneration:
remove regeneration from the player
on rightclick:
if player's tool is Stick:
if name of player's tool is "&9&lNightVisionStick":
apply Night Vision 2 to player for 200 minutes
if player has Regeneration:
remove Night Vision from the player
if player has Speed:
remove speed from the player
if player has Strength:
remove Strength from the player
if player has Jump boost:
remove Jump boost from the player
#----------------------------------------------------------------------------------------------------