Jump to content

anticheat system im working on


Recommended Posts

yes I don't like the nested variables and not using uuid in the variables. But other than thats, its ok. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

1 hour ago, _Tarna_ said:

yes I don't like the nested variables and not using uuid in the variables. But other than thats, its ok. 

and im guessing me not using uuid im the variables is this set {unmuted.%arg-1%} to 0  , to fix that do i just do %arg-1's uuid% or something else

Link to comment
Share on other sites

23 minutes ago, SortaCold said:

what exactly are nested variables?

Nested variables is when you do {var.%player%}. List variables is when you do {var::%player%}.

22 minutes ago, SortaCold said:

and im guessing me not using uuid im the variables is this set {unmuted.%arg-1%} to 0  , to fix that do i just do %arg-1's uuid% or something else

And ya its better to use uuid since if a player changes their name, that var will still say the same. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

9 minutes ago, _Tarna_ said:

Nested variables is when you do {var.%player%}. List variables is when you do {var::%player%}.

And ya its better to use uuid since if a player changes their name, that var will still say the same. 

thank you, when i update the skript you'll see i changed it 😉

Link to comment
Share on other sites

2 hours ago, _Tarna_ said:

Nested variables is when you do {var.%player%}. List variables is when you do {var::%player%}.

And ya its better to use uuid since if a player changes their name, that var will still say the same. 

Hey Tarna,

 

I've restarted the whole skript basically.

I hope this is starting to look better to you. (At the time I'm sending you this I'm currently working on /warn and the essential commands that'll come with it.)

https://pastebin.com/4vwKxBDx

Thanks!

Link to comment
Share on other sites

2 hours ago, SortaCold said:

Hey Tarna,

 

I've restarted the whole skript basically.

I hope this is starting to look better to you. (At the time I'm sending you this I'm currently working on /warn and the essential commands that'll come with it.)

https://pastebin.com/4vwKxBDx

Thanks!

Nice but you forgot to change some things. In the skript, you set the variable {muted::arg-1's uuid} but use the variable {muted::%player%}. You need to change that to {muted::%player's uuid%} in the on chat event. 

Another thing is why do you use an if statement to test for a player's permission instead of just using the permission option in the command. Like you can just do this.

command /command:
	permission: command.use
	trigger:
		# stuff

 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

4 hours ago, _Tarna_ said:

Nice but you forgot to change some things. In the skript, you set the variable {muted::arg-1's uuid} but use the variable {muted::%player%}. You need to change that to {muted::%player's uuid%} in the on chat event. 

Another thing is why do you use an if statement to test for a player's permission instead of just using the permission option in the command. Like you can just do this.


command /command:
	permission: command.use
	trigger:
		# stuff

 

idek but im probs gonna give up on the skript, i hid the other post of the official one i made bcuz i didnt wanna deal with abunch of people telling me it wasnt a anticheat (even though it was, they are just used to another term of it) and yeah.

 

and i like to use "if player has permission "insertpermissionhere": "  because im just used to it. either way its 1 line of code i cant get rid of so

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...