Jump to content

Dreamerial__

Member
  • Posts

    32
  • Joined

  • Last visited

Posts posted by Dreamerial__

  1. so first i made a command to set {npt}:

    command /setnpt:
    	trigger:
    		if the player has permission "skript.thing":
    			set {npt} to player's location
    			set {npt}'s yaw to 180

    then i edited my command to able to use on other players:

    command /newplayerwelcometest <player>:
    	permission: skript.thing
    	executable by: the console and players
    	trigger:
    		set {alphaPl} to arg-1
    		apply potion of blindness 255 to arg-1 for 3 seconds
    		apply potion of night vision 255 to arg-1 for 3 seconds
    		wait 1 seconds
    		teleport {alphaPl} to {npt}
    		send title "&f&lWelcome to &e&n&lBednekos," with subtitle "&f&o%arg-1%" to {alphaPl} for 2 seconds
    		wait 2 seconds
    		send title "" with subtitle "&7Hmm... &fThis is &dfirst time &fyou come here i think," to {alphaPl} for 2 seconds
    		wait 2 seconds
    		send title "" with subtitle "&f&ofeel free to ask if you got any question! :D" to {alphaPl} for 2 seconds

    the "on first join: " look like this:

    on first join:
    	make console execute command "/newplayerwelcometest %player%"


    anyway, these things work great now

    ------------------------------------
    oh yea and i know i can make that if the player has permission "skript.thing" can code as:

    command /command:
        permission: skript.thing
        trigger:
            codes

  2. hm i edited the "/newplayerwelcometest" command can use on other player now (cuz it cant, it can only effect the person who use the command, now i also added the permission for the command) then i used the code u said.

    but when i used another command to test it i found out it seem not working as well, and i also found nothing at console (it's just A1ph4_DenlosDX issued server command: /newplayertest2) im not sure will it work with "on first join:" but atleast it didt work when i copy the code and use a command to test it

    i'm going to try make it with some other way later

  3. so.. i was trying to make a skript that teleport new players that never joined before to somewhere and send some title messages
     

    on first join:
        teleport player to location at 448, 64, 1116 in world "world"
        set {_loc} to player's location
        set {_loc}'s yaw to 180
        teleport player to {_loc}
        send title "&f&lWelcome to &e&n&lBednekos," with subtitle "&f&o%player%" to player for 2 seconds
        wait 2 seconds
        send title "" with subtitle "&7Hmm... &fThis is &dfirst time &fyou come here i think," to player for 2 seconds
        wait 2 seconds
        send title "" with subtitle "&f&ofeel free to ask if you got any question! :D" to player for 2 seconds


    then i found out the teleport part is not working as well (it's just like skipped line 2-5)
    but the %player% in line.6 is working as well so idk what's wrong with it

    and a funny thing is, if i make it into a command, the teleporting part will work again!
    the code:

    Spoiler

     

    
    
    
    command /newplayerwelcometest:
        trigger:
            teleport player to location at 448, 64, 1116 in world "world"
            set {_loc} to player's location
            set {_loc}'s yaw to 180
            teleport player to {_loc}
            send title "&f&lWelcome to &e&n&lBednekos," with subtitle "&f&o%player%" to player for 2 seconds
            wait 2 seconds
            send title "" with subtitle "&7Hmm... &fThis is &dfirst time &fyou come here i think," to player for 2 seconds
            wait 2 seconds
            send title "" with subtitle "&f&ofeel free to ask if you got any question! :D" to player for 2 seconds

     

     

     

     


    so i really don't know is it the problem because of "on first join" syntax problem 

  4. as title said, im new to skript and i found out a problem when im training my skripting skill, i tried to solve it but i failed


    my code:

    command /000001:
        trigger:
            if the player has permission skript.thing:
                push the player forwards at speed 3


    what happened:
     when i reload the file, it says "can't understand this condition: 'the player has permission skript.thing' (thingy1.sk,line 3: if the player has permission skript.thing:)"
     

    how can i make it so player required the permission to do the command?

  5. warning: mathy thing included

    -italic = just saying why is buying credit is annoying
    -bold = mathy thing that explain why if we can buy custom credit is better
    -yellow word = the point of this topic

                                                                                                                                

    so.. a mh75 server plan cost 2720credits, and you cant buy "2720credits" at same time. instead of that you can only buy 4650credits at same time, but! 4650÷2720=1.7095588, so that mean... after you bought 4650credits and buy a mh75, there are still 1930credits, then in next month, you can buy 800creddit... then you have 1930+800=2730 and can buy a mh75 again and there are still 10creddit

    so... 2 month of mh75 cost 36usd

    but just why, why cant we just get custom credits

    and.. andd. and minehut can also make it work like past (for example, in "800credits" which cost 6usd, 1credits = 0.0075USD, then in "1800credits" which cost 12USD, 1credit = ~0.0066USD, and that mean: 0.0066/0.0075 = 0.866. so minehut can just make if customer bought more than 800credit at same time, customer can get a 10% discount (X * [1 - 0.1], X = how many money customer paid) and if its higher than some number u can also get a higher discount like now)

    anyway,
    minehut plz just add custom credit so we will not get annoyed by thinking how to use credits that left from last purchase

  6. so i started making a survival server about 2 month already, but i never get more then 20 (now i cant even get more then 10 naturally) and i really tried a lot of way to make player stay, like making new spawn and some cool item on join, but things didt get better. and i know one day if there are no new player, most old player will also leave if they already played most content

    uh, as title, how can i know is my server trash + if its trash how can i make it better

    and idk can i post a link to my server's ad(also on minehut forums) here

×
×
  • Create New...