Inactive [GEN/SEC/ECON/RP] Houses v1.2 - Sell terrain(s) for your users ! [1.4+]

Discussion in 'Inactive/Unsupported Plugins' started by yannkaiser16, Aug 19, 2011.

  1. Offline

    yannkaiser16

    Houses
    Plugin version : 1.2
    Compatible CraftBukkit [1.4+]
    Download : 1.2
    Description: This plugin allow you to sell a terrain, by getting the size of its. The plugin calculates the price automatically, and withdraw the price to the buyer's holdings. Very simple to use, not many commands. iConomy supports and Permissions.​
    Tutorial:
    1. Download the plugin, don't forget to also download Vault.
    2. Open the Houses' plugin configuration in the folder "Houses" in "plugins". Change the 'price-per-block' with whatever you want.
    3. Reload your server.
    4. Type '/houses create <housename>' to start creating a house.
    5. In game select the 2 points by left or right-clicking.
    6. Respond 'yes' or 'no' to the message if you have enough money.
    7. Then, the house is bought, you must protect it. To protect it, select your house with '/houses select *housename*'. You must know the name of the protection you want, so type '/houses setprotection help'. That will list you the protections names. Then, to protect your house : '/houses setprotection <protectionname> <true/false>'.
    8. If you want to list your houses : '/houses list'
    9. If you want to delete a house : '/houses select <housename>' and then '/houses delete'
    And you now know how to select and sell a house without ANY problem ! (hope you dont have any problem, if one -> pm me)

    Sign selling tutorial :
    To sell your house with a sign, you must create a sign and write specific text on it:
    Line 1 : [Houses]
    Line 2 : <house_name>
    Line 3 : <house_price>
    Line 4 : Nothing !

    Commands :
    /houses create <housename> - Start creating a house.​
    /houses help - Shows help.​
    /houses setprotection help- Shows a list of protections.​
    /houses setprotection <protectionname> <true/false> - Enable/disable a protection.​
    /houses select <housename> - Selects the house you want.​
    /houses reset <lang/config> - Resets the language file.​
    /houses list - Lists the houses you have.​
    /houses sell <price> <buyername> - Sells the current selected house to the player you want.​
    /houses delete - Deletes the current selected house.​
    /houses togglebuying - Enables the player to buy a house.​
    Permissions :
    houses.admin.reset - For resetting the files?​
    houses.user.create - For creating a house.​
    houses.user.select - For selecting a house.​
    houses.user.sell - For selling a house.​
    houses.user.list - For listing the houses.​
    houses.user.delete - For deleting a house.​
    houses.user.buying - For buying a house.​
    Todo:
    • None​
    Known issues:
    • None
    Changelog:
    Show Spoiler

    v1.2:
    • Added sign selling
    • Fixed some bugs
    • Added command '/houses togglebuying'
    v1.1.1:
    • Properly added permissions (some of them were missing).
    v1.1.0:
    • Added the ability to sell a house.
    • You can now list you houses.
    • Added permissions.
    • Modified the '/houses reset' command.
    v1.0.0:
    • Reloaded the code, for the 1.3.2, and made it better, and faster.


    If you have any error or bug, please report them on this topic.
    If you have any idea for the plugin, give them here.
    ;)
    (If you like my work, you can donate :) ) [​IMG]
     
  2. Offline

    yannkaiser16

    I am changing some commands, so don't worry if there are errors like that.

    Try '/houses sell <player> <housename> <price>' .
     
  3. Offline

    thect

    error
    "an internal error occurred while attempting to perform this command"
    im up so i should be able to to that anyway :)?

    hey wait something happend i can now sell the house to my self but i cant set protection? now it say "an internal error occurred while attempting to perform this command" again?

    ehm i think i did somthing wrong i tryed type "/houses setprotection block-destroy true" and then it worked so i think its okay now

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

    yannkaiser16

    yes, but I'm also modifying this command :p
    soon it will be '/houses setprotection <housename> <protection> <true/false>
     
  5. Offline

    thect

    oh okay :)
    can u do me a favor and PM me when u done modifying the plugin :)?
    i really need it for my server its a mess without it Thanks :)
     
  6. Offline

    yannkaiser16

    Okay no problem ;)

    The last beta (before official 2.0), 2.0b5 is out:
    - Corrections of a lot of commands
    - Finished multi-house support (you can now have much more than 1 house ;)
    - Added creeper-explosion protection (it was existing, but can't be set with '/houses setprotection'

    (Thanks to Mr_H4mm3r who was my tester :)P), he found a lot of bugs)

    Tell me if there are some bugs, if no more, 2.0 is out :D

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

    thect

    i get this error when i go in house or just stay in the house and i had tryed delete houses and the error is gone??
     

    Attached Files:

  8. Offline

    Fightcraft

    I need the permissions :D please!
     
  9. Offline

    yannkaiser16

    It's coming :p
    I'm fixing the last bugs I saw, and let's go for 2.0 :D
     
  10. Offline

    thect

    does 2.0 come today :)?
     
  11. Offline

    yannkaiser16

    This afternoon :)
     
  12. Offline

    thect

  13. Offline

    yannkaiser16

    2.0 is out !

    Please tell me if there are bugs :)
     
  14. Offline

    Fightcraft

    It is a nice plugin, but after the last update, it doesn't work!
     
  15. Offline

    thect

    Hey thanks for the plugin its works great now i dont have any troble anymore EXEPT when i have set the house to krallils house and had close server down and start it op again for total reload of files i cant place new blocks in the house anymore it say "u are not allowed to place blocks in this house"?
    but all the other things is good and works great :)!
     
  16. Offline

    yannkaiser16

    In the config file, you can see : default protections. All the protections are set to true, so when you create a house, all the protections are based on true.
    If you aren't Op or if you haven't the permission, you won't be able to bypass protections ;)

    I've seen there's another problem with permissions, I will try to fix it, and then it will be cool ;)
     
  17. Offline

    mrmarchant

    Awesome idea!. Just perfect for what i need on my server.Thank you for taking the time to create this plugin,it's much apreceated. I have factions but i created houses for people to buy from the Safezone (Spawn). I am once again slightly confused by the permissions aspect of things. Its running, i can pull up the /houses help menu but whenever i try to /f create it says: ''you do not have permission for this'' I dont want to bore you to death with a wall of text but could you possible give me a hint on the next step? Im still a bukket noob and need a little guidence.

    Thanks

    mrmarchant.
     
  18. Offline

    thect

    If this was for me then I'm up and its my house, so I should be able to destroy the blocks and put some new though all the protections are on right :)?
     
  19. Offline

    ogr93

    I cant finish the sign :error on the sign label
     
  20. Offline

    Fightcraft

    Yes i can't do it too!
     
  21. Offline

    Hasteman

    It says I make a house all fine and dandy but when using /houses list-protections <housename> it says the house doesn't exist... it's REALLY starting to irritate me because as soon as i have this working i'm putting my server up for my brothers friends. Also, because the house "doesn't exist" you can't edit any protections and non of the protections apply! For some reason I can sell the "non-existant" house though >.<

    So basically until this is fixed, this plugin doesn't actually do anything, I guess! O_0

    Once it is fixed then this mod is amazing! :D
     
  22. Offline

    hawaya

    Does the plugin work with GroupManager ?
     
  23. Offline

    killerciao

    dont work for me... when i do /houses create nameofhouse it says that i dont have permissions... and i'm OP and i got all permissions in PEX. what i can do?

    UPDATE: i use factions too.. but it say that i have an internal error... :| i got only 3 commands working

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

    Hasteman

    I've looked in the .jar... he has it set up so that only 3 commands show. I feel like we're being trolled now but I'm still awaiting the fix. Also, /houses list gives me an internal error. i think someone mentioned it before so i won't post but if you need me to i can.
     
  25. Offline

    yannkaiser16

    I just have read all your errors ... I looked my code, compiled, tested, and saw errors with permissions....
    The help list is not completed in the plugin, because when I made 2.0.0 I was still testing, it will be fixed, like sign bugs (already fixed some bugs).
    If you want all the commands, just look at the plugin thread, they are all there ;)

    2.0.1 is out, fixed some bugs :)

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

    blacknedvertigo

    My money on my server is paper... can you add someting like on price <Paper:3>
     
  27. Offline

    killerciao

    but still work only 30% of all commands :( if i try to create protection first says internal error next not enough permissions. if i try to sell it says internal error... etc... :\
     
  28. Offline

    yannkaiser16

    Have you all the permissions needed ?

    By me it works !
    The permissions are
    houses.protections.block-place
    houses.protections.block-ignite
    houses.protections.block-destroy

    and so on :)

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

    killerciao

    i have the * PEX permissions and i'm op... I got iConomy,Factions, worldedit,Worldguard, and other little plugins. any conflict?
     
  30. Offline

    yannkaiser16

    Hmh, I haven't seen any conflict for the moment...
    How do you get these errors ?
    Did you type the good command ?
     
  31. Offline

    killerciao

    This is the error:
    2012-01-07 21:00:59 [SEVERE] Could not pass event PLAYER_INTERACT to Houses
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:493)
    at java.lang.Integer.parseInt(Integer.java:514)
    at me.yake.incredicraft.houses.listeners.HousesPlayerListener.onPlayerInteract(HousesPlayerListener.java:51)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:178)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:266)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
    at net.minecraft.server.Packet15Place.a(SourceFile:39)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     

Share This Page