Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #**********************************************#
- #* *#
- #* Created By *#
- #* ProfCube *#
- #* *#
- #* V1.0 *#
- #* This Skript is to help *#
- #* server owner on Minehut *#
- #* to get simple Skripts done *#
- #* *#
- #**********************************************#
- on skript start:
- loop 100 times:
- wait 3 minutes
- broadcast "§b§LSkyNation §e» §aThis server is running &c&lCallMeDevelopers's &eSkripts, &dIf you want a skript message him.
- on chat:
- if {mute.chat} is true:
- if player has permission "chat.enable":
- stop
- else:
- message "&8[&9&lChat&8] §cYou can not talk while the chat is muted!"
- cancel event
- options:
- version: Version: 2.2
- version2: 2.2
- prefix: &9Chat>&r
- usage: &9Usage>&r
- quitmessage: &9[&3&lStaff&9] &r%player% &3has left the server!
- #+------------------------------+
- # Section 1: Custom Help Message
- #+------------------------------+
- #Permissions
- #+ essentials.help / gives access to show permissions
- command /help [<text>]:
- permission: essentials.help
- permission message: {@prefix} &7You do not have permission to execute this command!
- aliases: /h, /elp, /hlp, /hep, /pleh, /?
- trigger:
- if arg 1 is not set:
- message "&8&m------------&6Help &c1&6/&c2&8&m------------"
- message "&4PermissionsEx&f: Plugin Help: /help permissionsex"
- message "&4Skript&f: Plugin Help: /help skript"
- message "&4Vault&f: Plugin Help: /help Vault"
- message "&4Essentials&f: Plugin Help: /help essentials"
- message "&6/pex&f: Permission ladder promotion commands and information."
- message "&6/promote&f: Permission ladder promotion command."
- message "&6/demote&f: Permision ladder demotion command."
- message "&6/skript&f: Skript's main command. Type '/skript help' for more information."
- message "&6/vault-info&f: Displays information about Vault"
- message "&8&m------------&6Help &c1&6/&c2&8&m------------"
- if arg 1 is "1":
- execute player command "/help"
- if arg 1 is "2":
- message "&8&m------------&6Help &c1&6/&c2&8&m------------"
- message "&6/vault-convert&f: Converts all data in economy1 and dumps it in to economy2"
- message "&6/afk&f: Marks you as away-from-keybord."
- message "&6/abtioch&f: A little surprise for operators."
- message "&6/back&f: Teleports you to your location prior to tp/spawn/warp."
- message "&6/backup&f: Runs the backup if configured."
- message "&6/balance&f: States the current balance of a player."
- message "&6/balancetop&f: Gets the top balance values."
- message "&6/ban&f: Bans a player."
- message "&6/banip&f: Bans and IP address."
- message "&8&m------------&6Help &c1&6/&c2&8&m------------"
- if arg 1 is "info":
- message "&8&m---------------&9&lINFO&8&m---------------"
- message ""
- message " &9Created By "
- message " &9ProfCube "
- message " "
- message " &9V1.0 "
- message " &9You are not allowed to take "
- message " &9credit for this skript "
- message " &9or say its yours "
- message " "
- message ""
- message "&8&m---------------&9&lINFO&8&m---------------"
- #+------------------------------+
- # Section 1: Staff Join/Quit
- #+------------------------------+
- #Permissions
- #+ staff.join / shows that on join that a staff got on
- #+ staff.quit / shows that a staff left
- on join:
- player has permission "staff.join"
- broadcast "&9[&3&lStaff&9] &r%player% &3has joined the server!"
- on quit:
- player has permission "staff.quit"
- broadcast "{@quitmessage}"
- #+------------------------------+
- # Section 2: Staff Join/Quit
- #+------------------------------+
- #Permissions
- #+ staff.list / ability to use /staff
- #+ list.staff / shows all the staff on /staff
- command /staff:
- description: See official staff members online.
- trigger:
- loop all players:
- loop-player has permission "staff.list"
- add loop-player to {_online staff::*}
- size of {_online staff::*} is 0:
- message "&8[&9&lSTAFF&8] &7There are no staff &bonline &7at the moment!"
- else:
- message "&8[&9&lSTAFF&8] &b%{_online staff::*}%"
- #+------------------------------+
- # Section 2: Staff Join/Quit
- #+------------------------------+
- #Permissions
- #+ clear.chat / clears chat
- #+ lock.chat / locks chat
- #+ unlock.chat / unlocks chat
- #+ chat.enable / Enables Players to talk in chat (Give this mostly to staff)
- command /clearchat:
- permission: clear.chat
- permission message: &cYou do not have access to this command.
- aliases: /clearchat, /cc, /cchat
- trigger:
- loop 150 times:
- broadcast ""
- broadcast "&7Chat has been cleared by &9%player%"
- command /lockchat:
- permission: lock.chat
- permission message: &cYou do not have access to this command.
- aliases: lc
- trigger:
- broadcast "{@prefix} §7The chat is now §cLocked."
- set {mute.chat} to true
- command /unlockchat:
- permission: unlock.chat
- permission message: &cYou do not have access to this command.
- aliases: ulc
- trigger:
- broadcast "{@prefix} §7The chat is now §aUnlocked!"
- set {mute.chat} to false
Advertisement
Add Comment
Please, Sign In to add comment