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

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

  1. Offline

    Magik

    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. Offline

    FuriousPy

    No.... Point 1 to Point 2 like cuboid
    [​IMG]


    Maybe you can sell Coins in Iconomy mysql Database, but i dont have experience in H2, if you can open the h2 DB then maybe you can "unlink" the owner of and determinated land
     
  3. Offline

    Magik

    ok, updated the plugin again, I just had to re-do my whole compile automation and moved completely to maven now....

    try it again FP?

    Right now it doesn't support selling or sub-zoning, but I have plans to implement it, I just don't know how or when yet.
     
  4. Offline

    Codisimus

    latest update(like a minute ago) says "succesfully linked" after every plugin loads, if you dont understand i can show you a picture
     
  5. Offline

    FuriousPy

    It says 2.07 now... same error :(

    and more and more
     
  6. Offline

    Magik

    ok one more try?
     
  7. Offline

    FuriousPy

    [iCoLand] Version [v2.08] (initial) enabled

    WORKING :)
    I cant know if icl importdb is working but it accepted the command :D
    Update: [WARNING] [iCoLand] Found 4 lands to protect ( loaded from file )


    TKS A LOT Magik love you :)

    Dont forget to change the version in first post !! :)
     
  8. Offline

    Ash88

    Someone correct me if I'm wrong: GroupManager mimics Permissions. As a developer you don't need to do anything to support Group Manager instead of Permissions. However, in order to do so it needs GroupBridge (AKA "Fake Permissions") - which I forgot to leave enabled when I disabled all my plugins while attempting to isolate the initial error. So let me try enabling it..... Yes - GroupBridge / Fake Permissions - reenabling it fixes the startup error. So we are just back to the initial error.

    To proactively narrow this down I have loaded and configured Permissions, and completely removed Fake Permissions. Even under this environment the initial error still persists. Thank god! Because moving everything from Fake Permissions to Permissions would have been a pain. But given the awesomeness of your plugin it would probably be worth it.

    If I can do any further testing or check anything else out I'm happy to do so!

    Edit: I just saw a new version available, so I have installed that from scratch (no configuration) with only iConomy and Permissions (2.5.5 as is the requirement). Unfortunately I am still getting the exact same error. I'm going to go install Bukkit, iConomy, and permissions from scratch - if that changes anything I will report back :)

    Edit2: I reinstalled everything from scratch - set up a brand new server with Bukkit, Permissions, iConomy, and iCoLand. Still having the same error on /icl buy land. I have saved the log for the entire (brief) life of the server and I can make that available if it will help.

    Cheers.
     
  9. Offline

    uspata

    I cannot get announce to work properly after I selected and bought a large area.
    Anyone else experiencing problems with announce?

    Code:
    lands:
    -   id: 1
        owner: <MyIngameName>
        perms: ''
        addons: 'announce '
        dateCreated: '2011-04-03 17:33:28.692'
        dateTaxed: '2011-04-03 17:33:28.692'
        name: <MyKingdomName>
        world: <WorldName>
        corner1x: -127
        corner1y: 1
        corner1z: 119
        corner2x: -746
        corner2y: 128
        corner2z: -204
     
  10. Offline

    Magik

    Did u try the latest? Up in the OP now
     
  11. Offline

    Adsa

    disabled all my other plugins but the same error :/ this time it seems like permissions doesn't work either! :/ I attached the log. The PLAYER_MOVE thing happends everytime I move around, and all I've done in the log is started up the server and tried /icl select and then shut it down. Hope this might give you some info!

    (saved it as txt to be able to attach it, I think it was to long to be pasted into the post)
     

    Attached Files:

  12. Offline

    Direct1221

    Code:
    Caused by: while parsing a block collection
     in "<reader>", line 69, column 13:
                    - 'iConomy.payment'    'iConomy. ...
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 69, column 36:
                    - 'iConomy.payment'    'iConomy.rank'    'iConomy.top'  ...
                                           ^
    There is a format problem with your Permissions.

    The rest is errors for iCoLand
     
  13. Offline

    Magik

    plugin updated, i'll try to avoid starting things off if I don't detect iconomy and permissions properly
    you have an issue with your Permissions config file:
    2011-04-06 07:33:34 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException

    Caused by: while parsing a block collection
    in "<reader>", line 69, column 13:
    - 'iConomy.payment' 'iConomy. ...

    possibly you have tabs in there? or some incorrect formatting or something?
     
  14. Offline

    sambhur96

    Thanks
     
  15. Offline

    Shanev

    I somehow have some problems with your plugin, allthough it is very nice and I really want to use it :)
    I'm using the newest MC 1.4_1 and CB617 with your newest Plugin version 2.09.

    1. I dont want people to place blocks before they have bought the land, but even if they buy it (/icl select > /icl buy land) they're not able to place any blocks on it. I set it to "true" in the config file and haven't used the "icoland.canbuild" permission

    2. How can I edit the name and perms of a zone I bought? I've tried to use the command /icl edit name [name] or /icl edit name [name] [zoneID] and /icl edit name [zoneID] [name] but it won't work

    3. A question regarding the area: FuriousPy said the area you buy is a cuboid area, but how high/deep is it then? In the landID it says 1? So what if I claim a zone around a skyscraper with, lets say 5 floors, do I have to claim a zone for every floor inside the building?

    Thank you for the nice plugin, I'd reeealy like to use it on my server, since it's very simple but effective, if I'd get it to work properly ;)

    edit: concerning 1+2: Ok, I've found out how to give perms to a player (/icl edit [ID] perms [Playername]:t) But nevertheless, if I give me the perms (t) for the zone, I can only destroy blocks, I cannot build blocks, nor can I destroy other items (torches). But I am in the perms of the Zone when I enter (/icl info)
     
  16. Offline

    kirill

    Can I do so that the player could not build anywhere except their zone. Sorry for my bad english.
     
  17. Offline

    Shanev

    Yeah, this is the problem I have. You can enable this option in the config file, but then noone can build anywhere, even when they've bought a zone.
     
  18. Offline

    Linaks

    How to select vertical, like highprotect?
     
  19. Offline

    Ash88

    Yes! You fixed it! 2.09 fixes the error. Fantastic! The only bad news is now I'm going to be late for work as I play with this plugin a little too long ;)
     
  20. Offline

    Adsa

    sorry for being so stupid about that permissions file, didn't get how to add permissions but it's fixed now, and iCoLand is working great! awesome plugin!
     
  21. Offline

    NoPride

    Shanev

    to rename an area

    /icl edit [zoneID] name [name]

    it seems back to fount to me
     
  22. Offline

    Shanev

    Yep, I've found out how to perm and rename the area, then only problem I've got is not being able to build or destroy items, such as torches, placed on the ground in the area. But destroying the blocks works just fine.

    And my question: how high/deep is the area? What if I claim a zone around a skyscraper with, lets say 5 floors, do I have to claim a zone for every floor inside the building? Would be nice if someone could answer this :)
     
  23. Offline

    Oisian

    hey people within a zone cant destoy dirt but they can destory eveything els how do i fix this
     
  24. Offline

    NoPride

    when you create an area it has to be 3 dimensional cube not square (flat) to protect all blocks if that makes scene
     
  25. Offline

    Oisian

    i think get what you meen so i would have to dig down a bit under the area i wana protext and click and then build up in the other corer above and click ?

    still dosent seem to wana work :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  26. Offline

    Shanev

    maybe you could implement in the config file the option to ativate a simple 2-dimensional area selection, which then selects all the vertical blocks automatically, so you'd only need to select and buy a flat area to be able to build skyscrapers and deep mines :)
     
  27. Offline

    IceReaper

    1. there is actualy a config param:
    Prevent-Build-Without-Perm: true|false
    - is it possible to add onotherone which prevents creepers and tnt at claimed-land-border to destroy unclaimed area?
    Prevent-Explosion-Without-Perm: true|false

    2. You are actualy able to select a cube which you can claim then.
    - but when using Prevent-Build-Without-Perm: true it doesnt make sense because you can never build anything cause you cant select air and somehow deep. is the following possible?
    Claim-Full-Height: true|false
     
  28. Offline

    Oisian

    can any one help me :/ or come on my server and help me do it ?
     
  29. Offline

    Shanev

    Yeah, that was my idea, too. So you could use the Prevent-Build-Without-Perm: true option together with the Claim-Full-Height: true option, to claim land horizontally which then gives you build and destroy ability for all vertical blocks within the horizontal radius. So you would be able to mine, to build in the air in your territory but not outside of it!
     
  30. Offline

    Ash88

    A couple of (no doubt) newb questions/observations (some of which have already been covered):
    1) Is there a way to add on to your land without selling and buying it back?
    2) Is there a way to increase the height/depth of your selected land? Currently with Prevent-Build-Without-Perm:true I don't see a way to change the select size up/down unless some blocks already exist at the corners of the area you want to buy.
    3) The Min-Land-Volume doesn't seem to work. Users can select and buy a 2x1x2 (4 total blocks) area even though the Min-Land-Buy volume is set to 10 (default).
    4) I haven't got the announcement yet when walking in/out/through an area I own, or an area owned by someone else.
    5) If you include mysql as an option down the road that would be awesome!

    BTW, this is awesome - I have been playing with it obsessively.

    Hope this helps!

    Edit: Oh one other thing I forgot to mention - you may save yourself a lot of confused posts if the owner gets a perm:t flag by default when land is created, which he can remove if for some reason he doesn't want it.
     
  31. Offline

    Helghast

    It still doesn't work for me :( Whatever I type, I get the help message, nothing else.
     

Share This Page