K so, I'm making a kitpvp skript. But console spouts out a HUGE error, and IDK how to fix it.
I've used the parser and tried to look thru the forums.
Skript Version: Skript 2.2 (dev36)
Skript Author: Matocolotoe
Minecraft Version: 1.8.9
There are no errors on reload.
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Putting it thru a parser, and looking at other forums.
Addons using (including versions):
BoringSK v2.0, SkQuery v4.1.0
Console Errors:
CODE:
I've used the parser and tried to look thru the forums.
Skript Version: Skript 2.2 (dev36)
Skript Author: Matocolotoe
Minecraft Version: 1.8.9
There are no errors on reload.
Have you tried searching the docs? Yes
Have you tried searching the forums? Yes
What other methods have you tried to fix it? Putting it thru a parser, and looking at other forums.
Addons using (including versions):
BoringSK v2.0, SkQuery v4.1.0
Console Errors:
Code:
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! [Skript] Severe Error:
[02:44:55 ERROR]: #!#! Could not load Kitpvp.sk
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Something went horribly wrong with Skript.
[02:44:55 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[02:44:55 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[02:44:55 ERROR]: #!#! Here is full list of them:
[02:44:55 ERROR]: #!#! BoringSK v2.0 SkQuery v4.1.0
[02:44:55 ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
[02:44:55 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[02:44:55 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[02:44:55 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[02:44:55 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[02:44:55 ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Stack trace:
[02:44:55 ERROR]: #!#! ch.njol.skript.SkriptAPIException: No class info found for worldborder
[02:44:55 ERROR]: #!#! at ch.njol.skript.registrations.Classes.getClassInfo(Classes.java:263)
[02:44:55 ERROR]: #!#! at ch.njol.skript.patterns.TypePatternElement.fromString(TypePatternElement.java:92)
[02:44:55 ERROR]: #!#! at ch.njol.skript.patterns.PatternCompiler.compile(PatternCompiler.java:132)
[02:44:55 ERROR]: #!#! at ch.njol.skript.patterns.PatternCompiler.compile(PatternCompiler.java:48)
[02:44:55 ERROR]: #!#! at java.util.HashMap.computeIfAbsent(HashMap.java:1128)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse_i(SkriptParser.java:1301)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:226)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Condition.parse(Condition.java:77)
[02:44:55 ERROR]: #!#! at ch.njol.skript.sections.SecConditional.init(SecConditional.java:83)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.init(Section.java:69)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:257)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.parse(Section.java:156)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1127)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.loadCode(Section.java:90)
[02:44:55 ERROR]: #!#! at ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.init(Section.java:69)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:257)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.parse(Section.java:156)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1127)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.loadCode(Section.java:90)
[02:44:55 ERROR]: #!#! at ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.init(Section.java:69)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:257)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.parse(Section.java:156)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1127)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.loadCode(Section.java:90)
[02:44:55 ERROR]: #!#! at ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.init(Section.java:69)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:257)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:179)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Section.parse(Section.java:156)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1127)
[02:44:55 ERROR]: #!#! at ch.njol.skript.command.Commands.loadCommand(Commands.java:489)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:707)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$loadScripts$4(ScriptLoader.java:525)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:417)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.makeFuture(ScriptLoader.java:433)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:524)
[02:44:55 ERROR]: #!#! at ch.njol.skript.ScriptLoader.reloadScript(ScriptLoader.java:1060)
[02:44:55 ERROR]: #!#! at ch.njol.skript.SkriptCommand.onCommand(SkriptCommand.java:171)
[02:44:55 ERROR]: #!#! at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45)
[02:44:55 ERROR]: #!#! at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146)
[02:44:55 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666)
[02:44:55 ERROR]: #!#! at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:596)
[02:44:55 ERROR]: #!#! at ch.njol.skript.Skript.dispatchCommand(Skript.java:1437)
[02:44:55 ERROR]: #!#! at ch.njol.skript.effects.EffCommand.execute(EffCommand.java:82)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:51)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:60)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:88)
[02:44:55 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:56)
[02:44:55 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:285)
[02:44:55 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.lambda$execute$0(ScriptCommand.java:250)
[02:44:55 ERROR]: #!#! at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:255)
[02:44:55 ERROR]: #!#! at ch.njol.skript.command.Commands.handleCommand(Commands.java:258)
[02:44:55 ERROR]: #!#! at ch.njol.skript.command.Commands$1.onPlayerCommand(Commands.java:175)
[02:44:55 ERROR]: #!#! at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
[02:44:55 ERROR]: #!#! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[02:44:55 ERROR]: #!#! at java.lang.reflect.Method.invoke(Method.java:498)
[02:44:55 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300)
[02:44:55 ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[02:44:55 ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[02:44:55 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
[02:44:55 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1181)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13)
[02:44:55 ERROR]: #!#! at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[02:44:55 ERROR]: #!#! at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)
[02:44:55 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)
[02:44:55 ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Version Information:
[02:44:55 ERROR]: #!#! Skript: 2.6.1 (latest)
[02:44:55 ERROR]: #!#! Flavor: github-matocolotoe-1.8
[02:44:55 ERROR]: #!#! Date: 01:36:24.023478500
[02:44:55 ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT
[02:44:55 ERROR]: #!#! Minecraft: 1.8.8
[02:44:55 ERROR]: #!#! Java: 1.8.0_312 (OpenJDK 64-Bit Server VM 25.312-b07)
[02:44:55 ERROR]: #!#! OS: Linux amd64 5.13.0-27-generic
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Server platform: Paper
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Current node: while {kits::%{_id}%::*} is set: (Kitpvp.sk, line 134)
[02:44:55 ERROR]: #!#! Current item: null
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Thread: Server thread
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! Language: english
[02:44:55 ERROR]: #!#! Link parse mode: DISABLED
[02:44:55 ERROR]: #!#!
[02:44:55 ERROR]: #!#! End of Error.
[02:44:55 ERROR]: #!#!
CODE:
Code:
variables:
{kills::%player%} = 0
{killstreak::%player%} = 0
{bestkillstreak::%player%} = 0
{KDR::%player%} = 0
{deaths::%player%} = 0
{money::%player%} = 0
{beloved::%player%} = 0
on join:
teleport player to {spawn}
if player has permission "staff.join.message":
send "&b[S] &f%player's displayname% &3connected to &b%world%&3." to all players where [input has permission "staff.join.see"]
on quit:
if player has permission "staff.quit.message":
send "&b[S] &f%player's displayname% &3disconnected from &b%world%&3." to all players where [input has permission "staff.quit.see"]
on first join:
send "&f%player's displayname% &e&lhas joined the server for the first time!" to all players
on join:
send "&bYoooooooooooooooooooooooooooo ur in &b&lNitrolands&3 this is P0GG3R5!!!"
send "&c&lUse /kit for your pvp kit!"
send "&c&lUse /kit for your pvp kit!"
send "&c&lUse /kit for your pvp kit!"
send "&c&lUse /kit for your pvp kit!"
send "&c&lUse /kit for your pvp kit!"
on chat:
if {mutechat} is set:
if player doesn't have permission "mutechat.bypass":
cancel event
set {_shutup} to random integer between 1 and 5
if {_shutup} is 1:
send "&eOpenGL Error: &f69420 (stop talking)"
else if {_shutup} is 2:
send "&eOpenGL Error: &f42069 (shut up)"
else if {_shutup} is 3:
send "&eOpenGL Error: &f66699 (nobody asked for you to talk)"
else if {_shutup} is 4:
send "&eOpenGL Error: &f133769 (how does your throat not get tired your voice)"
else if {_shutup} is 5:
send "&eOpenGL Error: &f40469 (ERROR 404: User wont shut the fuck up)"
on chat:
set the chat format to "%player's displayname%&7: &f%colored message%"
command /mutechat:
trigger:
if player doesn't have permission "mutechat.use":
send "&cYou do not have permission to execute this command!"
else:
if {mutechat} is not set:
send "&cChat has been muted by %player%." to all players
set {mutechat} to true
else:
send "&aChat has been unmuted by %player%." to all players
delete {mutechat}
command /setspawn:
trigger:
if player doesn't have permission "spawn.setspawn":
send "&cYou do not have permission to execute this command!"
else:
set {spawn} to location of player
send "&aSuccessfully set the spawn to your current location :)"
command /spawn:
trigger:
if {spawn} is set:
teleport player to {spawn}
send "&aYou were teleported to spawn!"
else:
send "&cThere is no spawn yet :("
command /rln:
trigger:
player command "sk reload Kitpvp"
command /build:
trigger:
if player doesn't have permission "build.toggle":
send "&cYou do not have permission to execute this command!"
else:
if {build::%uuid of player%} is not set:
set {build::%uuid of player%} to true
send "&aYou may now modify terrian! Use &e/build&a to disable it."
else:
delete {build::%uuid of player%}
send "&cYou disabled your ability to modify terrian. Use &e/build&c to reenable it."
on place:
if player does not have permission "build.toggle":
cancel event
send "&cYou do not have permission to modify terrian in this world."
else if {build::%uuid of player%} is not set:
cancel event
send "&cYou cannot modify terrain because your build mode is &odisabled&c. Type &e/build&c to enable it."
on break:
if player does not have permission "build.toggle":
cancel event
send "&cYou do not have permission to modify terrian in this world."
else if {build::%uuid of player%} is not set:
cancel event
send "&cYou cannot modify terrain because your build mode is &odisabled&c. Type &e/build&c to enable it."
command /kit [<text>] [<text>] [<text>]:
trigger:
if arg-1 is not set:
if player doesn't have permission "kitpvp.admin":
send "&cUsage: /kit <name> OR /kit equip <name>"
else:
send "&7&m------------------------------------------------"
send "&c&lKitpvp &7- &cCommands"
send " "
send "&c/kit create <name> &7- &cCreates a kit with your inventory."
send "&c/kit delete <name> &7- &cDeletes a kit."
send "&c/kit edit <kit> &7- &cPulls up a GUI with a menu where you can edit the kit name, and the cooldowns."
send "&c/kit equip <kit> OR /kit <name> &7- &cEquips a kit."
send "&c/kit enable <kit> &7- &cEnables a kit."
send "&c/kit disable <kit> &7- &cDisables a kit."
send "&c/kit rename <old kit name> <new kit name> &7- &cRenames a kit."
send "&7&m------------------------------------------------"
else if arg-1 is "create":
if player doesn't have permission "kitpvp.admin":
send "&cYou do not have permission to execute this sub-command!"
else:
if arg-2 is not set:
send "&cUsage: /kit create <name>"
else:
set {_id} to 1
while {kits::%{_id}%::*} is set:
add 1 to {_id}
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 2
send "&cError: A kit with the name &e%uncolored arg 2% &calready exists."
loop player's inventory:
loop-value is not air
set {kits::%{_id}%::contents::%index of loop-slot%} to loop-slot
set {kits::%{_id}%::name} to arg 2 in proper case
send "&aCreated kit &e%uncolored arg 2 in proper case%&a!"
else if arg-1 is "delete":
if player doesn't have permission "kitpvp.admin":
send "&cYou do not have permission to execute this sub-command!"
else:
if arg-2 is not set:
send "&cUsage: /kit delete <kit>"
else:
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 1
set {_id} to loop-value
if {_id} is not set:
send "&cError: A kit with the name &e%uncolored arg 1 in proper case% &cdoes not exist."
delete {kits::%{_id}%::*}
send "&aDeleted kit &e%uncolored arg 1 in proper case%&a!"
else if arg-1 is "equip":
if arg-2 is not set:
send "&cUsage: /kit equip <kit> OR /kit <kit>"
else:
if {disabledkits::*} contains uncolored arg-2:
send "&cError: The kit &e%uncolored arg 1 in proper case%&c is disabled."
else:
if {received::%player%} is true:
send "&cYou already have a kit active. Die to get a new kit."
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 2
set {_id} to loop-value
if {_id} is not set:
send "&cA kit with the name &e%uncolored arg 2 in proper case% &cdoes not exist."
clear player's inventory
loop indices of {kits::%{_id}%::contents::*}:
set slot loop-value parsed as integer of player's inventory to {kits::%{_id}%::contents::%loop-value%}
send "&aRecieved kit &e%uncolored arg 2 in proper case%&a."
set {received::%player%} to true
else if arg-1 is "enable":
if player doesn't have permission "kitpvp.admin":
send "&cYou do not have permission to execute this sub-command!"
else:
if arg-2 is not set:
send "&cUsage: /kit enable <kit>"
else:
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 2
set {_id} to loop-value
if {_id} is not set:
send "&cA kit with the name &e%uncolored arg 2 in proper case% &cdoes not exist."
else if {disabledkits::*} does not contain {kits::%{_id}%::name}:
send "&cError: The kit &e%uncolored arg 2 in proper case%&c isn't disabled."
else:
remove {kits::%{_id}%::name} from {disabledkits::*}
send "&aSuccessfully removed &e%uncolored arg 2 in proper case%&a from the disabled kits list! &7&o(Type /kit disable <kit> to redisable it.)"
else if arg-1 is "disable":
if player doesn't have permission "kitpvp.admin":
send "&cYou do not have permission to execute this sub-command!"
else:
if arg-2 is not set:
send "&cUsage: /kit disable <kit>"
else:
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 2
set {_id} to loop-value
if {_id} is not set:
send "&cA kit with the name &e%uncolored arg 2 in proper case% &cdoes not exist."
else if {disabledkits::*} contains {kits::%{_id}%::name}:
send "&cError: The kit &e%uncolored arg 2 in proper case%&c is already disabled."
else:
add {kits::%{_id}%::name} to {disabledkits::*}
send "&aSuccessfully added &e%uncolored arg 2 in proper case%&a to the disabled kits list! &7&o(Type /kit enable <kit> to reenable it.)"
else if arg-1 is "rename":
if player doesn't have permission "kitpvp.admin":
send "&cYou do not have permission to execute this sub-command!"
else:
if arg-2 is not set:
send "&cUsage: /kit rename <kitname> <new name>"
else if arg-1 is not set:
send "&cUsage: /kit rename <kitname> <new name>"
else:
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 2
set {_id} to loop-value
if {_id} is not set:
send "&cA kit with the name &e%uncolored arg 2 in proper case% &cdoes not exist."
else:
set {kits::%{_id}%::name} to uncolored arg 3
send "&aSuccessfully renamed the kit to &e%uncolored arg 3 in proper case%&a!"
else if arg-1 is "edit":
if player doesn't have permission "kitpvp.admin":
send "&cYou do not have permission to execute this sub-command!"
else:
if arg-2 is not set:
send "&cUsage: /kit edit <kit>"
else if arg-3 is not set:
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 2
set {_id} to loop-value
if {_id} is not set:
send "&cA kit with the name &e%uncolored arg 2 in proper case% &cdoes not exist."
else:
open chest with 3 rows named "&5Editing: &5&l%{kits::%{_id}%::name}%&5." to player
else:
send "&cUsage: /kit edit <kit>"
else:
if {disabledkits::*} contains uncolored arg-2:
send "&cError: The kit &e%uncolored arg 1 in proper case%&c is disabled."
else:
if {received::%player%} is true:
send "&cYou already have a kit active. Die to get a new kit."
loop indices of {kits::*}:
uncolored {kits::%loop-value%::name} is uncolored arg 1
set {_id} to loop-value
if {_id} is not set:
if player does not have permission "kitpvp.admin":
send "&cUsage: /kit <name> OR /kit equip <name>"
else:
send "&7&m------------------------------------------------"
send "&c&lKitpvp &7- &cCommands"
send " "
send "&c/kit create <name> &7- &cCreates a kit with your inventory."
send "&c/kit delete <name> &7- &cDeletes a kit."
send "&c/kit edit <kit> &7- &cPulls up a GUI with a menu where you can edit the kit name, and the cooldowns."
send "&c/kit equip <kit> OR /kit <name> &7- &cEquips a kit."
send "&c/kit enable <kit> &7- &cEnables a kit."
send "&c/kit disable <kit> &7- &cDisables a kit."
send "&c/kit rename <old kit name> <new kit name> &7- &cRenames a kit."
send "&7&m------------------------------------------------"
clear player's inventory
loop indices of {kits::%{_id}%::contents::*}:
set slot loop-value parsed as integer of player's inventory to {kits::%{_id}%::contents::%loop-value%}
send "&aRecieved kit &e%uncolored arg 1 in proper case%&a."
set {received::%player%} to true
command /reset [<player>]:
trigger:
if player isn't op:
send "&cSTOP POSTING ABOUT AMONG US! I'M TIRED OF SEEING IT! MY FRIENDS ON TIKTOK SEND ME MEMES, ON DISCORD IT'S FUCKING MEMES! I was in a server, right? And ALL OF THE CHANNELS were just among us stuff I-I showed my champion underwear to my girlfriend and t-the logo I flipped it and I said 'hey babe, when the underwear is sus HAHA DING DING DING DING DING DING DING DI DI DING' I fucking looked at a trashcan and said 'THAT'S A BIT SUSSY' I looked at my penis, I think of the astronauts helmet and I go PENIS? MORE LIKE PENSUS! AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
else if arg-1 is not set:
set {kills::%player%} to 0
set {killstreak::%player%} to 0
set {bestkillstreak::%player%} to 0
set {deaths::%player%} to 0
set {money::%player%} to 0
set {beloved::%player%} to 0
set {KDR::%player%} to 0
send "&cOk! You're reset!"
else:
set {kills::%arg-1%} to 0
set {killstreak::%arg-1%} to 0
set {bestkillstreak::%arg-1%} to 0
set {deaths::%arg-1%} to 0
set {money::%arg-1%} to 0
set {beloved::%arg-1%} to 0
set {KDR::%arg-1%} to 0
send "&cOk! You're reset!" to arg-1
command /killmessage [<text>]:
aliases: km
trigger:
if arg-1 is not set:
send "&7&m----------------------------------------"
send "&3&lKILL MESSAGES:"
send "&7Default"
send "&6Fire"
send "&7&lMoon"
send "&5&lFlex"
send "&7&m----------------------------------------"
else:
if arg-1 is "default":
delete {killmessage::%uuid of player%}
send "&7You set your kill message to &7Default&e."
else if arg-1 is "Fire":
set {killmessage::%uuid of player%} to "fire"
send "&7You set your kill message to &6Fire&e."
else if arg-1 is "Moon":
set {killmessage::%uuid of player%} to "moon"
send "&7You set your kill message to &7&lMoon&e."
else if arg-1 is "Flex":
set {killmessage::%uuid of player%} to "flex"
send "&7You set your kill message to &5&lFlex&e."
on place of tnt:
if colored name of player's tool is "&cMy Beloved <3":
remove 1 tnt from player's inventory
cancel event
spawn a primed tnt at event-location
add 1 to {beloved::%player%}
play sound "mob.enderdragon.growl" at volume 1 at pitch 1 to all players
if {killmessage::%uuid of player%} is not set:
send " " to all players
send "&f&lBELOVED USED > &cMy Beloved ❤&7 was placed by &c%player%&7!" to all players
send " " to all players
else if {killmessage::%uuid of player%} is "fire":
send " " to all players
send "&f&lBELOVED USED > &cMy Beloved ❤&7 was fired up by &c%player%&7!" to all players
send " " to all players
else if {killmessage::%uuid of player%} is "moon":
send " " to all players
send "&f&lBELOVED USED > &cMy Beloved ❤&7 was blasted in by &c%player%&7!" to all players
send " " to all players
else if {killmessage::%uuid of player%} is "flex":
send " " to all players
send "&f&lBELOVED USED > &cMy Beloved ❤&7 was Beloved &e##%{beloved::%player%}%&7 by &c%player%&7!" to all players
send " " to all players
on damage of player:
wait 1 tick
attacker is a player:
projectile exists
if projectile is arrow:
wait 1 tick
victim is not dead:
send "%victim's displayname% &7is on &c%victim's health% ❤&7!" to the attacker
on explode:
cancel event
push target forwards with force 1
push target forwards with force 1
push target forwards with force 1
push target forwards with force 1
push target forwards with force 1
damage target by 10
command /enchant [<enchantment type>]:
trigger:
if player doesn't have permission "enchant.use":
send "&cYou do not have permission to execute this command!"
else if arg-1 is not set:
send "&cUsage: /enchant <enchant & level>"
else:
enchant player's tool with arg-1
send "&aSuccess!"
on death:
attacker is a player
victim is a player
add 1 to {kills::%attacker%}
add 1 to {killstreak::%attacker%}
add 1 to {deaths::%victim%}
if {killstreak::%victim%} is more than 0:
set {killstreak::%victim%} to 0
if {killstreak::%attacker%} is more than 5:
send " " to all players
send "%attacker's displayname% &7is out here with a &c&l%{killstreak::%attacker%}% KILLSTREAK!" to all players
send " " to all players
on death of player:
delete {received::%victim's uuid%}
set death message to ""
attacker is a player
victim is a player
set {_belovedchance} to a random integer between 1 and 4
if {_belovedchance} is 4:
drop 1 tnt named "&cMy Beloved <3"
strike lightning effect at event-location
if {killmessage::%uuid of attacker%} is not set:
if projectile is set:
set death message to "&c%victim%&7 &7was shot by &c%attacker%&7 [&c%attacker's health%❤&7]"
else if attacker is set:
set death message to "&c%victim%&7 &7was killed&7 by &c%attacker%&7 [&c%attacker's health%❤&7]"
else if {killmessage::%uuid of attacker%} is "fire":
if projectile is set:
set death message to "&c%victim%&7 was flamed by &c%attacker%&7 [&c%attacker's health%❤&7]"
else if attacker is set:
set death message to "&c%victim%&7 was burnt by &c%attacker%&7 [&c%attacker's health%❤&7]"
else if {killmessage::%uuid of attacker%} is "moon":
if projectile is set:
set death message to "&c%victim%&7 was &eoutshined &7by &c%attacker%&7 [&c%attacker's health%❤&7]"
else if attacker is set:
set death message to "&c%victim%&7 was &eovershadowed &7by &c%attacker%&7 [&c%attacker's health%❤&7]"
else if {killmessage::%uuid of attacker%} is "flex":
if projectile is set:
set death message to "&c%victim%&7 &7was &c%attacker%'s&7 kill &e##%{kills::%attacker%}% &7[&c%attacker's health%❤&7]"
else if attacker is set:
set death message to "&c%victim%&7 &7was &c%attacker%'s&7 kill &e##%{kills::%attacker%}% &7[&c%attacker's health%❤&7]"
apply regeneration of tier 2 to attacker for 5 seconds
apply absorption of tier 5 to attacker for 5 seconds
wait 1 tick
force victim to respawn