SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.06k stars 367 forks source link

Cancel first attack suggestion #2154

Closed Misio12320 closed 5 years ago

Misio12320 commented 5 years ago

Hello. I have a suggestion. What do you think about "cancel first damage" its about when player hit player the first hit going to be canceled, the next one going to damage. Like e.g on first join player must hit something 10 times to damage players. After the 10 0 damage hits the hit will damage. if player haven't hit (entity) 10 times: cancel damage

ShaneBeee commented 5 years ago

This doesn't really sound like a Skript "feature" as much as it sounds like something you can just code with what Skript already has to offer.

Skript generally tries to integrate things from the BukkitAPI, rather than creating features which can be done within your scripts.

Also to note, where would Skript store this data? (Skript doesn't store data itself)

Blueyescat commented 5 years ago

Skript doesn't store data itself

It does, like last spawned entity and command cooldowns and much more

TheBentoBox commented 5 years ago

This isn't something Skript should implement. Skript mostly just acts as a utility interface with the Bukkit API. This would be very easy to implement yourself and that is what you should do if you need it.