Solved Punishment ID System

  • 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 community!

    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
How do I do that when a player is punished he will have a punishment ID for example: I want his ID to be a random number from 1 to 10,000,000, but like this: I for example bani Pikachu ai let's say that the ID of it will be 6873 and hence the number 6873 will be excluded from number 1 to 10000000 in case another player is punished he does not have the same ID.
 
code_language.skript:
function BanID(player: player, ID: integer):
    set {BanID::%{_player}%} to a random integer between 1 and 10000000

command /ban [<offline player>]:
    trigger:
        set {_n} to a random integer between 1 and 10000000
        loop {banIDS::*}:
             if {BanIDS::%{_n}%} exists:
                 BanID(arg-1)
            else:
                add {_n} to {BanIDS::*}
                set {BanID::%arg-1%} to {_n}
                send "Ban ID of %arg-1% is now %{_n}%"

Not Tested, but next time, supply your own code
(NOTE: This is a rough code, but you can get an Idea of how to do it yourself from this)
 
And how do I get a player's ID number from 1 to 10000000 so that if another player gets lucky and gets the same number.
 
Did u read what i wrote? Thats the rough way how to make sure your Ids dont overide previous bans ;-;
 
Why use a random number? Why not just start at 0 and count up?

code_language.skript:
command /punish <player>
   trigger:
        add 1 to {globalID}
        set {punishID::%player-argument%} to {globalID}
 
It would be easier for you to create Skripts, if you came up with your own ideas, rather than going around to other servers and copying what they have done.
It would also make your server much more unique if you had your own ideas.
You have posted SEVERAL threads on this forum asking people to spoon feed you Skripts because you almost never provide your own code.
I have seen numerous replies to you where people have given up helping you because you are always ignoring the best possible answer.
Last week you asked how to create an ID system starting from 0 and counting up. I gave you the exact answer and you ignored it and asked for more help.
And now you are on here asking how to create an ID system that will be a random number?
JustADev gave you the answer and you immediately asked the same question again.
Im starting to think you have NO CLUE how Skript works, and you cant actually skript on your own.

What I would suggest at this point, since you just want to copy other servers and have no clue how to write Skript, save up some money and hire a dev. You are going to loose support on this forum because you do not contribute any code yourself, just asking people to do all your work for you because you have no idea how to search the docs and learn yourself.
 
It would be easier for you to create Skripts, if you came up with your own ideas, rather than going around to other servers and copying what they have done.
It would also make your server much more unique if you had your own ideas.
You have posted SEVERAL threads on this forum asking people to spoon feed you Skripts because you almost never provide your own code.
I have seen numerous replies to you where people have given up helping you because you are always ignoring the best possible answer.
Last week you asked how to create an ID system starting from 0 and counting up. I gave you the exact answer and you ignored it and asked for more help.
And now you are on here asking how to create an ID system that will be a random number?
JustADev gave you the answer and you immediately asked the same question again.
Im starting to think you have NO CLUE how Skript works, and you cant actually skript on your own.

What I would suggest at this point, since you just want to copy other servers and have no clue how to write Skript, save up some money and hire a dev. You are going to loose support on this forum because you do not contribute any code yourself, just asking people to do all your work for you because you have no idea how to search the docs and learn yourself.
How did you read my mind?
 
  • Like
Reactions: Deleted member 5254
How did you read my mind?
Oyyy... I just don't think he Gets it, and I think a LOT of people on here are feeling the same way.

"Can you please write my whole server for me, for free? Because I do not know how to Skript"
NO.... we are not going to do it. Learn Skript or hire a dev.
 
Oyyy... I just don't think he Gets it, and I think a LOT of people on here are feeling the same way.

"Can you please write my whole server for me, for free? Because I do not know how to Skript"
NO.... we are not going to do it. Learn Skript or hire a dev.
Watch him make a hiring post saying “please write Skript for server no payment”.
 
  • Like
