Sueta

CreeperPlayerLog

1.0

Logs who was near a creeper when it explodes

·Plugin

Couldn't figure out how to exactly get the player that tripped a creeper, so I guess the next best thing is to capture who is near it when it goes off.

Commands:

CPL SHOW
creeperplayerlog.show
Shows records for the area in which you stand.

CPL SHOWRANGE ##
creeperplayerlog.showrange
Sets the range for viewing records. So if you do /cpl showrange 10, then if you are within 10 blocks of a logged explosion it will show in the /cpl show report.

CPL CLEAR
creeperplayerlog.clear
Clears records. Clears any that show within the range specified by showrange. So basically if you can see it with /cpl show, it will be wiped. In game only.

CPL CLEAR ALL
creeperplayerlog.clear.all
Clears all records. Total wipe of logs.

CPL CLEAR WORLD world
creeperplayerlog.clear.world
creeperplayerlog.clear.world.(worldname)

Clears all records for the specified world. If player has the creeperplayerlog.clear.world perm, it works on any world. If the specific world perm is there, only works on that world.

CPL RADIUS ##
creeperplayerlog.radius
Sets the range from creeper that players need to be within to get logged.

CPL RELOAD
creeperplayerlog.reload
Reloads config from disk

For version 1.0, clear all and clear world only work from the console. Originally those two were meant as alternatives for console use as clear itself can't be used... then as I wrote these instructions, I figured why did I restrict to console? In game ppl may want to clear all or clear all on a world. But I'm tired of screwing with code tonight, I wanna go watch TV so I'll update it tomorrow :p

YouTube

Similar projects

Plugin →