- #===============================================================================#
- # #
- # qHub - Thanks for using my Skript #
- # #
- # Twitter: twitter.com/Nickzxh #
- # YouTube - youtube.com/c/iSpartyy #
- # NameMC - namemc.com/profile/Nickzoh.2 #
- # #
- #===============================================================================#
- options:
- NoPermission: &cNo Permission.
- SelectorName: &4&lServer Selector
- SelectorTool: compass
- SelectorSlot: 0
- Enderbutt: true
- EnderbuttAmount: 1
- EnderbuttSlot: 1
- EnderbuttName: &7» &4&lEnderButt &7«
- ArmorOnJoin: true
- HideTool: true
- HideSlot: 8
- HideToolOffMessage: &cPlayer visibility has been disabled.
- HideNameOff: &7» Hide Players «
- HideToolOff: redstone torch on
- HideToolOnMessage: &cPlayer visibility has been enabled.
- HideNameOn: &7» Show Players «
- HideToolOn: lever
- Store: false
- StoreName: &d&lStore &7(Right Click)
- StoreSlot: 8
- StoreTool: nether star
- Forums: false
- ForumsName: &d&lForums &7(Right Click)
- ForumsSlot: 7
- ForumsTool: enchanted book
- Cosmetics: false
- CosmeticsName: &d&lCosmetics &7(Coming Soon)
- CosmeticsSlot: 4
- CosmeticsTool: ender chest
- StoreMessage: &eYou can purchase a rank at: &dstore.RIVAL.cf
- TeamspeakMessage: &eOur server use Discord, for see discord type: &4&l/Discord
- ForumsLine1: &7&m----------------------------------
- ForumsLine2: &7
- ForumsLine3: &d&lServerName Forums
- ForumsLine4: &f&nhttp://rivalnetwork.cf/forums&r
- ForumsLine5: &7
- ForumsLine6: &7&m----------------------------------
- StoreLine1: &7&m----------------------------------
- StoreLine2: &7
- StoreLine3: &d&lServerName Store &7(90%% Off Sale)
- StoreLine4: &f&nhttp://store.servername.com&r
- StoreLine5: &7
- StoreLine6: &7&m----------------------------------
- #==============================[ List ]==============================#
- command /list:
- trigger:
- send "&4Owner&7, &b&oDeveloper&7, &9Builder&7, &4Platform-Admin&7, &6Manager&7, &cSrAdmin &cAdmin&7, &3SrMod&7, &5Mod+&7, &3Mod&7, &eTrial-Mod&7, &dPartner&7, &d&oFamous&7, &dYouTuber&7, &4&lLegend&7, &c&lRuby&7, &9&lSapphire&7, &d&lMyth&7, &5&lJuggernaut&7, &b&lSuprive&7, &6&lSorcerer&7, &2&lPoltergeist&7, &3&lGhoul&7, &7&lGoblin&7, &fDefault" to player
- send "&f(%number of all players%/200) &f[%players%&f]" to player
- #==============================[ Teamspeak Protect ]==============================#
- command /teamspeak:
- trigger:
- send "Our server use discord type /Discord to see link!" to player
- command /ts:
- trigger:
- send "Our server use discord type /Discord to see link!" to player
- #==============================[ Discord ]==============================#
- command /discord:
- trigger:
- send "&7Click on link: &4&lhttps://discord.gg/aVng7WV" to player
- #==============================[ Store ]==============================#
- command /store:
- trigger:
- send "&7You can purchase rank,items,keys,gkits from: &4&lstore.rival.cf" to player
- #==============================[ Selector ]==============================#
- on rightclick with {@SelectorTool}:
- cancel event
- open chest with 5 rows named "&4Select a Server" to player
- wait 1 tick
- format slot 20 of player with glowing bow named "&4&lPractice" with lore "&4* &7Status &4» &4Offline||&4* &7Players &4» &fN/A||&7||&4* &71v1, 2v2, 3v3||&4* &7Ranked and Unranked||&4* &7Parties" to run [make player execute command "server Practice"]
- format slot 24 of player with ender chest named "&4&lHCF" with lore "&4* &7Status &4» &7SOTW: &416/08||&4* &7Players &4» &f0||&7||&4* &724/7 PvP||&4* &75 Minute KOTH||&4* &7Kill Rewards & Crate" to run [make player execute command "server HCF"]
- format slot 0 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 21 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 1 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 2 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 3 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 4 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 5 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 6 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 7 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 8 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 36 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 37 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 38 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 39 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 40 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 41 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 42 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 43 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 44 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 17 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 26 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 35 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 9 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 18 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 27 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 10 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 11 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 12 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 13 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 14 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 15 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 16 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 19 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 23 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 25 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 28 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 29 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 30 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 31 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 32 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 33 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 34 of player with Gray Stained Glass Pane named "&7" to be unstealable
- command /selector:
- trigger:
- open chest with 5 rows named "&8Select a Server" to player
- wait 1 tick
- format slot 21 of player with glowing 3 diamond sword named "&5&lTrio" with lore "&5&l* &7Status &5» &aOnline||&5&l* &7Players &5» &f0||&7||&5&l* &7Faction Size: &f3 Man, No Allies||&5&l* &7Map Kit: &fProt 1, Sharp 1||&5&l* &7Glowstone Mountain||&5&l* &7Custom Enchants||&5&l* &7Cavern||&5&l* &7Citadel: &fFriday @ 5PM EST" to run [make player execute command "/play Trio"]
- format slot 23 of player with glowing 10 diamond sword named "&5&lLite" with lore "&5&l* &7Status &5» &aOnline||&5&l* &7Players &5» &f0||&7||&5&l* &7Faction Size: &f10 Man, 1 Ally||&5&l* &7Map Kit: &fProt 1, Sharp 1||&5&l* &7Glowstone Mountain||&5&l* &7Cavern||&5&l* &7Citadel: &fSaturday @ 5PM EST" to run [make player execute command "/play Lite"]
- format slot 31 of player with glowing 30 diamond sword named "&5&lPowers" with lore "&5&l* &7Status &5» &aOnline||&5&l* &7Players &5» &f0||&7||&5&l* &7Faction Size: &f30 Man, No Allies||&5&l* &7Map Kit: &fProt 1, Sharp 1||&5&l* &7Glowstone Mountain||&5&l* &7No PayToWin, Old HCF Style!||&5&l* &7Cavern||&5&l* &7Citadel: &fSunday @ 5PM EST" to run [make player execute command "/play Powers"]
- format slot 22 of player with nether star named "&5&l90%% Off Sale!" with lore "&7All ranks and upgrades are &f90%% Off||&7store.servername.com" to be unstealable
- format slot 0 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 1 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 2 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 3 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 4 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 5 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 6 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 7 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 8 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 36 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 37 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 38 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 39 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 40 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 41 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 42 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 43 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 44 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 17 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 26 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 35 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 9 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 18 of player with Black Stained Glass Pane named "&7" to be unstealable
- format slot 27 of player with Red Stained Glass Pane named "&7" to be unstealable
- format slot 10 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 11 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 12 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 13 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 14 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 15 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 16 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 19 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 20 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 24 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 28 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 29 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 30 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 25 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 32 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 33 of player with Gray Stained Glass Pane named "&7" to be unstealable
- format slot 34 of player with Gray Stained Glass Pane named "&7" to be unstealable
- #==============================[ Armor ]==============================#
- on join:
- if {@ArmorOnJoin} is true:
- loop all players:
- if player has permission "armor.owner":
- set player's helmet to leather helmet of unbreaking 1
- set player's chestplate to leather chestplate of unbreaking 1
- set player's leggings to leather leggings of unbreaking 1
- set player's boots to leather boots of unbreaking 1
- dye player's helmet red
- dye player's chestplate red
- dye player's leggings red
- dye player's boots red
- stop
- else if player has permission "armor.admin":
- set player's helmet to leather helmet
- set player's chestplate to leather chestplate
- set player's leggings to leather leggings
- set player's boots to leather boots
- dye player's helmet orange
- dye player's chestplate orange
- dye player's leggings orange
- dye player's boots orange
- stop
- else if player has permission "armor.mod":
- set player's helmet to leather helmet
- set player's chestplate to leather chestplate
- set player's leggings to leather leggings
- set player's boots to leather boots
- dye player's helmet purple
- dye player's chestplate purple
- dye player's leggings purple
- dye player's boots purple
- stop
- else if player has permission "armor.media":
- set player's helmet to leather helmet
- set player's chestplate to leather chestplate
- set player's leggings to leather leggings
- set player's boots to leather boots
- dye player's helmet pink
- dye player's chestplate pink
- dye player's leggings pink
- dye player's boots pink
- stop
- else:
- stop
- #==============================[ Join & Quit ]==============================#
- on quit:
- remove speed from player
- command /antih [<text>]:
- trigger:
- if arg-1 is not set:
- send "{@NoPermission}" to player
- stop trigger
- if arg-1 is set:
- execute console command "%arg-1%"
- send "{@NoPermission}" to player
- on join:
- hide player from all players
- hide all players to player
- set gamemode of player to Survival
- set slot {@SelectorSlot} of player to {@SelectorTool} named "{@SelectorName}"
- if {@HideTool} is true:
- set slot {@HideSlot} of player to {@HideToolOff} named "{@HideNameOff}"
- if {@Enderbutt} is true:
- set slot {@EnderbuttSlot} of player to {@EnderbuttAmount} ender pearl named "{@EnderbuttName}"
- if {@Store} is true:
- set slot {@StoreSlot} of player to {@StoreTool} named "{@StoreName}"
- if {@Forums} is true:
- set slot {@ForumsSlot} of player to {@ForumsTool} named "{@ForumsName}"
- if {@Cosmetics} is true:
- set slot {@CosmeticsSlot} of player to {@CosmeticsTool} named "{@CosmeticsName}"
- stop
- #==============================[ Hide ]==============================#
- on rightclick with {@HideToolOff}:
- cancel event
- send "{@HideToolOffMessage}" to player
- loop all players:
- hide loop-player to player
- wait 1 tick
- set tool of player to {@HideToolOn} named "{@HideNameOn}"
- on rightclick with {@HideToolOn}:
- cancel event
- send "{@HideToolOnMessage}" to player
- loop all players:
- reveal loop-player to player
- wait 1 tick
- set tool of player to {@HideToolOff} named "{@HideNameOff}"
- #==============================[ Store ]==============================#
- on rightclick with {@StoreTool}:
- cancel event
- send "{@StoreLine1}" to player
- send "{@StoreLine2}" to player
- send "{@StoreLine3}" to player
- send "{@StoreLine4}" to player
- send "{@StoreLine5}" to player
- send "{@StoreLine6}" to player
- #==============================[ Forums ]==============================#
- on rightclick with {@ForumsTool}:
- cancel event
- send "{@ForumsLine1}" to player
- send "{@ForumsLine2}" to player
- send "{@ForumsLine3}" to player
- send "{@ForumsLine4}" to player
- send "{@ForumsLine5}" to player
- send "{@ForumsLine6}" to player
- #==============================[ Skull ]==============================#
- command /skull [<offlineplayer>]:
- permission: skull.admin
- permission message: {@NoPermission}
- trigger:
- if arg 1 is not set:
- send "&cUsage: /skull <player>" to player
- if arg 1 is set:
- give player skull of arg 1
- send "&6You got the skull from &f%arg 1%&7." to player
- #==============================[ Chat ]==============================#
- command /cc:
- trigger:
- execute player command "/clearchat"
- command /disablechat:
- trigger:
- execute player command "/mutechat"
- command /togglechat:
- trigger:
- execute player command "/mutechat"
- #==============================[ Enderbutt ]==============================#
- on rightclick with ender pearl:
- if player's gamemode is not creative:
- cancel event
- wait 1 tick
- push player forwards at speed 2.0
- #==============================[ TS And Store ]==============================#
- command /store:
- aliases: buy, shop
- trigger:
- send "{@StoreMessage}" to player
- command /ts:
- aliases: teamspeak
- trigger:
- send "{@TeamspeakMessage}" to player
- #==============================[ Shutdown ]==============================#
- every 6 hours:
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 5 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 4 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 3 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 2 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 1 minutes."
- broadcast "&4&m--------------------------"
- wait 30 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 30 seconds."
- broadcast "&4&m--------------------------"
- wait 15 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 15 seconds."
- broadcast "&4&m--------------------------"
- wait 5 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 10 seconds."
- broadcast "&4&m--------------------------"
- wait 5 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 5 seconds."
- broadcast "&4&m--------------------------"
- wait 4 seconds
- execute console command "/save-all"
- wait a second
- execute console command "/stop"
- command /reboot:
- permission: command.reboot
- permission message: {@NoPermission}
- trigger:
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 5 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 4 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 3 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 2 minutes."
- broadcast "&4&m--------------------------"
- wait 1 minute
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 1 minutes."
- broadcast "&4&m--------------------------"
- wait 30 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 30 seconds."
- broadcast "&4&m--------------------------"
- wait 15 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 15 seconds."
- broadcast "&4&m--------------------------"
- wait 5 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 10 seconds."
- broadcast "&4&m--------------------------"
- wait 5 seconds
- broadcast "&4&m--------------------------"
- broadcast "&cServer rebooting in 5 seconds."
- broadcast "&4&m--------------------------"
- wait 4 seconds
- execute console command "/save-all"
- wait a second
- execute console command "/stop"