[INACTIVE][SEC/ECON] iCoLand v2.46 - buy/protect land with iConomy [740]

Discussion in 'Inactive/Unsupported Plugins' started by Magik, Mar 26, 2011.

     
  1. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    iCoLand v2.46
    Download/Source Links
    GitHub Source
    iColand v2.46 Jar
    older versions

    Wiki Links
    Wiki Home
    Installation Instructions
    Commands
    Addons
    Permissions
    Changelog

    Plugin Requirements
    • iCoLand v2.46 was tested against Craftbukkit build #740
    • iConomy 5.0
    • Permissions 2.7.2
    Intro
    So I wanted a plugin on my server that allows for self-service protection. But I didn't want to make these areas infinitely creatable, and I hate the idea of admins/mods having to zone out areas for people. So that's where the birth of this idea came from. This mod allows for self-service protection areas, and they are limited by the fact that they must "buy" these areas with iConomy currency. This will greatly reduce the amount of griefing issues I will have to deal with on my server as I will start telling people that this is the only valid form of protection and griefing is a fact of life that is unavoidable if you don't protect your land.

    iCoLand allows you to buy/sell areas of land ( cuboids ) for self-service protection. You select areas of land using the "/icl select" tool, then you can buy the land with "/icl buy land". This makes the land protected so no others can place or destroy blocks in there. There will be addons you can buy that will add extra features to the land you've bought. Such as announcing the zone name when you enter or leave it, having a location heal a player over time, blocking people from entering the zone completely.

    The basic premise of the plugin is that each block in the world is worth some default value (configurable). In the future, there will be the ability to make areas of land worth more. Probably a center point that is highest price modification, with a radius of effect that drops down to 0 at the edge of the circle. Addons also are a per-block pricing scheme.

    Updates and more to come, keep posted.

    Much thanks goes to Nijikokun for the great iConomy, as well as some helper functions I may have stole of his through HaloInverse's DynamicMarket plugin. Thanks to you too Halo! And thanks to TheYeti for maintaining Permissions until Bukkit solves that can of worms. As well as the Bukkti devs for making all of this possible. Also to TomyLobo for his OfflinePlayer class ( to access Permission nodes of offline players ).
  2.  
  3. Offline

    Direct1221

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You explained fully what I wanted! Thank you.

    That is exactly what I was wondering, you charge per block, is NOT sky to bedrock, and the addons are price per block as well. Thank you!
  4. Offline

    Duendek86

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I would like to use this plugin to manage the cities in my server. It would be awesome if the owner of a city would be able to share small parcels to citizens, and would be fine if you could add a week tax from citizen to the city and a week tax from the city to the server.
  5. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yea, example. My friend protected 10 blocks on the ground (no height just width and length) and when i stepped on the area and typed /icl info it didn't show up.
  6. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yeah... they need to better select the area... and they need to take those instances into account if they want protection higher up... it clearly states the volume and dimensions selected after you do the /icl select
    I want to do something like this, but so far I can't figure out the best way to handle it
  7. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I realize that and he does too. It was a test, and as far as i know there is no way to see who protected the ground area. My point is, what if a griefer comes along and "protects" the floor of someones house so they can't get to their mines? I am just asking if there is a way to know who protected the ground. Perhaps you should implement a tool like in world edit or bigbrother where you could right click a block to see if it's protected or not. Also another example.. A player has a protect house yes? Then that player buys NoEnter, now i can't even get into his house and have absolutely no way of know who it is registered to. This is a pretty big flaw i think. Hope it's fixed soon.
  8. Offline

    laerbn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Woot woot! WOOT! :D
  9. Offline

    Thumm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Using IcoLand v1.14, Iconomy v4.6.5, Craftbukkit build 617 but I haven't seen the error at all yet today. If it happens again I'll report back but I suspect it won't.
  10. Offline

    mze9412

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If I buy land with this plugin is it possible to allow specific players to build on my land or can only I myself build there?
  11. Offline

    Rixius

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hello, is there a possibility of adding recurring costs for land, like a once/week lease? I love everything else, but have my plans currently on a recurring cost nature and don't want to refactor my entire economy plans
    >_>
  12. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    that's been in there for a while now.... read the changelogs:
    "added bypass perm for admins - also shows more info in /icl info now for non-owned land"

    though I do like the idea of the right click with item to see who owns the land as well... I'll put it on my to-do
    you can add permissions so other people can build there

    It's on my to-do list ;)
  13. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've released 2.02, but I can't edit the OP =( bukkit is throwing 500 internal errors at me =(

    which is really bad, because I need to post a warning about the change from yml to H2, and anyone coming from pre v2.00 will need to run an importDB command....

    god damn forums pissing me off
  14. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So since I can't edit my original post, I'll make the necessary announcements here, and just hope to high hell you guys read it.

    I've updated the plugin to 2.02. I've moved completely away from the .yml format I was storing land locations with and have moved to the H2 DB ( it's like sqlite ). If you have iConomy and use the default settings, you should have the H2 library already downloaded.

    For all of you coming from before this release. If you want to keep all of your land data, you will need to call this command after you start the server up again:

    From the console: icl importdb
    From in-game: /icl importdb ( you will need a new perm node, "icoland.importdb" )

    Do not play with this importDB command - it will drop the whole H2 database, and import from from the file..
  15. Offline

    mughi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    I copied your warning into the OP. It didn't give me any trouble. Hopefully it won't give you any trouble if you need to change what I did
  16. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    nope still having trouble =( I was talking it over with EvilSeph in irc and it sounded like he mentioned something about post length?

    and yeah - if I copy-paste what I have up there now and try to start a new thread, I get the same 500 internal error...

    should I try to make my OP shorter?

    sounds like EvilSeph is looking into it, I'll worry about it later then, thanks Bukkit staff!
  17. Offline

    Thumm

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Any changes other than the switch to H2?
  18. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    little things, like adding page #s to /icl list, I don't really remember, but the majority was moving to H2, i did a lot of back-end changes from moving to the new format - efficiency and how it's interacting with the DB and doing searches and whatnot. It's just totally different than how I was doing it before, and the way I was doing it before... I'm not sure how much memory I was burning holding all the zone data in ram. I've done some testing so far on my own, but I'd like to see how many zones this plugin can handle realistically. I had a couple thousand zones and it seemed to get the searches done pretty quick. I'll probably have to do some tests to see how many it can really handle
  19. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Somethings wacky with either my settings or the new update. It's telling my users they cant build there when they buy a new area. It worked fine on the old version i didn't change anything in the permissions or the config. Whats going on? Reverting back to old version until this is fixed.
  20. Offline

    Morginzez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey!

    I really like iCoLand, but i can't change the prices!

    Everything costs 0 Coins. Addons and land...

    How can i change this?

    In the config file prices are set.

    Sorry for my bad english :(
  21. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    remove the permission "icoland.nocost"
  22. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hrm.... i'll have to look into this 2morrow
  23. Offline

    Jorrdan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks, i should also mention with the new version of this plugin, everytime i reload server it freezes and users cant type etc.
  24. Offline

    sambhur96

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    F*ck!!!!!!!! i am use'ing mysql:(
  25. Offline

    TurtleOfWar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Only just discovered this addon and the concept is superb.

    I am however having an issue with addons. Although land purchase is possible we can't seem to purchase addons, the money is taken but the addon isn't activated. If you /icl info from an admin the addons entry is empty after purchase.

    One other little problem is the max volume is odd, I have it set to 50,000 blocks max but if you try and buy some land at say 20,000 volume it says too large max volume is 50,000.

    CB #617
    Your latest addon
    Other addons: Essentials, World Edit, Iconomy, NPCx, Citizens, War, Uquest
    MC Client: 1.04_01

    Any help greatly appreciated.
  26. Offline

    Adsa

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I only get "internal server error" everytime I try a /icl command :(

    CB #617
    iCoLand 2.02 (I think, was the 1.18 link but downloaded today and said somewhere in console something about 2.02)
    Other addons: ChestLock, ClearInventory, iConomy, LocalShops, LoginMessage, Permissions, SpawnControl, MinecartMania

    Probably something easy, since it works great for everyone else, but I think I've got everyhing that's needed!
    Help would be really appreciated :)
  27. Offline

    Seox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Confirming that addons can't be bought. Please help when you get a chance, as this is otherwise a kickass plugin!
  28. Offline

    iBstoneyDave

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    getting exceptions and crash's with this plugin:
    Code:
    19:17:38 [SEVERE] Unexpected exception
    java.lang.NullPointerException
            at me.slaps.iCoLand.HealTask.run(HealTask.java:10)
            at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C
    raftScheduler.java:122)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    >
  29. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've updated to v2.04 - fixed the addon buying/selling bugs ( as well as some others )
    I had some nasty bugs left in there where basically the /icl modify commands would not work. As well as changing location name, or buying/selling addons, or modifying perms. These should be fixed now, but can you give me more information on the freezes?

    the addon buying/selling bug is fixed v2.04

    As for volume - I can look into that
    It was likely 2.02 if it said it in console - the bukkit forums changed, and I couldn't edit the original post to reflect the new changes. I've cut out most of the info up there now, and it's all on my github wiki.

    Can you try this again with the newest version? 2.04? Also, are you getting any exceptions in the console log?
    fixed in v2.04

    looks like it had a problem getting access to the H2 DB. Can you try deleting all the lands* files in your iCoLand directory? If you still have your lands.yml you can re-import it ( or if you are new to the plugin, just nuke the whole directory and retry it? ) Can you give me more info such as versions of the required plugins and craftbukkit version?
  30. Offline

    Lord Chaos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would this work in conjunction with Towny? Or would the protected area of both give conflicts?
  31. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    they would likely conflict

    for example, you have a town in towny, with all the grid sections layed out - now someone can come in with this plugin, and claim all of that land as well - and deny all people in the town permission to do anything there.

    unless the plugin has some sort of API to the outside world ( other plugins ) it is unlikely they will work well together if they cover similar features
  32. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I come here to request more features only to notice that they are already added!
    Do you have any intentions of adding a feature for letting users sell a section of their land to other users?

Share This Page