# # # O P T I O N S & V A R I A B L E S # # options: # General: prefix: &b&lDelza &8| name: &bDelza website: example.com ip: play.example.com store: store.example.com # In-game Messages: nopermission: &cI won't allow you to do this. missingargs: &cMissing Arguments. broadcastmessage1: &7Don't forget to check our brand new store! &astore.example.com broadcastmessage2: &7Connect through &aplay.example.com &7for the best connection! broadcastmessage3: &7Check out the forums on our website if you want to apply! &aexample.com hubhasbeensetmsg: &b&lTHE HUB &ahas been set to your location! senttohubmsg: &aYou have been sent to the &bHUB hubdoesntexistmsg: &c&lSorry... &cBut the hub doesn't exist for now, Please report this quickly to a Moderator or any Administrator. # Permissions: pluginadminperm: delza.admin sethubperm: delza.sethub helpmsgperm: delza.help warnperm: delza.warn banperm: delza.ban unbanperm: delza.unban kickperm: delza.kick baninfoperm: delza.baninfo trollperm: delza.troll # Scoreboard Animated Text: # Scoreboard Titles (animated): sbtext1: &b&lDELZA NETWORK sbtext2: &f&lD&b&lELZA NETWORK sbtext3: &b&lD&f&lE&b&lLZA NETWORK sbtext4: &b&lDE&f&lL&b&lZA NETWORK sbtext5: &b&lDEL&f&lZ&b&lA NETWORK sbtext6: &b&lDELZ&f&lA &b&lNETWORK # Scoreboard Lines: sbline1: &aOnline: &f%online players count% sbline2: &aName: &f%loop-player% # Anti-Plugin List: firstlinepl: &6&lPLUGINS: secondlinepl: &aCore, Skript, Delza # Advantage Manager Settings: # Warn section: warnusagemsg: &cInvalid Arguments. Try again with '/warn ' # Wrong usage message warnmsg: &7You have been &4&lWARNED &7by &c%player% # Warn message warnreasonmsg: &7Reason: &c%arg-2% # Warn reason message warnglobalmsg: &c%player% &7has warned &c%arg-1% &7for &c%arg-2% # The global broadcast that says the following to all players online when user is warned warnsuccessfulmsg: &c%arg-1% &7has been successfully warned # Message sent to the moderator when the warn was successful # Ban Section: banusagemsg: &cWrong Usage, '/ban ' # Wrong usage message banmsg: &cYou have been permanent banned from the server! &cReason : &f%arg-2% # Ban message banglobalmsg: &c%arg-1% &7has been permanently suspended from the server # The global broadcast that says the following to all players online when user is banned banreasonmsg: &cReason: &f%arg-2% # Ban reason message bansuccessfulmsg: &aSuccessfully banned &c%arg-1% # Message sent to the moderator when the ban was successful # Unban Section: unbanusagemsg: &cWrong Usage, &cUse '/unban ' # Wrong usage message unbanglobalmsg: &a%arg-1%'s suspension has been cancelled (unbanned) # The global broadcast that says the following to all players online when user is unbanned unbansuccessfulmsg: &aYou successfuly unbanned %arg-1% # Message sent to the moderator when the unban was successful unbannotbannedmsg: &c%arg-1% is not banned! # User not banned message # Kick Section: kickusagemsg: &cWrong Usage, Use '/kick ' # Wrong usage message kickmsg: &cYou have been kicked by &c%player% &cfor &c%arg-2% # Kick message kickglobalmsg: &c%arg-1% &7has been kicked. # The global broadcast that says the following to all players online when user is kicked kickreasonmsg: &cReason: &f%arg-2% # Kick reason message kicksuccessfulmsg: &asuccessfully kicked %arg-1% # Message sent to the moderator when the kick was successful # Ban Info Section: biusername: &cUsername &7| &7%arg-1% bibannedby: &cBanned by &7| &7%{ban.bannedby.%arg 1%}% bibanreason: &cReason of Ban &7| &7%{ban.reason.%arg 1%}% bibanip: &cBanned-IP &7| &7%{BanIP.%arg 1%}% bibanduration: &cDuration &7| &7%{ban.expire.%arg 1%}% biusagemsg: &cWrong Usage, Use '/baninfo (player)' # TROLL SYSTEM SETTINGS: numberinvalidmsg: &c&lNO! &7The boost amount you provided is invalid. playerisnotonlinemsg: &c&lSORRY! &7The player you mentioned is offline or invalid. frozenmsg: &c&lYOU HAVE BEEN FROZEN! &7Do not leave until an admin says so. invalidtimedurationmsg: &c&lUNSUCCESSFUL! &7Please mention a valid amount of time in seconds first. frozenbanmsg: &c&lYOU HAVE BEEN BANNED! &7for leaving while frozen #[----------------------------------------------] # # # PLEASE DO NOT TOUCH OR DO ANYTHING # BELOW IF YOU DON'T KNOW WHAT YOU'RE # DOING, EVERYTHING CAN BE EDITED ABOVE. # THIS MESSAGE IS CAPITALIZED FOR # YOUR ATTENTION. # # #[----------------------------------------------] variables: {logincount} = 0 {onlineplayers} = 0 # # # C O M M A N D S # # command /sethub []: permission: {@sethubperm} permission message: {@nopermission} trigger: if arg 1 is not set: set {delza.hub} to location of player send "{@prefix} {@hubhasbeensetmsg}" command /hub []: trigger: if arg 1 is not set: teleport player to {delza.hub} send "{@prefix} {@senttohubmsg}" if {delza.hub} is not set: send "{@prefix} {@hubdoesntexistmsg}" command /delza [] []: permission: {@helpmsgperm} permission message: {@nopermission} trigger: if arg 1 is "help": wait 2 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7&m------------------------&c&m------&7&m------------------------" wait 8 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&b/delza reload &7Reloads the script" wait 8 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&b/delza options &7Displays the options gui." wait 8 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&b/delza sethub &7Sets the main hub location of the server." wait 8 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&b/delza cc &7Clears the general chat for you." wait 8 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7&m------------------------&c&m------&7&m------------------------" stop if arg 1 is not set: send "&b&lDevelopment Version: &aA2.0" send "&b&lCreated by: &aPingusate" send "&b&l: &aA2.1" if arg 1 is "cc": loop 100 times: send "" send "{@prefix} &aChat has been cleared by %player%" if arg 1 is "reload": make console execute "sk reload Delza" send "" play sound "BLOCK_NOTE_PLING" to player with volume 3 and pitch 1 if arg 1 is "options": open chest with 3 rows named "&b&lDelza options" to player wait 4 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 set slot 1 of player's current inventory to redstone block named "&c&lReload" wait 4 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 set slot 7 of player's current inventory to diamond named "&aClearChat" wait 4 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 set slot 13 of player's current inventory to stone pressure plate named "&aSet hub location" wait 4 ticks play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 set slot 15 of player's current inventory to apple named "&cMaintenance Mode" command /troll [] [] []: permission: delza.troll permission message: &c&LNO! &7you have no permissions to use this. trigger: if arg-1 is not set: send "&6&m-----------------------------------------------" send "&b/troll launch &7- Launched the trolled player to the sky by the amount given" send "&b/troll freeze &7- Freezes the trolled player for the amount given of time" send "&aMore commands will be made soon, Thanks to ExtremeUltra for the Launch command!" send "&6&m-----------------------------------------------" else if arg-1 is "launch": if arg-2 is set: set {_p} to arg 2 parsed as player loop all players: if {_p} contains loop-player: if arg 3 is set: set {_n} to arg 3 parsed as number if {_n} is set: push {_p} forward with speed {_n} push {_p} upwards with speed {_n} if {_n} is not set: push {_p} forward with speed 1 push {_p} upwards with speed 2 else: send "{@numberinvalidmsg}" else: send "{@numberinvalidmsg}" else: send "{@playernotonlinemsg}" else: send "{@playernotonlinemsg}" else if arg-1 is "freeze": if arg-2 is set: set {_p} to arg 2 parsed as player loop all players: if{_p} contains loop-player: if arg-3 is set: set {_ftime} to arg 3 parsed as number if {_ftime} is set: set {freeze.%arg-1%} to true message "{@frozenmsg}" to arg-2 wait {_ftime} seconds delete {freeze.%arg-1%} else: message "{@invalidtimedurationmsg}" else: message "{@invalidtimedurationmsg}" else: message "{@playernotonlinemsg}" else: message "{@playernotonlinemsg}" command /toggle []: trigger: if arg-1 is not set: send "&c&lNOTE! &7This feature is in beta, Don't expect it to work all well! Report bugs, typos and all kind of problems to me on the skUnity! My username is Pingusate" send "&aList of features to toggle off or on:" send "&cAntiSwear, Scoreboard" if arg-1 is "Scoreboard" or "scoreboard": if {aniscoreboard.%player%} is true: set {aniscoreboard.%player%} to false if {aniscoreboard.%player%} is false: set {aniscoreboard.%player%} to true if arg-1 is "antiswear" or "AntiSwear" or "Antiswear": if {antiswear.%player%} is false: set {antiswear.%player%} to true if {antiswear.%player%} is true: set {antiswear.%player%} to false on any movement: if {freeze.%player%} is set: cancel event on block break: if {freeze.%player%} is set: cancel event Command /msg [] []: aliases: /m, /mess, /tell, /t, /w, /m trigger: if arg 1 is not set: message "&cWrong Usage, Use /msg " if arg 1 is set: if arg 2 is not set: message "&cWrong Usage, Use /msg " if arg 2 is set: send "&8[%arg 1% &a≫ &dme&8] &f%arg 2%" to player send "&8[%sender% &a≫ &d%arg 1%&8] &f%arg 2%" to arg 1 set {rep.%arg 1%} to player stop command /r []: aliases: /rep, /respond, /reply, /re trigger: if arg 1 is not set: message "&cWrong Usage, Use /r " if arg 1 is set: if {rep.%player%} is set: send "%{rep.%player%}% &a≫ &f%arg 1%" to player send "%sender% &a≫ &f%arg 1%" to {rep.%player%} set {rep.%{rep.%player%}%} to player if {rep.%player%} is not set: message "&f%player% &cis offline!" command /warn [] []: permission: {@warnperm} permission message: {@nopermission} trigger: if arg 1 is set: if arg 2 is set: message " " to arg 1 message "&7&m-------------------------------------" to arg 1 message "{@warnmsg}" to arg 1 message "{@warnreasonmsg}" to arg 1 message "&7&m-------------------------------------" to arg 1 message " " to arg 1 broadcast "&7&m------------------------------------------" broadcast "{@warnglobalmsg}" broadcast "&7&m------------------------------------------" message "{@prefix} {@warnsuccessfulmsg}" else: message "{@prefix} {@warnusagemsg}" else: message "{@prefix} {@warnusagemsg}" command /ban [] []: permission: {@banperm} permission message: {@nopermission} trigger: if arg 1 is set: if arg 2 is set: set {banned.%arg 1%} to true set {ban.time.%arg 1%} to now set {ban.reason.%arg 1%} to arg 2 set {ban.expire.%arg 1%} to "Never" set {ban.bannedby.%arg 1%} to player set {BanIP.%arg 1%} to "False" kick arg 1 due to "{@banmsg} " ban arg 1 due to "{@banmsg} " broadcast "&7&m-----------------------------------" broadcast "" broadcast "{@banglobalmsg}" broadcast "{@banreasonmsg}" broadcast "" broadcast "&7&m-----------------------------------" message "{@prefix} {@bansuccessfulmsg}" else: message "{@prefix} {@banusagemsg}" else: message "{@prefix} {@banusagemsg}" command /unban []: permission: {@unbanperm} permission message: {@nopermission} trigger: if arg 1 is set: if {banned.%arg-1%} is true: unban arg 1 unban ip of arg 1 set {banned.%arg-1%} to false message "{@prefix} {@unbansuccessfulmsg}" broadcast "&7&m-----------------------------------" broadcast "{@unbanglobalmsg}" broadcast "&7&m-----------------------------------" else: message "{@prefix} {@unbannotbannedmsg}" else: message "{@prefix} {@unbanusagemsg}" command /kick [] []: permission: {@kickperm} permission message: {@nopermission} trigger: if arg 1 is set: if arg 2 is set: kick arg 1 due to "{@kickmsg}" broadcast "&7&m-----------------------------------" broadcast "" broadcast "{@kickglobalmsg}" broadcast "{@kickreasonmsg}" broadcast "" broadcast "&7&m-----------------------------------" message "{@prefix} {@kicksuccessfulmsg}" else: message "{@prefix} {@kickusagemsg}" else: message "{@prefix} {@kickusagemsg}" command /baninfo []: aliases: binfo, pinfo, punishinfo permission: {@baninfoperm} permission message: {@nopermission} trigger: if arg 1 is set: if {banned.%arg-1%} is true: message "&7&m-------------&8>[ {@prefix} &8]<&7&m-------------" message " {@biusername}" message " {@bibannedby}" message " {@bibanreason}" message " {@bibanip}" message " {@bibanduration}" message "&7&m--------------------------" else: message "{@prefix} {@unbannotbannedmsg}" else: message "{@prefix} {@biusagemsg}" #[------------------------------------------] #[ ] #[ A N I M A T E D S C O R E B O A R D ] #[ ] #[------------------------------------------] every 80 ticks: if {aniscoreboard.%player%} is true: loop all players: set name of sidebar of loop-player to "{@sbtext1}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" wait 3 ticks loop all players: set name of sidebar of loop-player to "{@sbtext2}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" wait 3 ticks set name of sidebar of loop-player to "{@sbtext3}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" wait 3 ticks set name of sidebar of loop-player to "{@sbtext4}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" wait 3 ticks set name of sidebar of loop-player to "{@sbtext5}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" wait 3 ticks set name of sidebar of loop-player to "{@sbtext6}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" wait 3 ticks set name of sidebar of loop-player to "{@sbtext1}" set score "" in sidebar of loop-player to "7" set score "" in sidebar of loop-player to "6" set score "{@sbline1}" in sidebar of loop-player to "5" set score "{@sbline2}" in sidebar of loop-player to "4" set score "&fLevel: &a%{levels}%" in sidebar of loop-player to "3" if {aniscoreboard.%player%} is false: wait 40 real seconds send "&c&lYOUR SCOREBOARD IS DISABLED! &7Just reminding you, You might want to enable it later." # # # A N T I P L U G I N L I S T # # function command(p: player): send "&7&m--------------------------" to {_p} send "" to {_p} send "{@firstlinepl}" to {_p} send "{@secondlinepl}" to {_p} send "" to {_p} send "&7&m--------------------------" to {_p} on command "/pl": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/ver": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/version": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/about": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/?": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/icanhasbukkit": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:plugins": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:plugin": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:pl": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:about": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:version": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:ver": if player does not have permission "{@pluginadminperm}": cancel event command(player) on command "/bukkit:me": if player does not have permission "{@pluginadminperm}": cancel event command(player) # # # E V E N T S & O T H E R S # # on inventory click: if inventory name of player's current inventory is "&b&lDelza options": if clicked slot is 1: close inventory of player send "{@prefix} &7I'm about to be reloaded in 5 seconds! &aI will see you later..." wait 5 real second execute player command "/delza reload" if clicked slot is 7: execute player command "/delza cc" close inventory of player play sound "BLOCK_NOTE_PLING" to player with volume 3 and pitch 1 if clicked slot is 13: execute player command "/delza sethub" close inventory of player play sound "BLOCK_NOTE_PLING" to player with volume 3 and pitch 1 if clicked slot is 15: execute player command "/whitelist on" close inventory of player play sound "BLOCK_NOTE_PLING" to player with volume 3 and pitch 1 on pressure plate: if event-block is stone pressure plate: if block below event-block is redstone block: cancel event push the player upwards at speed 0.2 push the player forwards at speed 0.3 play raw sound "BLOCK_NOTE_PLING" at event-block with pitch 1 volume 1 play mobspawner flames at event-block on damage: if damage cause is fall: cancel event on explode: cancel event on damage: if damage cause is tnt: cancel event on load: send "{@prefix} &aLoaded script." to console send "{@name} &aby Pingusate!" to console send "&aRate this 5 stars please :)" to console on first join: add 1 to {onlineplayers} set join message to "" teleport player to {delza.hub} add 1 to {levels.%player%} add 1 to {logincount.%player%} set {_join} to true if {_join} is true: loop 100 times: send "" send "" wait 3 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&a&lWELCOME! &7This is your first join, I'm {@name} ," send "&7And now, I'm one of your friends!" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7As a gift, i added 1 level to your levels!" send "&7I will give you 10 seconds to look at our NEW HUB!" send "" send "" wait 10 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7So, what's your name? Oh... I'm stupid, I can see it over" send "&7Your head, Nice to meet you %player%" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7So if you got any problem, Use /help, If you want to report" send "&7A specific player, Use /report " send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7Go start the journey! explore the server, Play & win" send "&7Minigames! Collect levels, Do whatever you want in here!" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7In your inventory, You have some magical items, Use them" send "&7To have fun in the hub, Use the compass to teleport to a game-lobby" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 2 send "&7Well, i think its time to &cleave &7for me, I hope you enjoyed" send "&7This little conversation, Use &6/delza &7to see more info about me, &bBye!" on join: add 1 to {onlineplayers} set join message to "" teleport player to {delza.hub} add 1 to {logincount.%player%} set {_join} to false if {_join} is false: loop 100 times: send "" send "" wait 3 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&a&lWELCOME BACK! &7This is your &a%{logincount}% &7join!, If you don't know. I'm {@name} " send "&7And i'm already one of your friends, And i will help you with everything you want." send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&7Time keeps running so shouldn't you run too?!" send "&7I'm really happy with you now %player%." send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&7So, we have gotten some &aNEWS &7here today!" send "&7We have fixed a lot of annoying bugs, and my creator is back!" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&7Donators have gotten some special rooms soon." send "&7And can join full games whenever." send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&7So, Stay up! and gain more playtime!" send "&7That can help you in staff applications and such!" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&7Use the magical items i've told you about before ;)" send "&7And we may add a &aCOSMETICS &7menu!" send "" send "" wait 5 real seconds play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 1 send "&7It's time to leave, Sorry gotta do some work, if you need me in anything," send "&7Use &6/delza &7OH! I got to hurry, &bBye!" # # # C H A T E V E N T S # soon to be remade... # on chat: loop all players: if message contains "%loop-player%": replace all "%loop-player%" with "&b@%loop-player%&r " in message play sound "BLOCK_NOTE_PLING" to player with volume 1 and pitch 10 send "&aYou have been mentioned by %player%" to loop-player on chat: if {antiswear.%player%} is true: replace all "fuck" or "nigga" or "fk" or "nigger" or "n1gga" or "n1gg4" or "cunt" or "your mom" or "shit" with "****" in message: # # # E N D O F S C R I P T # #