[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

    Chuckster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    well at the begining i moved the spawn using MC edit and it moved the spawn protection zone, however MC edit no longer works on macs idk why so i downloaded a spawn mover plugin moved the spawn but it didnt move the protection zone and one of the admins decided that diamond towers was a good idea for the spawn resulting in an evil thief i caught and banned. Soooooo i really need this mod it works but i cant make myself have the permisions to make a zone
  4. Offline

    Jear

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    hey, Running:
    CB:602
    iConomy: 4.63
    iconomyLand: 1.06

    it throws this error:
    Code:
    27 [SEVERE] null loading iConomyLand vv1.06 (Is it up to date?)
    java.lang.NullPointerException
            at me.slaps.iConomyLand.iConomyLandPluginListener.tryEnablePlugins(iCono
    myLandPluginListener.java:60)
            at me.slaps.iConomyLand.iConomyLand.onEnable(iConomyLand.java:99)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:511)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    suggestions?

    EDIT- I found an earlier error associated with a misspelling in permissions. it initializes properly now
  5. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what version of Permissions?
  6. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    show me your permission file
  7. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I believe I know the solution to this problem and when I have time I will update it to fix it.

    Basically the jist of it, is that different countries/locales use a comma "," to seperate the decimal portion from the regular. When I use DecimalFormat's format() function it formats a string that represents that value in your locale's distinction. In this case a "," for you. This causes problems with Double's valueOf funciton - as it expects a decimal point, not a comma there and throws the error.

    Like I said I have a bugfix, I just havn't implemented it yet. Basically I want to move all of my code that uses double's to BigDecimals that have finite precision.
  8. Offline

    laerbn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you can get a maximum volume of land allowed claimed and a limit to the number of regions claimed I would love you, as otherwise it just allows players to claim infinitely large areas of land, no? And then that creates just as much griefing as not, haha. Either way I'll use this though, thanks a ton.
  9. Offline

    CyborgOne

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yea, I know the numberFormatException ;)
    develop myself with java but no plugins or sth like that. ... not yet ;)

    You think, I can change the Language-Settings of my server or anything like this to fix the problem localy?
  10. Offline

    Chuckster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    whenever i try to do an icl command it says an inernal error has occured and a bunch of junk appears on the server log
  11. Offline

    grizzlymann

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How is this coming along for 1.4? I would really love to try this out :)
  12. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can try to include that when I bump this up to 1.4/CB#612
    Fix for this is in 1.08 - can you give that a try?

    I'm going to be moving to CB#612/1.4 soon, so it looks like you may be a bit further behind than that. But you can change the locale settings on the command line when you call java. Somethign like this:
    Code:
    java -Duser.language=en -Duser.region=US craftbukkit.jar

    probably today or tommorow
  13. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    just checked, and without modification, this plugin works with CB#617
  14. Offline

    EpicCyndaquil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you add a way to select an entire chunk?

    And does your current selection method select the land from sky to bedrock, or just the area between the corners?
  15. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    just the area between the corners

    and right now, no there is no way to select an entire chunk, I will think about it....
  16. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    can't help you much with what you've described, please be as detailed as possible. Please pastebin the server.log from boot to fail
  17. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    added it, in v1.09
  18. Offline

    EpicCyndaquil

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

    Magik

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

    Magik

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

    renamed .jar file to iCoLand.jar ( directory changes as well )

    implemented Healing addon ( configurable healing interval in config.yml - it's in seconds )

    added NoSpawn addon ( won't allow mobs to spawn in the zone ) - still need to add a mob removal timer so it clears the zone of all mobs as well.
  21. Offline

    Codisimus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i believe i already mentioned this but each of the admins on my server have huge cities, i want them to be able to grief proof these large areas without them spending their money or allowed blocks. and perhaps even be able to sell plots of land inside of it. would this be possible at sum point? all or any of these features.
  22. Offline

    Arkian123

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I Really dont understand this Plugin. Its sounds cool, but i cant english very good (iam german) and dont know how i can sell land.
    I type ,,/icl select´´. Then i click on the corners, and there stay ,,Land selected!´´. But how i can sell it?
    When i type ,,/icl buy land´´, there stays ,,An internal error occured while attempting to perform this command"
    How can i do this?! Please, i want to use this Addon, its veeeery awesome for me.
    Thanks for Helping.

    EDIT: Oh, and yes, i have Essentials and Essentials Group Manager. I think it works like permissionns.
  23. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I can make it so certain permission nodes wouldn't have a cost to buy land/addons.

    But I can't guarantee that they will be able to sell plots of land inside of it. I plan on doing this, but I need to figure out how the system will work first. And I make no promises on when I will implement it....

    Sounds like you are having an error. You are using the plugin correctly, but it seems to be running into an error.

    Can you try again with the specified versions of other plugins listed in the original post? ( iConomy/Permissions )

    I do not officially support anything other than Permissions, as I just don't have the time to test all the thousands of different combinations possible. Please try the plugin again with the versions I call for in the original post.
  24. Offline

    Arkian123

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So i must install permissions?

    I think, it works too with Essentials. I only don't know is how i can SELL this land. What must i type? And after i've selected a land, where i can get the land-id?
  25. Offline

    peas

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

    just installed this mod and updated permissions/iconomy

    I can't figure how to give all users ability to buy land, or to figure out a monetary balance, could ya help?
  26. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    plugin updated:
    -added mob spawn removal timer/task to remove mobs in zones with NoSpawn addon
    -added new permission node: "icoland.nocost" - all land/addons are free

    just added the first feature, I still have to think about the sub-zoning. It's something I've wanted to implement, but I just have to figure out the mechanics of it all and there are still some other tasks I want to complete before then.

    even though the commands are all listed up at the top here... i'll still give you a quick tutorial.

    But that isn't the problem, you do have an error occurring for some reason, and I"m guessing it's some sort of not following directions, or not having compatible plugins, or incorrect config...

    -But you do this:
    /icl select
    - then you left click 1 block to set 1 corner, then left click another block to set 2nd corner
    - it should say something like: "Unclaimed Land" and some stats ( dimensions + volume + price )
    - then you type:
    /icl buy land
    - it should say something along the lines of "Bought land for X"
    - then type:
    /icl info
    - it should give some stats/info on the land u just bought, with the ID# at the top
    - you can also type:
    /icl list
    - and that will show you a lits of all the lands you own
    - now you can type:
    /icl sell land 1
    - and that will sell land ID#1, it should say "Sold Land ID#1 for X"

    What permission nodes are you setting? And what does this mean "to figure out a monetary balance" ?
  27. Offline

    peas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I mean how do players see how much money they have? and where do i put the commands you listed in first post?
  28. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    this plugin requires iConomy and Permissions ( 2 other plugins ). You use iconomy's commands to see how much money you have: /money
    and Permissions' config file needs to be set up to use the permission nodes I've outlined above. Each one of those permission nodes needs to be set for each group or individual person for that group/person to be able to use what the permission describes.
  29. Offline

    peas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ahhh, I tried to stick the permissions into your icoland folder :x


    more:

    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    'icoland.list',
    'icoland.select',
    'icoland.edit',
    'icoland.info',
    'icoland.buy',
    'icoland.sell',
  30. Offline

    peas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ^liek that?
  31. Offline

    Magik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    yeah that looks like it should work, did you try it? probably needs some spacing though to be proper yml
  32. Offline

    peas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i took the commands out of the icoland file, then put them in the permissions file...get 'internal error' when i try


    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
    - 'icoland.list',
    - 'icoland.select',
    - 'icoland.edit',
    - 'icoland.info',
    - 'icoland.buy',
    - 'icoland.sell',
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'bb.admin'
                - 'general.items'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - '/region'
                - '/god'
                - '/heal'
                - '/locate'
    users:
        cheezian:
            group: Admins
            permissions:
        pease:
            group: Admins
            permissions:
                - '/worldedit'
                

Share This Page