# Welcome to my own skript! # This is my first one so i hope you enjoy it! #Skript created by bolleboor #Do not change these unless you want all hell to brake loose! options: MCRVER: 1.2.7 configver: bullhead function configRefresh(n: number) :: number: set {ExtraCMDS.config.config} to value "config" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.servername} to value "servername" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.website} to value "website" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.appealwebsite} to value "appealwebsite" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.ruleswebsite} to value "ruleswebsite" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.youtube} to value "youtube" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.twitter} to value "twitter" get of "plugins/ExtraCMDS/config.yml" set {ExtraCMDS.config.shoplink} to value "shoplink" get of "plugins/ExtraCMDS/config.yml" function configPopulate(n: number) :: number: create file "plugins/ExtraCMDS/config.yml" set "config" to "{@configver}" in yaml file "plugins/ExtraCMDS/config.yml" set "servername" to "Change name here" in yaml file "plugins/ExtraCMDS/config.yml" set "website" to "Set your website here" in yaml file "plugins/ExtraCMDS/config.yml" set "appealwebsite" to "Set your appealwebsite here" in yaml file "plugins/ExtraCMDS/config.yml" set "ruleswebsite" to "Set your rules website here" in yaml file "plugins/ExtraCMDS/config.yml" set "youtube" to "Yt account here" in yaml file "plugins/ExtraCMDS/config.yml" set "twitter" to "Twitter account here" in yaml file "plugins/ExtraCMDS/config.yml" set "shoplink" to "Your webshop URL" in yaml file "plugins/ExtraCMDS/config.yml" on script unload: broadcast "&9&7ExtraCMDS plugin unloaded! Reloading now!" on load: if file "plugins/ExtraCMDS/config.yml" doesn't exists: configPopulate(1) configRefresh(1) wait 1 second if {ExtraCMDS.config.config} is "{@configver}": broadcast "&9[ExtraCMDS] Plugin has loaded!!! " else: broadcast "&9[ExtraCMDS] &cOh no,Your config is not uptodate! We are fixing it for you!" configPopulate(1) broadcast "&9[ExtraCMDS] &2Updating complete!" broadcast "&9[ExtraCMDS] &7Going to reload plugin now!" wait 3 second execute console command "/sk reload ExtraCMDS" broadcast "&9[ExtraCMDS] &aPlugin fixed!" if {ExtraCMDS.scoreboard} is not set: set {ExtraCMDS.scoreboard} to true #Main Command/Toggles command /ExtraCMDS [] []: usage: &7/ExtraCMDS help trigger: if argument 1 is "help": send " &9Extra Commands" send "&7Running in version: &e{@MCRVER}" send "&cCreated by bolleboor" send "" send "type '/ExtraCMDS List' to see the Extra commands list!" send "" send "Donate at www.patreon.com/bolleboor" send "&9Check out my twitter page:&2twitter.com/bolleboor" else: if argument 1 is "List": send "&9" send "&9/ExtraCMDS &ePlugin information &9Premission:ALL" send "&9/ExtraCMDS list &eShows up this list. &9Premission: ALL send "&9/ExtraCMDSreload &eReload the config &9Permission: ExtraCMDS.reload" send "&9/die &eKills a player &4[ERROR]&9Permission: ExtraCMDS.die" send "&9/jump &etp's where your cursor is! &9Permission: ExtraCMDS.jump" send "&9/kaboom &eBlows up your server &9Permission: ExtraCMDS.kaboom" send "&9/Scoreboard disable &eDisables your scoreboard &9Permission: ALL" send "&9/Scoreboard enable &eEnables scoreboard &9Permission: ALL" send "&4More coming soon" else: if argument 1 is "Changelog" send "&9 ExtraCMDS Changelog " send "&9 Version:{@MCRVER} " send "&9Added This Changelog" command /ExtraCMDSreload : usage: /ExtraCMDSreload config/skript trigger: if argument 1 is "skript": send "&9Reloading Plugin,Please wait..." execute console command "/sk reload ExtraCMDS" else: if argument 1 is "config": send "&9Reloading config,Please wait..." wait 1 second configRefresh(1) wait 3 second send "&aConfig successfully reloaded!" command /jump : usage: /jump Permission: ExtraCMDS.jump permission message: &9You need to following permission: ExtraCMDS.jump trigger: if arg 1 is not set: on flight toggle: player's gamemode is not creative: cancel event wait a tick set player's flight state to false push player upwards at speed 20 push player forwards at speed 0 play "GHAST_FIREBALL" to player at volume 0.99 command /kaboom: usage: /kaboom confirm to confirm the boom Permission: ExtraCMDS.kaboom permission message: &9You need to following permission: ExtraCMDS.kaboom trigger: if {BIEM} is false: message "&c[ERROR] Command disabled" to player else: if {BIEM} is true: send "&cBlowing up server is 5 sec" wait 1 second send "&c4 sec" wait 1 second send "&c3 sec" wait 1 second send "&c2 sec" wait 1 second send "&c1 sec" send "&4KABOOM" execute console command "/nuke" execute console command "/nuke" execute console command "/nuke" execute console command "/nuke" execute console command "/nuke" execute console command "/nuke" execute console command "/nuke" execute console command "/nuke" command /kaboomoff: Permission: ExtraCMDS.kaboomoff permission message: &9You need to following permission: ExtraCMDS.kaboomoff trigger: send "&9[ExtraCMDS] &c/kaboom command has been disabled" set {BIEM} to false command /kaboomon: Permission: ExtraCMDS.kaboomon permission message: &9You need to following permission: ExtraCMDS.kaboomon trigger: send "&9[ExtraCMDS] &a/kaboom command has been enabled" set {BIEM} to true #Scoreboard every 2 seconds: if {ExtraCMDS.usescoreboard} is false: stop else: loop all players: wipe loop-player's sidebar set name of sidebar of loop-player to "&b&l%{ExtraCMDS.config.servername}%" set score "&b&lConnected to world:" in sidebar of loop-player to 15 set score "&f%loop-player's world%" in sidebar of loop-player to 14 set score "&1 " in sidebar of loop-player to 13 set score "&b&lMoney:" in sidebar of loop-player to 12 set score "&f%{mineplex.gems.%loop-player%}%" in sidebar of loop-player to 11 set score "&3 " in sidebar of loop-player to 7 set score "&4&lRank" in sidebar of loop-player to 6 set score "&4Feature coming soon!" in sidebar of loop-player to 5 set score "&4 " in sidebar of loop-player to 4 set score "&6&lWebsite" in sidebar of loop-player to 3 set score "&f%{ExtraCMDS.config.website}%" in sidebar of loop-player to 2 command /ECScoreboard : usage: /ECScoreboard Enable or /EcScoreboard Disabled trigger: if argument 1 is "Enable": if {ExtraCMDS.usescoreboard} is true: send "&9[ExtraCMDS] &b&lScoreboard already enabled!" else: set {ExtraCMDS.usescoreboard} to true send "&9[ExtraCMDS] &7Scoreboard Enabled!" else: if argument 1 is "Disable": if {mineplex.usescoreboard} is false: send "&9[ExtraCMDS] &b&lScoreboard already disabled!" else: set {ExtraCMDS.usescoreboard} to false send "&9[ExtraCMDS] &7Scoreboard Disabled!" loop all players: wipe loop-player's sidebar command /money [] [] []: trigger: if arg 1 is not set: send "&9[ExtraCMDS] &aYou currently have:" send "&9[ExtraCMDS] &e %{mineplex.gems.%player%}% " command /addmoney [] [] []: permission: ExtraCMDS.addmoney permission message: &9[ExtraCMDS] &aYou don't have the following permission: ExtraCMDS.addmoney trigger: if arg 1 is not set: send "&9[ExtraCMDS] &4Please use the command correctly" send "&9[ExtraCMDS] &9/addmoney {player} {Value}" else: if arg 2 is not set: send "&9[ExtraCMDS] &4Please use the command correctly" send "&9[ExtraCMDS] &9/addmoney {player} {Value}" else: if arg 1 is not online: send "&9[ExtraCMDS] &cWe currently can't add money!" send "&9[ExtraCMDS] &cTo the following player: %arg-1%" send "&9[ExtraCMDS] &4Reason:&cPlayer not online/Can't be found" send "" send "&9[ExtraCMDS] &9Do you think this is a bug?" send "&9[ExtraCMDS] &4 =-=-=Report here=-=-=" send "&9[Linker] https://github.com/bolleboor/ExtraCMDS/issues" else: set {_num} to arg 2 parsed as an integer if {_num} is an integer: add {_num} to {mineplex.gems.%arg-1%} send "&9[ExtraCMDS] &aYou gave &e%arg-2% money &7to &e%arg-1%&7." send "&9[ExtraCMDS] (Money Notification):&e%player% &7gave you &e%arg-2% money&9." to arg-1 command /delmoney [] [] []: permission: ExtraCMDS.delmoney permission message: &9[ExtraCMDS] &aYou don't have the following permission: ExtraCMDS.addmoney trigger: if arg 1 is not set: send "&9[ExtraCMDS] &4This command is coming soon!" command /die : usage: trigger: if arg 1 is not set: send "&4[ERROR] &9[ExtraCMDS] &cThis command is currently disabled by bolleboor!" send "&4[ERROR] &9[ExtraCMDS] &cReason:&4This command is bugged!" command /Scoreboardset : usage: /ECScoreboard Enable or /EcScoreboard Disabled trigger: if argument 1 is set: set {servername} to arg 1 parsed as an integer if {servername} is an integer: add {servername} to {ExtraCMDS.config.servername}