Reactions: Deleted member 5254
[QUOTE = "ShaneBee, post: 29609, member: 5254"] Seria mais fácil para você criar Skripts, se surgisse com suas próprias idéias, em vez de procurar outros servidores e copiar o que eles fizeram.
Isso também tornaria seu servidor muito mais exclusivo se você tivesse suas próprias ideias.
Você postou vários tópicos neste fórum pedindo às pessoas que o alimentem porque você quase nunca fornece seu próprio código.
Já vi várias respostas para você, onde as pessoas desistiram de ajudá-lo porque você está sempre ignorando a melhor resposta possível.
Na semana passada, você perguntou como criar um sistema de identificação a partir de 0 e contando-se. Eu te dei a resposta exata e você ignorou e pediu mais ajuda.
E agora você está aqui perguntando como criar um sistema de identificação que será um número aleatório?
JustADev gave you the answer and you immediately asked the same question again.
Im starting to think you have NO CLUE how Skript works, and you cant actually skript on your own.

What I would suggest at this point, since you just want to copy other servers and have no clue how to write Skript, save up some money and hire a dev. You are going to loose support on this forum because you do not contribute any code yourself, just asking people to do all your work for you because you have no idea how to search the docs and learn yourself.[/QUOTE]

ShaneBee, by any chance I copy servers, No. Now if I copy is because the server system I copy would be very important to my server. If I find it unnecessary I would not put it. For example: SkyWars was a minigame created by a server. And those of today are copying. Aliases all minigames come from any server of the past that the statistical possibilities of them exist today is 0.1%.
 
YES, but if you want to copy... then DO IT YOURSELF.... people here dont want to write you a bunch of Skripts copying EVERYTHING from other serves... IE: The picture GIF about the chest! How about rather than Copying the crate down to a T, just write something yourself and make it unique to your server... IT IS NOT essential for your server to have that EXACT system. Write something you are comfortable with.

QUOTE FROM YOU:
"Someone can make a mod along with optifine to download lobbies from servers."
LIKE COME THE HELL ON BUD.... make your own SHIT / AND BUILD YOUR OWN LOBBY

Every single one of your posts on here is basically "HI, how do I copy this from Hypixel or other server?" and "PS I have no idea how to do it so can you do it for me for free?"

Ive said it before and I will say it again.... Learn how to do Skript yourself if you want to copy other servers, no one here is going to help you copy MAJOR plugins (for free) OR.... Hire a PAID developer, because again, NO ONE is going to build your entire server for you, FOR FREE!
 
[QUOTE = "ShaneBee, post: 29625, member: 5254"] SIM, mas se você quiser copiar ... então FAÇA VOCÊ MESMO .... pessoas aqui não querem escrever um monte de Skripts copiando TUDO de outros saques ... IE: A imagem de cima. Que tal, em vez de copiar a caixa para um T, basta escrever algo e torná-lo exclusivo para o seu servidor ... NÃO É essencial que o seu servidor tenha esse sistema EXATO. Escreva algo com o qual você esteja confortável.

CITAÇÕES DE VOCÊ:
"Alguém pode fazer um mod juntamente com optifine para baixar lobbies de servidores."
COMO VIR O INFERNO NO BOTÃO .... faça sua própria MERDA / E CONSTRUA SEU PRÓPRIO LOBBY

Cada um dos seus posts aqui é basicamente "OI, como faço para copiar isso do Hypixel ou outro servidor?" e "PS eu não tenho idéia de como fazê-lo, então você pode fazer isso por mim de graça?"

Ive said it before and I will say it again.... Learn how to do Skript yourself if you want to copy other servers, no one here is going to help you copy MAJOR plugins (for free) OR.... Hire a PAID developer, because again, NO ONE is going to build your entire server for you, FOR FREE![/QUOTE]

Look, if I do shit you do too, gringo.
 
[QUOTE = "ShaneBee, post: 29625, member: 5254"] SIM, mas se você quiser copiar ... então FAÇA VOCÊ MESMO .... pessoas aqui não querem escrever um monte de Skripts copiando TUDO de outros saques ... IE: A imagem de cima. Que tal, em vez de copiar a caixa para um T, basta escrever algo e torná-lo exclusivo para o seu servidor ... NÃO É essencial que o seu servidor tenha esse sistema EXATO. Escreva algo com o qual você esteja confortável.

CITAÇÕES DE VOCÊ:
"Alguém pode fazer um mod juntamente com optifine para baixar lobbies de servidores."
COMO VIR O INFERNO NO BOTÃO .... faça sua própria MERDA / E CONSTRUA SEU PRÓPRIO LOBBY

