DenizenScript / Depenizen

Addon to Denizen that provides script support for other major plugins.
MIT License
61 stars 43 forks source link

Red Protect Support please :) #244

Open theblobinc opened 5 years ago

theblobinc commented 5 years ago

Could I please get some added support for the plugin "Red Protect" added to Depenizen.

its basically a mixture of Grief Prevention and World Guard, but all in one expansive plugin.

it more or less is a stand alone replacement for both that extends the functionality of world guard and world guard extra flags, which allows regular users to claim regions similar to how you would in grief prevention; while also allowing administrative staff the same sort of functionality.

eitherway being able to script with it would be very very very nice, thanx for your time and consideration.

https://www.spigotmc.org/resources/redprotect-for-all-versions-anti-grief-server-protection.15841/

mcmonkey4eva commented 5 years ago

What support functionality do you specifically want?

theblobinc commented 5 years ago

ideally the same sort of support world guard and grief prevention has, this plugin essentially does the job of both. maybe something to script out region flags and red protect regions in general.

see now when I fire up spigot with depenizen it has options for both grief prevention and world guard, but none what so ever to handle red protect... although red protect is a superior plugin to both.

mcmonkey4eva commented 5 years ago

Generally the best Depenizen issue request start with the idea of "I want to script [something]" rather than "wow Depenizen should support [some plugin] because it's a plugin and supporting plugins is what Depenizen does!"

What's something you actually want to script using RedProtect-Denizen integration?

theblobinc commented 5 years ago

https://github.com/DenizenScript/Depenizen/blob/master/bukkit/src/main/java/com/denizenscript/depenizen/bukkit/commands/worldguard/RegionCommand.java

https://github.com/DenizenScript/Depenizen/blob/master/bukkit/src/main/java/com/denizenscript/depenizen/bukkit/events/griefprevention/GPClaimEnterEvent.java

I literally just need the functionality of these 2 things extended to red protect.

that way Depenizen can execute region commands/flags, and claim commands.

theblobinc commented 5 years ago

or for that matter be able to know there is a region there, and to know it can execute scripts there in that region.

forgive me if im not exactly being all that clear.

mcmonkey4eva commented 5 years ago

You're just requesting "add what the other plugins have but for this plugin".

You're not requesting anything remotely specific or local to what you want to do.

theblobinc commented 5 years ago

say I have a red protect region, and its themed as a grave yard, upon a player region entry event, I would like zombies to come out of the ground and spawn every where. (tbh I need it to script a number of things for a production server, but that will give you a fairly good idea of what im looking for)

theblobinc commented 5 years ago

in the grand scheme of things red protect does virtually everything world guard does... its just that depeizen doesent know to look for red protect regions.

it instead only looks for world guard regions.

it should essentially be the same code used for either instance, but just with a "few" different imports.

theblobinc commented 5 years ago

just to save you having to search for it, here is the api: https://github.com/FabioZumbi12/RedProtect/blob/master/RedProtect-Spigot/src/main/java/br/net/fabiozumbi12/RedProtect/Bukkit/API/RedProtectAPI.java

Aldiwildan77 commented 3 years ago

It would be nice to implement a Redprotect API so we can use it using denizen.

Example Redprotect Link:

Example custom tag

Example usage of tag using denizen (maybe if possible):

Aldiwildan77 commented 3 years ago

Waiting for release of this support 👍🏻