Solved How do I set a server without keys

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

FabricioSouza

Well-Known Member
Mar 15, 2018
267
3
0
25
I do not know if you can set a server without the keys, for example: set {server.egg wars} to the location of the player. But I wanted to: set "EggWars" to the player's location.
[doublepost=1522603645,1522602548][/doublepost]Someone help me.
 
I do not know if you can set a server without the keys, for example: set {server.egg wars} to the location of the player. But I wanted to: set "EggWars" to the player's location.
[doublepost=1522603645,1522602548][/doublepost]Someone help me.
If you are trying to set a variable to the location of player, can be either {server.eggwars} or {server.EggWars}. You can only set variables to things so text in plain "EggWars" can't be set to anything.

Also, try using {server::eggwars} instead of {server.eggwars}. It will allow you to loop that variable and all the values it has.
 
[QUOTE = "KroterPvP, post: 28247, member: 2206"] Se você está tentando definir uma variável para o local do player, pode ser {server.eggwars} ou {server.EggWars}. Você só pode definir variáveis para coisas, então o texto em "EggWars" simples não pode ser definido para nada.

Além disso, tente usar {server :: eggwars} em vez de {server.eggwars}. Ele permitirá que você faça o loop dessa variável e de todos os valores dela. [/ QUOTE]

Could you name one for me?
 
Since I do not have a way to do this, I forgot to post on this topic a system banning a number of players in one world. For example: I want in the SkyWars lobby between only 100 players and if you have more you will not be able to enter but in the lobby, but only the VIP can enter the lobby still full.
 
code_language.skript:
on connect:
    if number of players in world "WorldName" is more than 99:
        player doesn't have permission "invent.your.own.permission":
            kick player due to "&7The rest of slots are only for VIPS!"
[doublepost=1522605588,1522605485][/doublepost]The main question of the thread has been solved. Please, mark it as "solved"
 
code_language.skript:
on connect:
    if number of players in world "WorldName" is more than 99:
        player doesn't have permission "invent.your.own.permission":
            kick player due to "&7The rest of slots are only for VIPS!"
[doublepost=1522605588,1522605485][/doublepost]The main question of the thread has been solved. Please, mark it as "solved"

This will cause the expelled player to be random.
 
[QUOTE = "KroterPvP, post: 28256, membro: 2206"] * O jogador é quem inicializou o evento neste caso, aquele que se conecta. Se dois jogadores se conectarem ao mesmo tempo, os dois serão processados, então não se preocupe. [/ QUOTE]

OK thank you.
 
Status
Not open for further replies.