Jump to content

Oiiink

Member
  • Posts

    36
  • Joined

  • Last visited

Posts posted by Oiiink

  1. Credits:
    MasterClashers (I saw this on his stream and skripted it for my self)

    What this skript does:
    You can set a custom code to whatever you like and then reveal it on the stream, everyone in the stream can then type /joinevent [<code>] to join the event. You can also make it so donors can join the queue first or everyone can join the queue system. You can also set the size of the queue.


    CODE:

    command /event [<text>] [<text>]:
    	permission: staff
    	trigger:
    		if arg-1 is not set:
    			send "&c/event (queue/start/stop) (donor/all)"
    		else if arg-1 is not "queue" or "start" or "stop":
    			send "&c/event (queue/start/stop) (donor/all)"
    		else if arg-2 is not "donor" or "all":
    			send "&c/event (queue/start/stop) (donor/all)"
    		if arg-1 = "queue":
    			if arg-2 = "donor":
    				broadcast ""
    				broadcast "&6&lEvent Queue: &7Event queue has been opened up for &a($) %nl% &7to join the event type /joinevent [code]"
    				broadcast ""
    				set {queueopen} to "donor"
    			if arg-2 = "all":
    				broadcast ""
    				broadcast "&6&lEvent Queue: &7Event queue has been opened up for everyone %nl% &7to join the event type /joinevent [code]"
    				broadcast ""
    				set {queueopen} to "all"
    
    
    command /setcode [<text>]:
    	permission: staff
    	trigger:
    		set {code} to arg-1
    		send "&cYou have set the code to %arg-1%&c!"
    
    command /setqueuesize [<integer>]:
    	permission: staff
    	trigger:
    		if arg-1 is not set:
    			send "&cThe current queue size is %{eventsize}%&c!"
    		else:
    			set {eventsize} to arg-1
    			send "&cYou have set the event size to %arg-1%&c!"
    
    command /joinevent [<text>]:
    	trigger:
    		if {queueopen} = "donor":
    			if {rank::%player's uuid%} is not "host" or "mod" or "$":
    				send "&cSorry! You cannot join the event at this time!"
    			else:
    				if arg-1 is not {code}:
    					send "&cIncorrect code!"
    				else:
    					if size of {event::*} >= {eventsize}:
    						send "&cQueue is full!"
    					else:
    						if {event::*} doesn't contain player:
    							add player to {event::*}
    							send "&aCorrect code!"
    							broadcast ""
    							broadcast "&6&lEvent Queue: &7%player% &7has joined the queue (%size of {event::*}%/%{eventsize}%)"
    							broadcast ""
    						else:
    							send "&cYou are already inside of the queue!"
    		else if {queueopen} = "all":
    			if arg-1 is not {code}:
    				send "&cIncorrect code!"
    			else:
    				if size of {event::*} >= {eventsize}:
    					send "&cQueue is full!"
    				else:
    					if {event::*} doesn't contain player:
    						add player to {event::*}
    						send "&aCorrect code!"
    						broadcast ""
    						broadcast "&6&lEvent Queue: &7%player% &7has joined the queue (%size of {event::*}%/%{eventsize}%)"
    						broadcast ""
    					else:
    						send "&cYou are already inside of the queue!"

     

  2. I have skript-db what now. The skript says
        mysql_ip:
        mysql_port: 3306
        mysql_user:
        mysql_pass: 
        mysql_prefix: 
        mysql_name: 

    Edit: I think it's for this mysql://{@mysql_ip}:{@mysql_port}/{@mysql_name}?user={@mysql_user}&password={@mysql_pass}&useSSL=false

  3. IG it's okay I talked to her and she said she was having a bad day which is understandable, I just put in all the plugins you gave me hopefully now the errors might be fixed.

    Well it seems now it is just some functions that needs to be fixed but other than that it's pretty good.

  4. I just messaged them on discord, asking for help on my server or for the plugins since it has some errors on it.
    I managed to get a few of the plugins but still was having errors so I asked them for help. I DMED the person and they managed to catch an attitude with me and say that they wouldn't help me for free. But I am so confused, how is this person going to put the skripts out here for people to use but not give them the plugins to make the skripts work. If anything the skripts should cost money and not me just asking for the plugins. I don't understand how this person's mind works but I know you were right, man is so stubborn it's unbelievable.
     

    person.png

×
×
  • Create New...