Inactive [SEC/MECH/ECON] Residence v2.4.2 - Self serve area protection system! Buy/Sell Land! Economy! [1185]

Discussion in 'Inactive/Unsupported Plugins' started by bekvon, Mar 21, 2011.

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

    bekvon

    MOVED TO DEV BUKKIT:
    [​IMG]
    News

    v2.4.2 Released - 9/24/2011​
    See the change log for details.​
    Everyone using PermissionsEx, Essentials, or anything else besides the regular permissions plugin or PermissionsBukkit should add or change this in their config under the Global section:
    LegacyPermissions: true
    As of 2.4.0 the bPermissions plugin is supported directly.​
    As of 2.3.7 the PermissionsBukkit plugin is supported directly.​
    This support is not done through the new built in Permissions that bukkit provides, because there is no way to get a players group using the built in methods. However, by supporting this directly, you can now use the new permissions system while still keeping Residence, and not having to use old permissions at all anymore.​

    Latest Recommended Build
    Version: v2.4.2
    Download: Residence

    Latest Development Build
    Latest Snapshot: Residence.jar
    Latest Config: config.yml

    Links
    Developer API: Wiki
    GitHub Source: GitHub
    DevBukkit Project Page: DevBukkit

    [​IMG]

    Contributors:
    Daniel Few (Wiki)​
    Linaks (Residence Logo)​
    SirHedgehog (Code)
    GSValore (Code)​
    Samkio (Wiki Video)​
    JustinGuy (Code)​

    Addons:
    Residence Signs (by KarnEdge)​

    NOTE: All Residence usage information has been moved to the wiki!

    About:
    Residence is different from most protection plugins in that it aims for the users to be able to protect their own homes without having to bother the admin to do it. Residence has support for a variety of different protection types including preventing movement through areas, all of which can be configured by the land owner, and limited by the admin.​
    Features:
    Features (open)

    • Allows players to define protected areas for themselves.
    • Individual permissions for each protected area. Land owner can give / deny permissions globally or to other specific players.
    • Different permissions per land include: move, build, use, pvp, fire, teleport, monsters spawn, damage prevention
    • Support for group permissions on protections.
    • Multi-World support.
    • Teleport system to allow users to teleport to residences.
    • Collision detection system to prevent residences from overlapping.
    • Limits to protected size can be set up by the admin.
    • Limits to number of protected areas per player can be set.
    • Two ways to select land including using the select command, or using a item to select 2 points.
    • Messages when you enter / leave a residence. (customizable)
    • Land "leasing" system which requires users to renew the lease on their protection every X number of days or loose the protection. (off by default, see config file)
    • Recursive Sub-zoning. Create zones within zones, and then zones within those zones...
    • TONS of configuration for admins. Customize every single flag that players can or cannot use in the config file, based on their permissions group.
    • (Optional) IConomy support, can set up cost per X number of blocks protected.
    • (Optional) Permissions support.
    • In-game help / commands descriptions

    ChangeLog
    v2.4.2
    • Fix bug affecting some people with the new save system
    v2.4.1
    • Support for iConomy 6
    • Prevent enderman from messing with blocks in residences with the -build flag.
    • Paintings are now protected properly (Thanks JustinGuy!)
    • Fix Rent auto-renew bug.
    • Fix other miscellaneous small bugs.
    ChangeLog (open)

    v2.4.0
    • Support for bPermissions
    • Add "/res pset <residence> [player] removeall" command to remove all flags for that player
    • Added console only command "/resworld remove [world]" to remove all residences in a world.
    • "/res remove" now requires confirmation using the "/res confirm" command, before removing a residence.
    • Fixed subzone flag.
    • Fixed a few null pointer exceptions related to the "/res message" command, and a few other issues with it as well.
    • Fixed few cosmetic rent message bugs.
    • Fixed few mispellings...
    v2.3.9
    - Added name filter to Residences to prevent characters that mess up YML from being used. This should fix many of the errored YML files that people have been getting.
    - Fixed arrow damage in no-pvp zones (bug introduced in the Residence 1060 update).
    - Added a "Permissions Group" line of text into /res limits, this will show your Permissions group as reported by Residence.

    v2.3.8
    - Fixes to better handle the piston flag, and world "flow" flags (thx JustinGuy :) )
    - "Use" flag now covers trap doors.
    - Lease renewal can now be pulled from the Residence's bank.
    - Buying a residence now causes the default flags to be set for the user who is buying it.
    - Minor fixes to new PermissionsBukkit support (fix message about permissions not being detected when it actually was)
    - Added a few miscellaneous forgotten commands to the in-game Residence help.

    v2.3.7
    • Added direct support for PermissionsBukkit (doesn't go through the bukkit API)
    • Added LegacyPermissions true/false config option.
    v2.3.6
    • Support for residence.admin and residence.create permission nodes using new permission system.
    • Recommend using SuperPermsBridge or something that ensures backwards compatibility with old permissions.
    • Few permission changes to hopefully make it work better.
    v2.3.5
    • Fix for firespread flag with CB1000.
    • Added "piston" flag.
    v2.3.4
    • Fixes for CB1000
    • Fixes for a few minor bugs, and for concurrent modification issue with the Lease Manager.
    v2.3.3
    • Removed subzone list from /res info, and gave it its own command that supports multiple pages, /res sublist <residence> <page>
    • If the save file errors, it will now be preserved rather then overwritten, it will be renamed res-ERRORED.yml, the plugin will now disable itself upon error as well unless the StopOnSaveFault option in the config is set to false.
    • Fixed non-working per-world flags.
    • Fixed a few message bugs.
    • Add /resadmin removeall <player> admin command to remove all residences owned by a player.
    v2.3.2
    • Changed MaxUpDown in the default config to 128...
    • Fixed issue with /res vert still selecting more then the MaxUpDown allowed.
    v2.3.1
    • Fixed a few initial issues with a couple language localization messages.
    • Removed area list from /res info, use /res area list [residence] or /res area listall [residence] now.
    v2.3
    • New language localization system, upon first run v2.3 will create a Languages folder under your Residence config folder with the default English.yml file.
    • New in-game help system. (part of the new language localization system)
    • All commands now run without admin privileges unless you specify /resadmin before.
    • Added config option to allow rented residences to be modifiable. (PreventRentModify option)
    • Fixes to improve compatibility with Permissions 3.X
    • /res listall now has pages
    • Added the "physics" flag to control block movement. (separated from the flow flag more like)
    • New ResidenceTPEvent, and ResidenceRentEvent API events
    • Fixed residences not being properly removed from lease / rent system, upon deletion.
    • Fixed bug related to default group option in the config.
    • Fixed global "container" flag bug.
    • Fixed some NPE's related to explosions.
    • Added /resload command to load the save file after you make changes to it (UNSAFE, as it does not save residences first, and so you may loose new residences that were just created)
    v2.2
    • Added per residence Blacklist/Ignorelists that will allow you to specify certain block types to be ignored from residence protections, or unable to be placed in residences.
    • Added Server owned land, use /resadmin server <residence> to change the owner to "Server Owned"
    • Added global Ignorelists which allow certain block types to become unprotectable for the whole world / for a specific user group.
    v2.1.3
    • Fixed a couple bugs with the lease system, including being enabled when it shouldn't be and the lease auto-renew option.
    v2.1.2
    • Added "/res area replace" command, allows you to resize / move a physical area. If the new area is bigger, it will only charge you for the difference in size.
    • Added 'waterflow' and 'lavaflow' flags which override the flow flag if set.
    • Fixed a bug causing money to still be charged when failing to add a area to a residence.
    v2.1.1
    • Fix case sensitivity bug in rent system.
    v2.1
    • BOSEconomy support.
    • Essentials Economy support.
    • RealShop Economy support.
    • Added the 'place' and 'destroy' flags, which if used overrule the 'build' flag. These allow you to give only block placement permissions in a certain area, or only block destroy permissions.
    • /res check [residence] [flag] <player> command, this command evaluates if <player> is affected by [flag] at [residence]. You can leave off <player> and it will use your name.
    • Added a LeaseAutoRenew config option, that will cause leases to automatically renew so long as the player has the money to do so. Note that, if economy is disabled this doesn't work, as there would be no point to leases. Needs Testing! :)
    • Global FlagPermission config section, that allows you to give permission to use a flag to all groups, useful for the build / move / use flag that you almost definitely want everyone to have access to. Flags under each individual group will overrule these.
    • You can now set a limits on how deep or how high protections can go into the group, using each groups MinHeight and MaxHeight settings.
    • /res select sky, and /res select bedrock commands, these auto adjust to the above mentioned MinHeight and MaxHeight settings, so it won't select into a area you can't protect.
    • Rent system implemented.
    • Many bug fixes, including proper creeper explosion prevention now. Also, fixed some bugs when renaming residences.
    • New healing flag.
    • The monsters flag has been split up into "animals" and "monsters" now.
    • New Developer API, including custom Bukkit events.
    • New Global CreatorDefault / GroupDefault / ResidenceDefault flag sections to help clean up the Groups section, and remove redundant flags.
    • Probably some other minor things I've forgot :)
    v2.0
    - Residence 2.0 now in alpha testing, core code has been mostly rewritten.​
    - Supports multiple areas per residence using '/res area <add/remove>' commands.​
    - Added new selection commands '/res select expand' and '/res select shift'​
    - Added Predefined permission lists that can be applyed to residences.​
    - Enter / Leave messages now support %player, %owner and %area variables.​
    - Config file has been cleaned up and most things are better named.​
    - Should be fixed to work with newer iConomy versions.​
    - Save system now only uses yml as save format.​
    - Save system wont corrupt the whole file if one residences gets corrupted, you just loose that one residence.​
    - When a residence changes owner, flags are set to default for that owner.​
    - Added '/res default' command to manually reset flags to default.​
    - Released source code for v2.0​

    v1.2.8 - BETA
    - Fixed broken flag setting permissions.​

    v1.2.7 - BETA
    - Fixed chests being able to be opened from outside protected area.​
    - Fixed enter/leave message (hopefully)​
    v1.2.6 - BETA
    - Updated for CB 612 / Minecraft 1.4​
    v1.2.5 - BETA
    - Fixed tiny bug in saving messages.​
    - yml is now the default save format because its more reliable.​

    v1.2.4 - BETA
    - Fixed bug related to fire / ignite event.​
    - Added ability to remove enter / leave messages​

    v1.2.3 - BETA
    - Added a optional different save system, you can now save residences in pure YML format (same format as config files). See the config file for how to enable.​

    v1.2.2 - BETA
    - Fixed TP bug.​

    v1.2.1 - BETA
    - Fixed bug in new saving system.​

    v1.2 - BETA
    - New save system, will attempt to auto-convert from old system.
    - Fixed some permission bugs when not using permissions plugin.​
    - OPs are now residence admins when not using permissions.​
    - Fixed collisions detection issues related to having multiple worlds.​
    - Added global pvp setting.​
    - Added a "flow" flag to control water/lava flow in residences.​
    v1.1.9 - BETA
    - Fixed a severe bug when not using permissions.​

    v1.1.8 - BETA
    - Fixed a subzone bug.​
    v1.1.7 - BETA
    - Added ability to buy and sell land using /res market commands.​
    - Added a land leasing system which can be configured to expire protections if they are not renewed after a period of time. See the /res lease command. (this is off by default, turn it on and customize it in the config)​
    - Implemented a Auto-Save interval. Saves residence areas every X minutes.​
    - Fixed minor onBlockIgnite error.​
    - Added a few admins commands using /resadmin.​

    v1.1.6 - BETA
    - Fixed spaces not working in enter / leave messages.​

    v1.1.5 - BETA
    - Added Enter / Leave messages for Residences, as well as a permission option in the config to allow / deny changing of them.​
    - Fixed residence admins not being able to modify the outside world when using deny build rights outside of residences.​
    - Fixed issue related to default group.​
    - Added a config option to specify the default group.​

    v1.1.4 - BETA
    - Fixed bug in group permissions...​
    v1.1.3 - BETA
    - Changed the configuration vastly again, server admins now have control over every flag for every group.​
    - Group permissions implemented, but in need of TESTING! :)
    - World permission implemented (default world permissions for when you are not in a residence zone)​
    - Fixes subzone collision bug.​

    v1.1.2 - BETA
    - Fixed residence admins still requiring IConomy money.​
    - Fixed a bug with TNT explosions.​

    v1.1.1 - BETA
    - Fixed bug breaking subzone permissions.​

    v1.1 - BETA
    - Recusive sub-zoning, make subzones within zones, and then subzones within those subzones :)
    - Different limits based on permissions group​
    - New setting for choosing the selection tool item id.​
    - Anti-lag configuration option.​
    - Moved some permissions into the config file.​
    - All protections are now OFF by default.​

    v1.0.1 - 3/21/2011
    - Added permissions / config option to disable teleports.​

    v1.0 - 3/20/2011
    - Initial Release​

    Bug Reports:
    Please include at minimum the following information with all bug reports:
    • CraftBukkit Version
    • Residence Version
    • What you were doing when the error occurred.
    If available, also include:
    • Any server console error messages
    • Other plugins that may be causing the issue
     
  2. Offline

    wickywooster

    Thanks for the help, but the problem persists. At this point I don't know why it won't work properly. There is not a thing left that I can think to do. And what sucks is that this plugin is the best zone plugin out there, that i have seen... I am gonna keep trying to get it to work, and when i get this fixed I will message you the cause and what i did to fix it.
     
  3. Offline

    bekvon

    Hmm, you can try downloading that tiny test server I posted earlier, here it is:
    http://dl.dropbox.com/u/13748975/Residence/test/cbtest.zip

    If whats in that works for you but your setup doesn't, try comparing the two and see if you can find differences.
     
  4. Offline

    thiefzer0

    One question I have now is, since you put in the lease option (which is another thing I wanted so much... you rock), I wonder how exactly to enable it? What I am ultimately trying to do is use command signs to have a sign on a building with a lease price. When the user right clicks it, if they have the funds they claim the house and the funds for a week or so are deducted from their iConomy funds.

    I am not asking you to mess with CommandSigns, I'll figure that much on my own. I am more curious on what the command line structure is to set the lease price? I see you can set the duration, and I see user can view the cost information, but how exactly do we set it?

    PS, if you havn't already, if it's possible to impliment a routine like I mentioned that would make a lot of people happy I'm sure! Also if there was away for the building to automatically drop the owner permission once the lease expired that would rock too!

    Lot on your plate now hehe, I'll let you get to work :)

    ~Thief

    -edit: I noticed the leasing option is just for a protection period. That's cool but would it be possible to add in, eventually, the "rental" suggestion I mentioned?

    -edit2: Is there a limit on how many zones (not subzones) you can create on a map? I'm set to Op AND set to admin (.* privs) and yet when I tried to zone a new area today it gave me this error:

    "Zone size exceeded limits! To see limits type /res limits"

    It can't be a block number/size issue because like I mentioned earlier, my castle is over 6 million blocks from bedrock to sky (big.. it's actually a whole town enclosed in a castle wall). Anyways thanks for helping buddy, I know I am being a pest but I want this mod to work right just as much as you do :)
     
  5. Offline

    Antilogika

    Works fine now!
    Many thanks great plugin :)
     
  6. Offline

    Khaw

    Hello and sorry for my bad english !

    When i create a zone with worldguard, and that my members create their Residence parcels in this zone, they can't build. Worldguard>Residence.
    How to change it ? Possible ?
     
  7. Offline

    firefly_goat

    BOSEconomy?
     
  8. Offline

    Khaw

    Huh ? ^^'
    I use Iconomy if you talk to me, but isn't the subject : i talk about the protection of the parcels.
     
  9. Offline

    Spite

    I'm getting this every time I start the server:

    Code:
    17:19:39 [ALLVARLIG] BLOCK_PLACED loading Residence vv1.1.9 BETA (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_PLACED
            at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:107)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:453)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:203)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:190)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:130)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:245)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Any fix for this?
     
  10. Offline

    Dan Ford

    HELP PLEASE!

    My server relies heavily on this amazing plugin. However, I dont run any permissions plugins.

    At the moment, anyone can add themselves to a residence using /RES PSET (AREA) (USER) BUILD TRUE

    Is there no way (within the config.yml) to provide a list of users who have access to /res?

    Anyway to set it so just OPS can use /res ??
     
  11. Offline

    Slugslug

    humm am on bukkit 560 and now the wooden axe wont select points (set in config to 271)
     
  12. Offline

    Linaks

    Please make able to sell subzones.
    That would be very useful. So i could create a residence for a city and the guard of the city can create subzones and also sell them
     
  13. How can I use permissions to put people in different groups ?
     
  14. Offline

    VaKe

    When pvp is disabled in the server.properties, pvp areas dont work.
    Could you add a worldflag for pvp ?:
    I set pvp to on in server.properties and I only want people to be able to damage other in specific areas. Thats why I set damage in the worldflags to false, but now monsters dont do any damage.
     
  15. Offline

    Krooks

    Is there a way to delete your residence as opposed to selling it on the market?
    Is there a command for admins to delete other people's residence's?

    Say there is someone abusing it, buying up a bunch of prime land to sell, or buying areas above other people's houses so they cant expand later etc etc. An admin command for this would be nice.
     
  16. Offline

    VaKe

  17. Offline

    316peti

    Helo
    How can i teleport players to residence? If i don't able to do this pls do it to next update. Thanks very much!
    The plugin is great!
     
  18. Offline

    bekvon

    Basically you would want like a rental option instead, where if the lease expired rather then delete the area, do something like make the server the owner of the area and anyone can then buy it for a period of time. Its a cool idea, Il think about how to implement. As for you zone size problem, It looks like I accidentally deleted a check for residence admin when creating zones when I was cleaning up some code, will be fixed in the next version.

    I may be able to make this possible, I will look and see.

    Possible in the future.
    Looks like your not using the recommended bukkit build (build 556). Its a know fact that this wont work on the latest dev build of bukkit, as alot of stuff has changed.

    Il add a config option for only OPS when I can, this was built under the assumption that most people use permissions, and I havn't put too much testing into it while not using permissions. Il put some more effort into it :)

    Yea, dont use a dev bukkit build with this, better stick to 556 until the next recommended version, as alot is changing with bukkit right now.

    Im pretty sure you can sell subzones right now, I seem to remember testing that and it worked fine.

    Modify your the config.yml file under the Permissions folder in your plugins folder.

    Oh yea, OK. I knew I had forgotten a flag in there :)

    You can make a residence so that anyone can teleport to it using /res tp <residence>. Do this by allowing the tp flag on your protected area (/res set <residence> tp true).
     
  19. Offline

    Zenolijo

    I really love this plugin, but after 5hrs use, i found a major problem...
    Everything was running smooth with my new city i created with over 10 houses within the first 3hrs, then by some mingebag spamming, the server crashed.
    Everything was saved exept for the city i created and its subzones, checked the server log and there was no errors.
    I fixed most of it, but then when i restarted the server for an update, it was removed again.
    Everytime i restart the server everything gets lost, please help!! :S
    Yes, i have bukkit b556
     
  20. Offline

    Linaks

    There are many bugs :(
    If I restart my server, welcome messages aren't loaded in all residences.
    Also i can't protect after a restart. And if I make 2 restarts, all residences are deleted.
    Please make a better save function and fix the bugs after a restart. This are the errors:
    "Unknown Error, failed to create residence".
    This is after that the log:

    Code:
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:608)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:645)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:229)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    at com.bekvon.bukkit.residence.Residence.onCommand(Residence.java:278)
    at com.bekvon.bukkit.residence.ResidenceManager.defineNewArea(ResidenceManager.java:181)
    at com.bekvon.bukkit.residence.CuboidArea.checkCollision(CuboidArea.java:193)
    at com.bekvon.bukkit.residence.CuboidArea.containsLoc(CuboidArea.java:166)
    java.lang.NullPointerException
    > 21:28:56 [SEVERE] null 
    And there is often coming an error which says, that there already exists a residence. Something with collides..
    I use multi-world and the coordinates between the worlds where i protected are almost the same.
    Maybe multiworld bug with colliding residences? Please look at this.

    It will be great if a save function and load function will be fixxed ;)
    Thanks!

    //edit 1:
    After a "/stop" or a webinterface RESTART from a hosting, the "residences.dat" is deleted.
    Very bad :( Please repair this

    //edit 2:
    Also a feature would be to remove or disable the entry and leave message.
    Maybe you can add that? It's sometimes useless to have an entry and leave message
     
  21. Offline

    bekvon

    Ok, enough of this shoddy save system, im going to fully rewrite the whole thing. Too many people having problems with it. Hopefully wont take too long.

    EDIT: oh, and yea i think i know whats causing that error message you posted. should be fixed in next version.

    EDIT2: yea, i think i found the multiworld issue, it only happens on area creation though, but will be fixed.
     
    Linaks likes this.
  22. Offline

    Calvin

    Can you delete subzones? You need to be able to,

    Please put your log in an insert code like I did, its a little button that looks like this {}# at the top of the posting options, thank you!

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

    thiefzer0

    Would it be possible to make a way for the old config files to auto update to the new ones when you release new versions? You've released like 5 versions in 2 days (which is freaking awesome btw, keep it up!) but I keep having to redo my config file from scratch lol. Is there an easier way for me to do this? I would just keep my old config but you keep adding new settings.

    Also, if I set the config to admin only (disable user creating residences), can they still buy homes I sell to them, lease them etc? Thanks.

    One more thing. Is it possible to add in an option to the /res mirror command to let you mirror your parent residence to ALL subzones? For example, in my castle residence I have over 40 "lots" that all will share the same flags. Doing this one by one is a pain especially after having already set the zones, having to go back and read them 1 by 1 from the /res info and then mirroring. Thanks :)
     
  24. Offline

    flerndip

    Any chance this will run on 531? There are a lot of important plugins not working with 556 yet.
     
  25. Offline

    thiefzer0

    I just restarted my test server with Beta 1.2 after updating all of the permissions. Everything "seemed" to work ok, until I did a /reload. Then I get this...

    Code:
    2011-03-26 22:24:44 [INFO] [RealShop] Uses iConomy plugin (/money commands) as economy system
    2011-03-26 22:24:44 [INFO] [RealShop] version [0.56] (tickleman) loaded
    2011-03-26 22:24:44 [INFO] [Residence] Found Permissions Plugin!
    2011-03-26 22:24:44 [INFO] [Residence] Successfully linked with iConomy.!
    2011-03-26 22:24:44 [INFO] Loaded world: World
    2011-03-26 22:24:44 [INFO] [Residence] - Set default leases.
    2011-03-26 22:24:44 [SEVERE] null
    java.io.EOFException
        at java.io.DataInputStream.readInt(Unknown Source)
        at com.bekvon.bukkit.residence.PersistanceHelper.readStringIntegerMap(PersistanceHelper.java:99)
        at com.bekvon.bukkit.residence.TransactionManager.load(TransactionManager.java:212)
        at com.bekvon.bukkit.residence.Residence.loadAll(Residence.java:752)
        at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:118)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
        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)
    2011-03-26 22:24:44 [INFO] [Residence] - Save CORRUPTED: java.io.EOFException
    2011-03-26 22:24:44 [SEVERE] null
    java.io.EOFException
        at java.io.DataInputStream.readBoolean(Unknown Source)
        at com.bekvon.bukkit.residence.Residence.loadAll(Residence.java:753)
        at com.bekvon.bukkit.residence.Residence.onEnable(Residence.java:118)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
        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)
    2011-03-26 22:24:44 [INFO] [Residence] Enabled! Version v1.2 BETA by bekvon
    2011-03-26 22:24:44 [INFO] WorldEdit 4.2 enabled.
    2011-03-26 22:24:44 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-03-26 22:24:44 [INFO] Done (0.249s)! For help, type "help" or "?"
    
    I've been able to reproduce the above error three times now. It happens when I load in the new Residence.jar and config.yml into my existing setup, overwriting the old, and then reloading or re-starting. I can only guess that the new version is corrupting all the saved info. Any ideas?

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

    blaize9

    Can you add a new flag, that blocks people from entering?
     
  27. Offline

    thiefzer0

    I can confirm that the bug is due to having the "useLeaseSystem" config flagged as true. Does this mean we can't currently use the lease system?

    Hmm maybe not.. now I'm getting the same error with it set to false. Maybe I'm just too tired to test this tonight :p
     
  28. Offline

    bekvon

    yea, do it like this, /res remove parentzone.subzone1.subzone2
    basically put periods between a zone and its subzones name.

    Yea i could, but the problem is that you loose all the helpful information inside the config file whenver you rewrite it from within the plugin itself.

    Also, right now adminOnly completely disables the /res command, so no. But maybe il change it. Better yet, what il do is add a "canCreateResidences" thing to each user group, and then you can just disable that and enable the canBuy / canSell options.

    I honestly have no idea.... if you want to make a test server and try it, that would be awesome :)

    Ok, looks like there is some bug in the lease system then, I wouldn't recommend having it on until i figure out what it is.

    There already is one, its +move
     
  29. Offline

    thiefzer0

    I kept getting that long error I showed you under various conditions. Then I stopped/restarted the server and it was fine. I have no idea what's causing it... wish I could help more. There's a good chance its something wrong on my side though so don't worry about it too much. I logged in and ran around testing things and it seemed to work fine.

    Also, the thing I mentioned about having the /res mirror command trickle down to all subzones... if seems to already be doing that. I ran around checking with /res info and all my newly created subzones had the proper flags. Which makes me happy :)

    -edit: Can you disable leasing for admin owned buildings? IE my castle structure which encases all of the player owned (or soon to be) subzones. I want to make sure I don't have to pay a lease cost on the actual parent zone. Because it's telling me that it will run me 150,000 money and while I can just keep spawning money, it's kind of silly :p
     
  30. Offline

    bekvon

    I found the bug causing that error, will be fixed next version, which il release tonight.

    uhh, is res /mirror really doing that? I don't remember making it do that lol. Ok :D

    And lol yea, use /resadmin lease set <residence> infinite
     
  31. Offline

    thiefzer0

    Awesome! Thanks man.

    One more thing. Is it currently possible to rename residences/subzones? I have a subzone named "AdminCastle.Manor_Small" and it's too long to fit onto a sign for use with CommandSigns. I was going to rename it to say... AdminCastle to AC and Manor_Small to Manor1. Thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
Thread Status:
Not open for further replies.

Share This Page