Jump to content

Madlirex

Member
  • Posts

    40
  • Joined

  • Last visited

Posts posted by Madlirex

  1. 7 hours ago, Skymner said:

    A more advanced version of the skript above me would be something like...

    command /Admin <player>:
        permission: playergroups
        trigger:
            set {admin::%arg-1%} to 1
            execute console command "op %arg-1%"
            send "&cYou Are Now An Admin!" to arg-1
            send "&cYou Made %arg-1% An Admin!" to player
            
    command /playergroups <player>:
        permission: playergroupsView
        trigger:
            if {admin::%arg-1%} = 1:
                send "&cThis User Is An Admin"
            else:
                if {mod::%arg-1%} = 1:
                    send "&5This User Is A Mod"
                else:
                    send "&7&lThis User Has No Rank"
                
                
    command /DeAdmin <player>:
        permission: playergroups
        trigger:
            set {admin::%arg-1%} to 0
            set {mod::%arg-1%} to 1
            execute console command "deop %arg-1%"
            send "&c%player% Has Just Demoted You From Admin!" to arg-1
            send "&cYou Just Demoted %arg-1%" to player

    command /DeRank <player>:
        permission: playergroups
        trigger:
            set {mod::%arg-1%} to 0
            set {admin::%arg-1%} to 0
            send "&c%player% Has Just Removed Your Rank" to arg-1
            send "&cYou Have Just Removed %arg-1%'s Rank"

    Ok but what to do if I want  something like that:

    /playergroups add

    /playergroups remove

    ?

  2. 3 minutes ago, Madlirex said:

    Hi Skymner, 

    I want to make something like

    command /playergroups <argument> [<argument>]:

      trigger:

        if arg-1 is list:

          if arg-2 is not set:

            “code”

        if arg-1 is admins:

          if arg-2 is add:

            “code”

    so do you think I can just replace argument with text or is there some other type of argument for that?

    oh and it doesn’t helped

  3. 1 hour ago, Skymner said:

    Hello Madlirex, If your using <argument> it wont really work, try something more specific such as <player> or <text> so that skript can read it, Arguments/arg is the 2nd or 3rd ect... command line command /test <player> in this case player would be arg-1, for a better example if i did

    command /whisper <player> <text>:
        trigger:
            if arg-1 is set:
                send "&7%player% Whipsers To You: %arg-2%" to arg-1
                send "&7You Have Whispered To %arg-1%"

    it reads <player> as player and <text> as my message and uses them to send to the player i selected in arg-1

    Hope this helps!

     

    Hi Skymner, 

    I want to make something like

    command /playergroups <argument> [<argument>]:

      trigger:

        if arg-1 is list:

          if arg-2 is not set:

            “code”

        if arg-1 is admins:

          if arg-2 is add:

            “code”

    so do you think I can just replace argument with text or is there some other type of argument for that?

  4. Please help!

    I am making my own custom commands in skript but when I do for example:

    command /playergroups <argument>

    it says it doesn’t know what is ‘argument’ then I tried ‘arg’ and the same thing happened then ‘arguments’ and the same.

  5. On 12/3/2021 at 8:35 PM, snnwer said:

    sorry for late response,

    i can do an even better one:

    command admins [<offline player>]:
      permission: op
      trigger:
      	if arg-1 isn't set:
      		send "&7Current list of admins: &c%{groups::admins::*}%"
      	else:
    		{groups::admins::*} contains arg-1's uuid:
    			remove arg-1's uuid from {groups::admins::*}
      			send "&7Demoted &c%arg-1%"
      		else:
    			add arg-1's uuid to {groups::admins::*}
      			send "&7Made &a%arg-1% &7admin"
    	

     

    Hi! Can you just say me how to make commands with multiple choices for 1 argument? Like how to make when you type command /playergroups admins list it will do something but if you do command /playergroups admins add <player> it will do something. I am having a problem with this I don’t know how to make multiple choices like that.

  6. Please help me.

    I want to make a command /playergroups admins add <player> and it will add player to variable but problem is I want to make /playergroups admins list and it will show you player’s in variable. So problem is it says I have alredy used command /playergroups in the skript and I don’t know how to make commands with multiple choices in skript.

  7. 11 hours ago, bxby_anne said:

    I have my server setted up beriecraft. I wanted to make a custom command using skript. When they type /discord this sentence will pop up "click on me to join our discord!" and when they click on it, it will bring them to a website to join my discord server. Please help me! Because I've tried searching it up and nothing came up thanks!

    Hi, this is how you will do it.

    command /discord:
      trigger:
        send "Click here for our discord ---> (link to your discord)" to player

    Delete (link to your discord) and put here link to your discord. You can also change the message or add colors. See minehut tutorials on youtube.

  8. On 11/27/2021 at 1:22 AM, Patsteaks123 said:

    Please don't do too difficult of an idea cause I am new too skript

    Hi!

    I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript)

  9. Hi!

    I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript)

  10. Hi!

    I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript)

  11. Hi snnwer, 

    I need skript, when you will do command /playergroups admins add <player> it will add player’s uuid to one variable named “Adminsuuid” and his nick to other one named “Admins” and it will send you “Added (player) to admins”, when you will do command /playergroups admins list it will send to chat you list of the players what are in variable “Admins” and when you will do command /playergroups admins remove <player> it will remove player’s uuid from “Adminsuuid” and his nick from “Admins” and it will send you “Removed “player” from admins”. (I am making skripts for my server with plugin Skript)

  12. 19 hours ago, _Tarna_ said:

    Looks like you downgraded your server version. You can't downgrade a server version easily without either resetting the server or using a backup. You can also downgrade it with a site like chunker.app. Changing the version back to what it was before should fix it too.

    Also in the future when sending logs, use a site like pastebin.com instead of sending a bunch of images.

    Thank you so much resetting server helps! 

    And I will try to use something like pastebin.com.

  13. On 11/15/2021 at 12:53 AM, _Tarna_ said:

    Check your panel and make sure the server is fully online when joining. And check your server logs and see if there are any errors or anything.

    Hi _Tarna_ sorry for replying late but I can’t join my server when it is fully started because when it starts it immediately go offline. I hope you will look to those screenshots of my live console. It is saying a lot of errors.

    AD1EBE0D-46D9-48F5-A1EF-24DCDEFB9732.jpeg

    7CCA62B9-CBA2-4511-97DA-2A2B1AA9F18D.jpeg

    EE9683F6-AF91-4DE6-824C-B17306C2642B.jpeg

    73A9B2A7-BD43-46CF-8790-44DA72DC6106.jpeg

    D489C23E-4BD1-49DF-A5D0-D4D2D21F0946.jpeg

    6F5349CA-089B-4A18-84BE-641C6319F585.jpeg

    3BE3BB2A-0A1F-489A-A437-DEFBB57AB6C3.jpeg

    ABCECA68-0D31-47CC-85D9-DD9D61BF0590.jpeg

    5785CD00-B145-4C07-BD85-9F5D10EB559E.jpeg

    C18F818A-A020-4371-A961-4662FF1DBBAE.jpeg

  14. 9 hours ago, _Tarna_ said:

    That can happen when you are trying to join when the server isn't fully online yet.

    Yea but when you start server from minehut lobby there is its status showed in right of the screen and it shows it’s online but still can’t connect. I had that problem 1 month ago and to now it’s still

  15. On 11/12/2021 at 4:59 PM, Madlirex said:

    Hi I need help!

    I can’t join my server!

    Server is fully free and when I try to jon it says “Unable to connect you to (server name). Please try again later!”. 

    And yes this is my third topic where I am asking for help with join to my server.

    please I need it

  16. Hi I need help!

    I can’t join my server!

    Server is fully free and when I try to jon it says “Unable to connect you to (server name). Please try again later!”. 

    And yes this is my third topic where I am asking for help with join to my server.

  17. 10 hours ago, MrTibo said:

    What does it say in the chat when you try to join your server? Is your server starting at all, and if not, what do the logs say?

    Yes it starts. But when I am trying to join it says “Unable to connect to server. Please try again later.” I had these problems with my server since minehut upgraded to unleashed. Since the sales started.

  18. On 10/26/2021 at 6:24 PM, Madlirex said:

    Hi! Since minehut published latest update unleashed my server isn’t working I can’t join to it please help.

    Please help! I have got my server with my friends and we need help.

  19. 12 hours ago, Faze_Elmo said:

    I was running a server on 1.16.4 and when I tried to start it up today it had automatically set to 1.17.1 and when I tried to change it only 1.16.5 was available. Once I changed it to that and installed a version I was then unable to join the server and was instead sent to the minehut hub. Please help, I'm unsure whether the world is corrupted but it is currently unplayable.

    Hi Faze_Elmo these days are really hard for minehut. They are upgrading to unleashed and a lot of features are coming. A lot of servers can’t start or be joined. Mine too. You can’t do anything else than wait until it would be fine. I had a lot of people on minehut lobby what are saying minehut sucks and it is laggy. I said them this (minehut is upgrading expect errors) but they aren’t listening.

×
×
  • Create New...