Jump to content

Disvand

Member
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Disvand

  1. Disvand

    Uhm Mods????

    mods were just having some fun flooding the spawn mate
  2. SkChat v1.0 only had a chat filter. The permissions were broken and it was a mess. That's why I spent a few hours of my time on v1.1! I've added /skchat help to get help with the commands! The help message will also be in the picture below. I've added a chat cooldown command, anti-link chat and an anti-caps command! They are fully customisable to whatever you want! /skslowchat time/cancel [seconds] To change the chat cooldown you can type the command /skslowchat time/cancel [seconds]. If you want to add a time to the cooldown, you have to add "seconds" after the time you put. /skslowchat cancel cancels the cooldown so there is no more. /skanticaps <number> To change the caps limit, you can type /skanticaps <number of caps>. If you want the caps limit to be 9 for example, you do /skanticaps 9 and it will show up a message saying you changed it! In version v1.2, ill add a way to remove the caps limit. /skantilink <on/off> To turn the anti-link feature on or off, you can type /skantilink <on/off>. The anti-link feature checks if someone sent a message with "https" or "com" in it. It will cancel the message and send the staff what the person tried to send and then the staff can take action on the person. This is the skript: on chat: if player does not have permission "skchat.staff": loop {skchat::*}: if message contains loop-value: cancel event send "&b&lSk&f&lChat &b&l| &fYou cannot say that word!" send "&b&lSk&f&lChat &b&l| &b%player% &fHas just said a word that is in the chat filter. &7%player%: %message%" to all players where [input has permission "skchat"] command /skchat [<text>] [<text>] [<text>]: permission: skchat.admin permission message: "&b&lSk&f&lChat &b&l| &fYou do not have permission for that command!" trigger: if arg-1 is "add": if arg-2 is set: if {skchat::*} does not contain arg-2: add arg-2 to {skchat::*} send "&b&lSk&f&lChat &b&l|&f Added &b%arg-2% &fto the chat filter." else: send "&b&lSk&f&lChat &b&l|&f That word is already added to the chat filter!" else: send "&b&lSk&f&lChat &b&l|&f Usage: /skchat add&b/&fremove&b/&flist&b/&fhelp &b[&fword&b]" if arg-1 is "remove": if arg-2 is set: if {skchat::*} contains arg-2: remove arg-2 from {skchat::*} send "&b&lSk&f&lChat &b&l| &fRemoved &b%arg-2% &ffrom the chat filter." else: send "&b&lSk&f&lChat &b&l| &fThat word is not in the chat filter!" else: send "&b&lSk&f&lChat &b&l|&f Usage: /skchat add&b/&fremove&b/&flist&b/&fhelp &b[&fword&b]" if arg-1 is "list": send "&b&lSk&f&lChat &b&l| &fThe words added to the chat filter are: &b%{skchat::*}%" if arg-1 is "help": send "&b-----------------------------------------------" send "&b&lSk&f&lChat &b&lv1.1" send "&fMade By Disvand 0001" send "&fNew Updates On Minehut Forum Skript Releases" send "" send "&b/&f = or, &b[]&f = optional&b/&fnot needed, &b<>&f = needed" send "&bChatFilter Usage:" send "&b/&fskchat add&b/&fremove&b/&flist&b/&fhelp &b[<&fword&b>]&f" send "" send "&bSlowChat Usage:" send "&b/&fskslowchat time&b/&fcancel &b[<&fseconds&b>]&f" send "&fType &b/&fskchat help &b2&f to go to the next help page." send "&b-----------------------------------------------" if arg-1 is "help": if arg-2 is "2": send "&b-----------------------------------------------" send "&b/&f = or, &b[]&f = optional&b/&fnot needed, &b<>&f = needed" send "&bAnti-Caps Usage:" send "&b/&fskcapslimit &b<&fhow many caps are max allowed&b>&f" send "" send "&bAnti-Link Usage:" send "&b/&fskantilink off&b/&fon" send "&b-----------------------------------------------" command /skslowchat <text>: permission: skchat.admin permission message: "&b&lSk&f&lChat &b&l| &fYou do not have permission for that command!" trigger: if arg-1 is "cancel": delete {cooldown} broadcast "&b&lSk&f&lChat &b&l| &fChat cooldown has been removed." else: if arg-1 parsed as timespan is set: set {cooldown} to arg-1 parsed as timespan broadcast "&b&lSk&f&lChat &b&l| &fGlobal Chat has been slowed down to &b%arg-1%&f." else: send "&b&lSk&f&lChat &b&l| &fUsage: /skslowchat cancel&b/&ftime &b[<&fseconds&b>]&f." on chat: if player does not have permission "slowchat.staff": if difference between (metadata "cooldown" of player) and now < {cooldown}: cancel event send "&b&lSk&f&lChat &b&l| &fWait &b%difference between (metadata "cooldown" of player) and {cooldown} ago% &fto send another message!" else: set metadata "cooldown" of player to now command /skcapslimit <integer>: permission: skchat.admin permission message: "&b&lSk&f&lChat &b&l| &fYou do not have permission for that command!" trigger: if arg-1 is set: set {capslimit} to arg-1 broadcast "&b&lSk&f&lChat &b&l| &fThe global caps limit has been set to &b%arg-1%&f." else: send "&b&lSk&f&lChat &b&l| &fUsage: /skcapslimit number&b/&fcancel." on chat: if player does not have permission "skcaps.staff": set {caps} to size of (regex split message by "[A-Z]") - 1 if {caps} >= {capslimit}: cancel event send "&b&lSk&f&lChat &b&l| &fDo not use that much caps!" send "&b&lSk&f&lChat &b&l| &b%player% &fHas just used more than %{capslimit}% capital letters in their message. &7%player%: %message%" to all players where [input has permission "skchat"] command /skantilink <text>: permission: skchat.admin permission message: "&b&lSk&f&lChat &b&l| &fYou do not have permission for that command!" trigger: if {skantilink} is not set: set {skantilink} to false if arg-1 is "off": if {skantilink} is true: set {skantilink} to false delete {sklink::*} broadcast "&b&lSk&f&lChat &b&l| &fSkChat Anti-link has been turned off." else: send "&b&lSk&f&lChat &b&l| &fSkChat Anti-link is already turned off!" if arg-1 is "on": if {skantilink} is false: set {skantilink} to true set {sklink::*} to "https" and "com" broadcast "&b&lSk&f&lChat &b&l| &fSkChat Anti-link has been turned on." else: send "&b&lSk&f&lChat &b&l| &fSkChat Anti-link is already turned on!" on chat: if {skantilink} is true: loop {sklink::*}: if message contains loop-value: cancel event send "&b&lSk&f&lChat &b&l| &fYou are not allowed to send links!" send "&b&lSk&f&lChat &b&l| &b%player% &fHas just tried to send a link. &7%player%: %message%" to all players where [input has permission "skchat"] Enjoy making your server and happy Christmas to all! If there is anything wrong, or want to suggest stuff for v1.2, reply in the comments or send me a DM at Disvand#0001 on discord!
  3. Okay! on right click with exampleitem: make console execute command "/example" Very simple. Make sure to replace "exampleitem" and "/example" to whatever item you want and whatever command! If you want to right click with an item with a space, for example: Red Stained Glass Pane, you don't put underscores. Leave it as whatever it is without capital letters! and Merry Christmas to you as well
  4. GrapeAppleFruit, I do, but I prefer if you send what you want here because it's private.
  5. no it isnt..?? its outdated and is only useful for 1.8.9 and lower
  6. Also i will be updated SkChat frequently to add more features so keep an eye out in skript releases!
  7. I'm bored and waiting for Christmas to arrive! I skripted something in my spare time that is fully customisable and is basically like a plugin! The skript is really simple and is only 41 lines long. /skchat add|remove|list|help [word] /skchat add word /skchat remove word /skchat list (shows every listed word you added to the filter) /skchat help (shows the help message) If there is anything that you would like to let me know, DM me on discord or reply to the message! Discord is Disvand#0001 Good luck on your server and have fun making it! on chat: loop {skchat::*}: if message contains loop-value: cancel event send "&b&lSk&f&lChat &b&l| &fYou cannot say that word!" send "&b&lSk&f&lChat &b&l| &b%player% &fHas just said a word that is in the chat filter. &7%player%: %message%" to all players where [input has permission "skchat"] command /skchat [<text>] [<text>] [<text>]: trigger: if arg-1 is "add": if arg-2 is set: if {skchat::*} does not contain arg-2: add arg-2 to {skchat::*} send "&b&lSk&f&lChat &b&l|&f Added &b%arg-2% &fto the chat filter." else: send "&b&lSk&f&lChat &b&l|&f That word is already added to the chat filter!" else: send "&b&lSk&f&lChat &b&l|&f Usage: /skchat add&b/&fremove&b/&flist&b/&fhelp &b[&fword&b]" if arg-1 is "remove": if arg-2 is set: if {skchat::*} contains arg-2: remove arg-2 from {skchat::*} send "&b&lSk&f&lChat &b&l| &fRemoved &b%arg-2% &ffrom the chat filter." else: send "&b&lSk&f&lChat &b&l| &fThat word is not in the chat filter!" else: send "&b&lSk&f&lChat &b&l|&f Usage: /skchat add&b/&fremove&b/&flist&b/&fhelp &b[&fword&b]" if arg-1 is "list": send "&b&lSk&f&lChat &b&l| &fThe words added to the chat filter are: &b%{skchat::*}%" if arg-1 is "help": send "&6-----------------------------------------------" send "&6SkChat V1.0" send "&6Made By Disvand 0001" send "&6New Updates On Minehut Forum Skript Releases" send "" send "&6Usage:" send "&6/skchat add/remove/list/help [word]" send "&6/ = or, [] = optional/not needed" send "&6-----------------------------------------------"
  8. Move this to skript releases
  9. You could search in the minehut forums for one then edit the blocks u want, nobody will make one specifically made for you because it takes quite a while
  10. oh god, tuske... please use vanilla or skript-gui tuske is outdated as heck
  11. incorrect spaces: line 8, line 10 add a line in between line 2 and 3 checking if random is true indention errors: line 10 and use {random::%player's uuid%} its cleaner
  12. send "&6Click <link:https://discord.gg/MyDiscordCode>&aHere &6to join discord" to player pretty sure this works, didnt try it yet
  13. I'm bored! I'll attempt to create skripts for people! Send them in and I'll try my best! (happy early christmas :D)
  14. Disvand

    Timber plugin

    Ok so there is only 1 plugin that when i break one log and it will break the whole tree called UltimateTimber, when i use it it doesnt work. Can minehut add this plugin or someone help me and tell me how to fix UltimateTimber? link: https://dev.bukkit.org/projects/timber-plugin Thanks - Rumbo
  15. ill send the skript, its this command /daily: aliases: /d, /dailyreward, /dr cooldown: a day cooldown message: &cYou need to wait &l%remaining time%&r&c to use this command again! cooldown storage: {daily::%player's uuid%} trigger: add 1000000 to {balance::%player's uuid%} add 1 to {daily::%player's uuid%} message "&adaily streak increased by &l1&r" command /dailystreak: aliases: /ds, /dailyst trigger: message "&aYour daily streak is &l%{daily::%player's uuid%}%" to the player command /balance aliases: /bal, /money, /coins trigger: message "Your balance is %{balance::%player's uuid%}%" to the player the /daily command is the one with the error, all the others is fine please help
  16. i wanted to make a daily reward skript and it was all fine until now, it gives everyone who runs the command "internal error occurred while trying to perform this command" and idk how to fix it, PLEASE HELP!
  17. Hey does anyone want a skript made for them? reply if so, i will try my best at least
×
×
  • Create New...