... ok
options:
region: region
item: emerald named "&a&lAFK Emerald"
every 5 minutes:
loop all players where ["%region of input%" contains "{@region}"]:
give 1 {@item} to loop-player
send action bar "&aYou received an AFK Item!" to loop-player
its not indented properly
on mine:
cancel event
set event-block to air
if event-block is iron ore:
give iron ingot to player
else if event-block is gold ore:
give gold ingot to player
else:
give event-block to player
ur previous msg said nothing about a relog.
Store the locations of where the seeds will spawn. For a restart or relog combine the "on load" event with a "while", then go through the stored locations from before and spawn seeds.
skript added a new expression called "plain item"
on pickup:
if player's inventory contains 32 plain cobblestone:
remove 32 plain cobblestone from player's inventory
give player shiny cobblestone named "&eCompacted Cobblestone"
on death:
victim is a player
attacker is a player
set {_drops::} to drops
clear drops
give attacker {_drops::}
make console execute command "/token send %attacker% 2"
You can download the LuckPerms plugin to set up "groups" (aka ranks) with certain permissions. With Tebex, when someone purchases an item, you can make the server execute "lp user {PLAYER} group add <YOUR GROUP>"
If you have WorldGuard and skript 2.1+, you can use the "on region enter" event to detect when a player enters a region (or in your case, makes a lap)
https://skripthub.net/docs/?id=1099
cool, but a quick suggestion
Use %player's uuid% instead of %player% for storing variables as if a player changes their name, their stats wont save unless its saved to the uuid.