[GEN/DEV] elRegions v1.2 - Simple region API/Creation [1000]

Discussion in 'Inactive/Unsupported Plugins' started by WinSock, Jul 1, 2011.

  1. Offline

    WinSock

    elRegions - Simple region API/Creation:
    Version: v1.2

    There was a lack of a standardized API for everyone to use for defining making and using regions. My implementation has many types of "shapes" of regions, and a very easy way of making regions.

    Features:
    • Easy to use API for developers
    • Polygonal regions
    • Spherical regions
    • Circular regions
    • Global regions
    • Permissions, defaults to OP only if it is not found.
    • Economy support, Supports Essentials Economy, iConomy(4,5), BOSEconomy, Or none!
    Download

    Wiki
    Source Code
    Doxygen (Java Documentation)
    Issues

    Permission node:
    elregions.all

    Plugins that use elRegions:
    Changelog:
    Version 1.2:
    • Economy
    • config.yml contains economy settings.
    Version 1.1:
    • Permissions
    Version 1.0:

    • Release
    SQLite Library: @alta189
    Economy: @Nijikokun

    Version 1.1 with permissions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
    jeanjaz and RazorFlint like this.
  2. Offline

    RazorFlint

    Cool Plugin I'll use this alot...
     
  3. Offline

    DrBowe

    You, sir, are a God. And I don't say this lightly.

    I've wanted to do SEVERAL region based things, but I never felt like doing the hard work to code in the basics.
    *salutes @WinSock *
     
  4. Offline

    WinSock

    Thanks, it really isn't that hard or bad to program but having one standard API really helps out the community vs 10 billion plugins/custom solutions.
     
  5. Offline

    ಠ_ಠ

    Do i put this in my plugins folder?
     
  6. Offline

    Sweet_Mafia

    Does this support WorldGuard? If so, I can then use this to protect regions in circulatory manner?
     
  7. Offline

    Mercury

    Can you add iConomy (5) support for buying regions?
    Thanks.
     
    korin125 likes this.
  8. Offline

    WinSock

    That is up to the plugin maker of WorldGaurd.
    Sure, i can add economy support. I'm on vacation so expect an update some time tuesday.
    Yep its just another plugin.
     
  9. Offline

    korin125

    Very much looking forward to iConomy support :D
     
  10. Offline

    WinSock

    Economy support!!! Thanks @Nijikokun for Register!

    Version 1.2
     
  11. This seems to work with RB 1000 just fine, anything i should be looking for to test it further?
     
  12. Offline

    WinSock

    Nope :D Well there is a few bugs that i'm trying to fix as fast as i can.
     
  13. Offline

    Olof Larsson

    This is very interesting, I @Sleaker and @sk89q have been talking about creating a plugin like this.
     
  14. Offline

    WinSock

    Thanks :D Right now i'm trying to figure out what is wrong with my convex hull algo(2D/3D).
     
  15. Does this provide the 'visaid' ability as seen in Namespaces? I'm looking for a cleaner region/place editor than that one.

    Can this do nested regions, with inherited traits?
    (IE ~ If a higher tier region has 'nospawn' set, all regions nested inside it do the same?)

    Can regions cross the border of other regions?
    (IE ~ A house that is set as a region, but crosses the border of two other regions)
     
  16. Offline

    WinSock

    Yes it has all of those features if i'm understanding you correctly, but this plugin provides no functionality for the end user, it is meant to be a API for other plugin devs to make plugins off of. I might make a "essentials" type plugin for this in the future.
     
  17. Offline

    Darrk_Harris

    I put this in my plugins folder and nothing generates.
    Is there any other steps other than putting the .jar in the plugins folder?
     
  18. Offline

    Sleaker

    @WinSock - maybe I'm missing something but the source seems to suggest that it doesn't do anything like that.


    Not thrilled about using this or things similar to it - the biggest issues I see right off:
    #1 - Heavy use of onMove that is very unoptimized (6+ variable instantiations, no return if the player doesn't actually move, etc)
    #2 - no built-in 'Flag' support - (like tagging a region as no-fire-spread)
    #3 - no built-in user management support
    #4 - no inheritance logic - (regions just exist in the world, there is nothing that determines if they have child/parent relationships)

    in Reality all this does is provide other plugins with simplified area selection/area management - but maybe that's all it's intended to be - it forces plugins to use their own handling of flags/protections etc. rather than using it's own.
     
  19. Offline

    WinSock

    The source issue is because of the development of squashing bugs and the handlers are flooded with debug code right now. Since the biggest thing holding back in the convex polyhedron code i might just disable that feature for a later release. And this is really just meant to be a lightweight system that requires almost no resources from the server. This plugin alone has no value to the end user, but an essentials style plugin will be made when this plugin is stable and fast.

    #1 is High priority once i figure out whats wrong with my ray - intersection test code for convex polyhedron
    #2 Is planned for a Regions Essentials type of plugin that i will develop after all bugs are squashed
    #3 same awnser as #2
    #4 I'm debating if this should be core functionality or something that should be done per plugin.

    @Everyone Sorry for the lack of communication I was away shooting in USA Archery National Target tournament in Yakton SD
     
  20. Offline

    Sleaker

    Just from personal preference, please don't tag plugins as 'essentials' it's over-used and means nothing. Thansk for the quick answers though! :)
     
  21. Offline

    Joshua Abraham

    Can we get an update for this plugin?
    I am trying to use crowd control and it works... but elregoins is filling my console with nonstop errors.
     
  22. Offline

    dmcone

    Alright I am getting this error.

    Does this not support Iconomy 6??


    Code:
    02:30:49 [SEVERE] Could not pass event PLUGIN_ENABLE to elRegions
    java.lang.NoClassDefFoundError: com/nijiko/coelho/iConomy/iConomy
    at com.elbukkit.api.elregions.register.payment.methods.iCo4.isCompatible(iCo4.java:133)
    at com.elbukkit.api.elregions.register.payment.Methods.createMethod(Methods.java:71)
    at com.elbukkit.api.elregions.register.payment.Methods.setMethod(Methods.java:119)
    at com.elbukkit.api.elregions.EconPluginListener.onPluginEnable(EconPluginListener.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:964)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  23. Offline

    XxMinerCrossxX

    It reeeeaally sucks that the download link is broken, it takes me to GitHub 404 page not found. Please help!
     
  24. Offline

    Dzsipszi

    Me too :/
     
  25. Offline

    joey23art

    Anyone know where to get this?
     
  26. Offline

    gus

  27. Offline

    md_5

    Long time no see WinSock. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     

Share This Page