I use Slapper plugin (last Poggit release) https://poggit.pmmp.io/p/SLAPPER could you tell me how to have slapper list and coordinate on a world in the plugin_data/Slapper i found no file thanks sorry for my bad english
Slappers are saved as real entities in your world save. You cannot simply get a list of slappers without iterating over entities in all chunks.
foreach all the entities of the world as entity check if entity is an instance of SlapperEntity (I am not 100% sure if the entity is named like that) if so, send yourself a message with the entity ID and the xyz coordinates. To get the count, $count = 0; foreach the entities and check if it is an instance of that slapper entity. If so do $count++; Then send a message to you like "Slapper count: ".$count
foreach all entities of the world -- It's not that simple. You would have to load all chunks for that to work.
jojoe77777 already made an add-on that lists all the Slappers you've created. You'll need to update it manually though, since its ALPHA10. https://github.com/jojoe77777/SlapperPlus (needs FormAPI) I won't guarantee this works, but you can try this fork that bumped the API: https://github.com/FutureDeveloperZ/SlapperPlus
on a big map it's more easy to have a list and coordinates when i need to delete slappers sorry for my bad english