Cada um dos seus posts aqui é basicamente "OI, como faço para copiar isso do Hypixel ou outro servidor?" e "PS eu não tenho idéia de como fazê-lo, então você pode fazer isso por mim de graça?"

Ive said it before and I will say it again.... Learn how to do Skript yourself if you want to copy other servers, no one here is going to help you copy MAJOR plugins (for free) OR.... Hire a PAID developer, because again, NO ONE is going to build your entire server for you, FOR FREE!

Look, if I do shit you do too, gringo.[/QUOTE]

Im really not sure what that means.... but ok, The difference between you and I is simple.... I know how to do Most of the BASIC stuff in Skript, and I am trying to make ORIGINAL scripts.... I have actually NEVER been on Hypixel or any of the major gaming networks..... mostly everything I write comes from my head. I do not google pictures, or log onto other servers and try to copy everything they do... WHY? Because I want my server to be UNIQUE and ONE OF A KIND.... meaning I dont want players to come onto my server and say "Oh YEAH ive seen this on HyPixel" NOPE.... I WANT a unique server.

BUT ILL SAY IT AGAIN... NO ONE IS GOING to help you anymore if you keep acting the way you do on here.
 
  • Like
Reactions: Galacticstar123
[QUOTE = "ShaneBee, post: 29628, member: 5254"] Olha, se eu fizer merda você também, gringo . [/ QUOTE]

Eu realmente não tenho certeza do que isso significa .... mas ok, A diferença entre você e eu é simples .... Eu sei como fazer A maioria das coisas BASIC no Skript, e eu estou tentando fazer scripts ORIGINAIS ... Eu nunca estive no Hypixel ou em qualquer uma das maiores redes de jogos ..... principalmente tudo que escrevo vem da minha cabeça. Eu não faço google pictures, nem faço login em outros servidores e tento copiar tudo o que eles fazem ... POR QUE? Porque eu quero que o meu servidor seja ÚNICO e UM DE UM TIPO ... o que significa que eu não quero que os jogadores entrem no meu servidor e digam "Oh, YEAH eu vi isso no HyPixel" NOPE .... EU QUERO um servidor único.

MAS ILL DIZER NOVAMENTE ... NINGUÉM VAI AJUDÁ-LO mais se você continuar agindo da maneira que faz aqui. [/ QUOTE]

Since being foolish, I said that if I copy something it is because that would be essential for my server. YOUR ASS.
[doublepost=1524686202,1524686137][/doublepost]You're a fool
 
How is copying another servers lobby essential to your server? Create your own lobby?
How is copying a crate that has some spinning heads around it essential for your server? Its not.... you just dont have ideas of your own so you copy others.... ideas that they have probably paid a lot for to be unique.
I may be an ass, but Im trying to get it thru to you, that no one here wants to help you, because when they do you reply with "Can someone else help me instead?" or "Thats not what i want" (When it is EXACTLY what you asked for) or "Can you help me do this" (and then turn around and ask for it to be done a completely different way)

Call me a fool all you want... I am totally fine with that. Because I know how to write Skript, and I dont constantly post things on here, that can EASILY be found in the docs or by using BASIC Skript skills.

Good luck to you and your COPY/PASTE completely NON-UNIQUE COOKIE CUTTER server.

PS Im done helping you in any capacity. I will unfollow your thread and no longer reply
 
  • Like
Reactions: Galacticstar123
How is copying another servers lobby essential to your server? Create your own lobby?
How is copying a crate that has some spinning heads around it essential for your server? Its not.... you just dont have ideas of your own so you copy others.... ideas that they have probably paid a lot for to be unique.
I may be an ass, but Im trying to get it thru to you, that no one here wants to help you, because when they do you reply with "Can someone else help me instead?" or "Thats not what i want" (When it is EXACTLY what you asked for) or "Can you help me do this" (and then turn around and ask for it to be done a completely different way)

Call me a fool all you want... I am totally fine with that. Because I know how to write Skript, and I dont constantly post things on here, that can EASILY be found in the docs or by using BASIC Skript skills.

Good luck to you and your COPY/PASTE completely NON-UNIQUE COOKIE CUTTER server.

Understand your idiot, I asked the mysterious box in the part where the heads are running is just to ask myself, I do not want to copy just wanted to learn that for future things.
 
Status
Not open for further replies.