[INACTIVE][ECON]Region Market v1.0 - Buy/Sell WorldGuard regions with iConomy 6 [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Ziden, Jun 2, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Ziden

    The Plugin:
    This awesome plugin was created by Crash. However, it was discontinued. As it was a very good and requested plugin (also, by myself), i decided to try to port it for the lastet bukkit RB with the lastest plugins.​
    Here its the old official topic:​
    New Update November 3

    After u buy a region, it will show up how many days u have left with it. If it becomes 0, u loose the region and its for sale again !!


    Iconomy 6 support !
    No permission Nodes ! Default to OP and WG permissions !

    To sell a region: Put a sign:​
    [Agent]​
    price​
    Region name​
    <blank>​
    Its only supporting iconomy 5 for now.​
    Remember to Softdepend it !
    Version 0.8
    (last updated 6/19/2011)
    Features :
    - Simple PLug & Play !
    - Simply put a sign to sell the region ! Click to buy ! No more commands !
    - Buying and selling of WorldGuard regions (using iConomy)
    - Permissions usage (if you don't use it commands have no restrictions)
    - Ability to see regions a player is selling, who is selling a certain region, listing all regions being sold and showing offers for a region that you are selling
    - Ingame saving and reloading
    -Simple SignShops !!!
    -Instant buying/selling of regions
    This tutorial ahead was written by Crash. I didnt modified anything yet in the plugin ( but i will ), so i didnt changed anything yet, except tooking the NPC parts off, since they are deactivated. I cut like 20% of the code for this to make the plugin very lightweight.​
    Changelog :
    v1.0(10/05/2011)
    - ICO6 support​
    - Rent !​
    -Cookies !​
    v0.8(10/05/2011)
    - Fixed Permissions bug​
    - Simplified, now only put the sign to sell, and click to buy, no more commands !​
    - Cleaned code​
    v0.7(19/2/2011)
    - Fixed permissions issue.​
    - Fixed minor bugs, like the Regions Saving one​
    - Added cool messages​
    - Tested (not thaaat much) on cb 860​



    v0.6(6/2/2011)



    - Completely removed NPC entryes and unused source.​


    - Ported to MC 1.6.6 , Bukkit 818​



    - iConomy 5.0 supported !​


    - Stopped Supporting Essentials ( iConomy rox )​


    - Fixed a small incompatibility issue​


    v0.5(4/29/2011):

    -Updated to WG 5 - A10 and MC 1.5​


    -Added config file for options in the future​


    -Option in config file to turn off limit of max owning number for WG​



    -Remove region agents until they are fixed (broke in the 1.5 update)​



    -Changed sign agents so that the 2nd line is the name and the 3rd is the price​


    -Added EssentialsEco support​


    -Hopefully fixed a few bugs / NPEs​
    v0.4(4/18/2011):


    -Added on limits for buying according to max owning number for WG​



    -Added on new confirmation process for buying from NPCs​
    v0.3(4/5/2011):

    -Added on instant selling of regions with a new list type​



    -Updated help for /rm list making it less cluttered​


    v0.2 (3/14/2011) :



    -Added agents, NPC or sign to add another option to sell your market​


    v0.1 (3/8/2011) :

    -First release​




    Posting Issues:
    If you have any issues with this plugin, post the entire error code here. If its a usual incompatility error such as "could not pass event <event name>" just list the plugins you are using.​
    Have fun selling regions again.​
    Download

    Region Market 1.0 on BukkitDev
    Region Market 0.8 on BukkitDev:

    Old Version 0.7:


    download link fixed
    heh

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
    yase, Akimbo, Claus33 and 9 others like this.
  2. Offline

    sillyrosster

    Thank you, Thank you, Thank you, Thank you, Thank you! My friend was going to port it, but you did it faster. Thx!
     
  3. Offline

    Skaales

    Bee waiting ages!! thanks man!
     
  4. Ehm, am I blind? Can't find the permission nodes.

    Also download URL is not clickable ;)
     
  5. Offline

    koron

    Very big bug. If i add Region Market to the plugins. The premissions-Plugin set all peopels to Default and groups- and userpremissions don't work anymore.
     
  6. Offline

    sillyrosster

    I'm getting this nice little error when I try to stop/reload my server:
    Code:
    2011-06-03 14:41:19 [INFO] [RegionMarket] Finished saving, v0.6 disabled.
    2011-06-03 14:41:19 [SEVERE] Error occurred while disabling RegionMarket v0.6 (Is it up to date?): loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "com/sk89q/worldguard/protection/GlobalRegionManager"
    java.lang.LinkageError: loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "com/sk89q/worldguard/protection/GlobalRegionManager"
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
            at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:218)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            at br.Ziden.RegionMarket.RegionMarket.onDisable(RegionMarket.java:228)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
            at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
            at org.bukkit.plugin.SimplePluginManager.clearPlugins(SimplePluginManager.java:290)
            at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:311)
            at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  7. Offline

    Ziden

    k ill be seeing this on the weekend

    witch version of Permission do you have ?
     
  8. Offline

    sillyrosster

    I have, uh.. The one before 3.x. I don't like Permissions 3.x. So if this plugin is set-up for it, it'd be nice if you could add one for 2.x as well.
     
  9. Offline

    soloman981

    its working with old one im using it right now

    how to set max number of regions per player ? i want admins to have unlimited i did it with worldguard but it doesnt work and i changed rm config for true
     
  10. Offline

    Crash

    Heh I was thinking about maybe updating this a bit cuz people kept begging for it on the thread. GJ on updating and good luck maintaining it :)
     
  11. Offline

    jayzon915

    You are the BEST! Thank you!
     
  12. Offline

    trevorhenrich

    omg i love you. been waiting for an update since forever. if you wanna come play on my server (incase you dont have one yourself.) the ip is 69.197.190.133:25565
     
  13. Offline

    Logan Osgood

    Do you need to own the region to sell? It'd be awesome to have an option as an OP to sell regions without owning them. It gets hard to sell a lot of plots because you can only have a certain amount of regions. Thanks!
     
  14. Offline

    koron

    I use Permission 3
     
  15. Offline

    Nam

    YAY!!! I love this plugin. Good job on updating it.
     
  16. Offline

    anonymous

    Nooo! I was working on my own version of region market D: Oh well looks like I'll just do something else now :)
     
  17. Offline

    Ryannober

    When I make a region with worldguard, I try to sell it but it says I don't own the that region. I'm op and admin so I am a little confused..
    Any help here?
     
  18. Offline

    taxidriveer

    thank you for updating this :D
     
  19. Offline

    Ziden

    you must be the region owner to sell it
    check out worldguard docs for it, im not sure but its
    /region addowner <regionname> <ownername>
     
  20. Offline

    jalle1997

    I get a litle error when i am loading my server
    18:11:09 [SEVERE] Could not load 'plugins/RegionMarket.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:172)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: com/sk89q/worldguard/LocalPlayer
    at br.Ziden.RegionMarket.RegionMarket.<init>(RegionMarket.java:39)
    ... 16 more
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.LocalPlayer
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 17 more
     
  21. Offline

    jayzon915

    The sign does not disappear after User1 purchases the plot.... What stops User2 from walking buy and clicking the sign and buying the plot away from User1?
     
  22. Offline

    soloman981

    you must type /rm sell command again :D
     
  23. Offline

    jasonfg

    THANK YOU ziden & crash, works great! had no problems with it at all.
     
  24. Offline

    Stocki93

    Mhh..
    I really would love this plugin but if i put it on my server i can do anythink.
    I cant use my Admincommands, or build in protected Areas and i dont know why :(
    maybe someone have a Idea?
     
  25. Offline

    Yantihuhn

    When is start my server i get this Error:

    2011-06-05 15:26:11 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
    2011-06-05 15:26:11 [SEVERE] at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:54)
    2011-06-05 15:26:11 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:182)
    2011-06-05 15:26:11 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    2011-06-05 15:26:11 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-05 15:26:11 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-05 15:26:11 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-05 15:26:11 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-05 15:26:11 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-05 15:26:11 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 15:26:11 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-05 15:26:11 [INFO] [Permissions] Shutting down Permissions due to error(s).
     
  26. Offline

    Stocki93

    Ok I found the Error. This plugins really dont work with the new permission, you need Permissionios v2.7.4!
    Mabye there are some problems with other plugins but all i had worked with 2.7.4,too.
     
  27. Offline

    Blenz

    Getting a similar error message to the previous posts... When I load this plugin up all of my regions lose their permission settings in WorldGuard.

    Code:
    [SEVERE] tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl initializing Permissions v3.1 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
        at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:53)
        at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:167)
        at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:127)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Is this strictly an incompatibility with Permissions 3.1? Or is there anything else I can do?
     
  28. Offline

    Ziden

    Looks like i cant use the new permissions as well

    ill try fixing that
     
  29. Offline

    Blenz



    Also, the following error occurred upon logging in...

    Code:
    [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-06-05 09:14:45 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-05 09:14:45 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-05 09:14:45 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-05 09:14:45 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:438)
    2011-06-05 09:14:45 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-05 09:14:45 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-05 09:14:45 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 09:14:46 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-06-05 09:14:46 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-05 09:14:46 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-05 09:14:46 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-05 09:14:46 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:442)
    2011-06-05 09:14:46 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-05 09:14:46 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-05 09:14:46 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-05 09:14:46 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 09:14:56
    And upon issuing the "stop" command to the server...

    Code:
    [INFO] Stopping the server..
    2011-06-05 09:14:56 [INFO] Stopping server
    2011-06-05 09:14:56 [INFO] [iConomy] Plugin disabled.
    2011-06-05 09:14:56 [INFO] [LocalShops][Economy] iConomy 5 unhooked.
    2011-06-05 09:14:56 [INFO] [Jobs v2.0.0] has been disabled succesfully.
    2011-06-05 09:14:56 [INFO] [LocalShops] Saving All Shops
    2011-06-05 09:14:58 [INFO] [LocalShops] Version 3.1.1 is disabled!
    2011-06-05 09:14:58 [INFO] [MCDocs] (Tazzernator/Andrew Tajsic) - v9.4.1 shutdown.
    2011-06-05 09:14:58 [SEVERE] Error occurred while disabling Permissions v3.1 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:135)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:123)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:260)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 09:14:58 
     
  30. Offline

    Crash

    It's a bug with going up from 2.x to 3.x just change the
    Code:
    public static Permissions Permissions = null;
    to this :

    Code:
    public static PermissionHandler Permissions = null;
    
    ...
    
    Permissions = ((Permissions)pm.getPlugin("Permissions")).getHandler(); 
    Use that instead and it'll work fine.
     
    taxidriveer likes this.
Thread Status:
Not open for further replies.

Share This Page