.evourai

Make a script that if someone kills a person the killer gets a kill token that is a amethyst shard

Kodari AI
KodariMay 6 at 10:47 am 2,192 (v2)

I’ll create a PvP kill token system that rewards players with amethyst shards.

KillTokenSystem
A simple yet effective PvP reward system that gives players amethyst shards as kill tokens when they eliminate other players. Each successful PvP kill awards the killer one amethyst shard token, creating an economy for player kills. Perfect for PvP servers, faction servers, or any server wanting to incentivize and track player combat. Includes configurable messages and the foundation for future token-based rewards or shop systems.

Installation Instructions:

  1. Place the file in plugins/Skript/scripts/

  2. Reload the script with /sk reload kill-tokens

  3. Set permissions (optional):

    • killtokens.check - Check own tokens with /killtokens

    • killtokens.check.others - Check other players’ tokens

    • killtokens.admin - Give tokens to players

How it works:

  • When a player kills another player, they automatically receive 1 amethyst shard named “Kill Token”

  • Use /killtokens to check how many tokens you have

  • Admins can use /givetoken <player> <amount> to manually award tokens

The tokens can later be used for shops, rewards, or special perks!

.evourai

make like a command that is /staffmode that puts you in vanish and puts dye's on your hotbar that are all 30day bans that is like hacks fly hacks reach etc for a FFA server in mc

Kodari AI
KodariMay 6 at 11:42 am 2,310 (v2)

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
kill-tokens.sk
staffmode.sk
Code
2 105
staffmode.sk
# Staff Mode - Moderation Tools
# Provides vanish and quick-ban hotbar for FFA server staff

options:
    prefix: &c&l[STAFF] &r
    vanish-on: &aYou are now in staff mode!
    vanish-off: &cYou are no longer in staff mode!

# Store players in staff mode
on script load:
    delete {staffmode::*}

command /staffmode:
    aliases: /smode, /sm
    permission: staff.mode
    permission message: &cYou don't have permission to use this!
    trigger:
        if {staffmode::%player%} is not set:
            # Enable staff mode
            set {staffmode::%player%} to true
            
            # Save inventory
            set {staffmode.inv::%player%::*} to player's inventory
            set {staffmode.armor::%player%::*} to player's armor
            
            # Clear inventory
            clear player's inventory
            
            # Give ban items
            set {_slot} to 0
            
            # Killaura Ban (Red Dye)
            set {_item} to 1 of red dye named "&c&lKillaura" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # Fly Hacks Ban (Light Blue Dye)
            set {_item} to 1 of light blue dye named "&b&lFly Hacks" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # Reach Hacks Ban (Orange Dye)
            set {_item} to 1 of orange dye named "&6&lReach Hacks" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # Speed Hacks Ban (Lime Dye)
            set {_item} to 1 of lime dye named "&a&lSpeed Hacks" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # Scaffold Hacks Ban (Brown Dye)
            set {_item} to 1 of brown dye named "&e&lScaffold Hacks" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # AutoClicker Ban (Purple Dye)
            set {_item} to 1 of purple dye named "&5&lAutoClicker" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # Xray Ban (Yellow Dye)
            set {_item} to 1 of yellow dye named "&e&lX-Ray" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            add 1 to {_slot}
            
            # Misc/Other Ban (Gray Dye)
            set {_item} to 1 of gray dye named "&7&lMisc Hacks" with lore "&730 Day Ban" and "&7Right-click player to ban"
            set slot {_slot} of player's inventory to {_item}
            
            # Enable vanish
            hide player from all players
            
            # Messages
            send "{@prefix}{@vanish-on}" to player
            send "{@prefix}&eUse the dyes to ban players for hacking!" to player
            send "{@prefix}&cYou are now vanished!" to player
        else:
            # Disable staff mode
            delete {staffmode::%player%}
            
            # Restore inventory
            set player's inventory to {staffmode.inv::%player%::*}
            set player's armor to {staffmode.armor::%player%::*}
            delete {staffmode.inv::%player%::*}
            delete {staffmode.armor::%player%::*}
            
            # Disable vanish
            reveal player from all players
            
            # Message
            send "{@prefix}{@vanish-off}" to player

# Handle ban item clicks