• Hey! Register here to create your account, engage with the community, and talk about what is new!

Plot Banning

Zeke6421

New member
Joined
Sep 16, 2024
Messages
11
Reaction score
0
I have an idea to add a player action where you can ban people from plots. Sorta like this:

Ban

Number: Duration of ban (in days)
String: Person to ban

This would be good for a ban hammer, or automatic moderation.
 
Last edited:

HackerDragon9999

Forum adept
Joined
Jan 18, 2023
Messages
128
Reaction score
21
You can do that easily with code
Code:
Command:
if CommandEquals('ban'){
    GetListValue(person -i,Command Arguments GV,2)
    SelectPlayersByName(person)
    AppendValue(bannedppl,'%uuid')
    Kick \Selection
    ResetSelection
}

Join:
if ListContains(bannedppl,UUID GV){
    SendMessage("ur banned lol")
    Kick
}
 
Top Bottom