Jump to content

I need an anti-cheat for a pvp server and sidebore/scoreboard


Faulty_B0om_

Recommended Posts

just an fyi: skripted anti-cheats are really unreliable and you should always look to use a plugin for it.

If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot!

Some Minehut Links:

Server Rules • Staff Applications • News & Updates • Reports • Appeals


Minehut: VIP (07/04/2021 --> Current)
Elestra/Versa Realms: Manager (12/04/2021 --> Current)

If you have any questions contact me!
My Discord: BanditEagle#2481
My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/
My IGN: BanditEagle

Link to comment
Share on other sites

Scoreboard skript

on join:
  set title of player's scoreboard to "&3&lSERVER NAME"
  while player is online:
    set line 8 of player's scoreboard to "  &7Kills: &b%{kills::%player's uuid%} ? 0%"
    set line 7 of player's scoreboard to "  &7Deaths: &b%{deaths::%player's uuid%} ? 0%" 
    set line 6 of player's scoreboard to "  &7K/D: &b%{kills::%player's uuid%}/{deaths::%player's uuid%}%"
    set line 5 of player's scoreboard to "  &7Streak: &b%{streak::%player's uuid%} ? 0%"
    set line 4 of player's scoreboard to "  "
    set line 3 of player's scoreboard to " "
    set line 2 of player's scoreboard to "  &7Discord: &b/Discord"
    set line 1 of player's scoreboard to "  &7Ip:&b SERVER IP"
    wait 3 seconds

on death of player:
    if damage cause is void:
        set the death message to "&c%victim%&3 (%{streak.%victim%}%)&7 has died to the void&7."
    else:
        add 1 to {streak.%attacker%}
        set the death message to "&c%victim%&3 (%{streak.%victim%}%)&7 has died to &c%attacker%&3 (%{streak.%attacker%}%)&7."
        add 1 to {kills::%attacker's uuid%}
        add 1 to {deaths::%victim's uuid%}
        add 1 to {streak::%attacker's uuid%}
        set {streak::%victim's uuid%} to 0
        set {streak.%victim%} to 0

Link to comment
Share on other sites

On 3/15/2021 at 10:50 AM, BanditEagle said:

just an fyi: skripted anti-cheats are really unreliable and you should always look to use a plugin for it.

Incorrect, just need reliable skript anticheat developers

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...