[GEN/MISC] AcorusHousing Enhancing server housing V1.0 [1060]

Discussion in 'Inactive/Unsupported Plugins' started by K3V1N32, Aug 26, 2011.

?

Features you want the most:

  1. Spout Features

    23.5%
  2. Players can sell their houses

    52.9%
  3. Timed Houses

    14.7%
  4. More info Commands

    8.8%
  5. I suggested a new one in the thread :D:D

    0 vote(s)
    0.0%
  1. Offline

    K3V1N32

    Acorus Housing V1.0 - Optimal Apartment Purchasing!
    [​IMG]


    Plugins you will need: (REQUIRED TO RUN)
    If you need support for different permissions/economy plugins PLEASE tell me, I will most likely add support for it!

    Description
    Acorus Housing is a housing/apartment upkeep plugin used for managing worldguard regions in a creative and fun way :D!
    With this mod:
    -Admins will be able to set purchasable areas with ONE(1) locked door.​
    -Players will be able to buy said houses buy typing a simple command and clicking a sign.​
    -Initial Cost of doors can be modified through a config.​
    For More info on how this plugin works see the How To Use section.
    This plugin is VERY BETA and as such, you may get some errors, if you get an error from this plugin, please post the error along with the list of plugins you have running in this thread.
    There are A TON of features planned for this plugin including SPOUT support and more options, such as players being able to sell their house.
    At the moment a player can have as many houses as they can afford, but i'm working on making that configurable in the config.

    Downloads
    Version 1.0 for Bukkit Version: 1060
    Server JAR: (Dropbox)
    Source: (Github)

    How To Use AcorusHousing
    Show Spoiler

    Acorus Housing How To V1.0
    So you want your users to be able to buy houses eh?
    Well, you've come to the right place!
    Here's a step by step guide to setting up a(n) apartment(s)
    Step 1
    [​IMG]
    First, you need to Create an apartment/house!!!
    It should have ONE(1) door, my plugin only detects 1 door, sorry, and there is no size limit for a house/apartment.

    Step 2
    [​IMG]
    Then, you'll need to select the PLAYER EDITABLE REGION- basically, whatever area you want the player to be allowed to edit, is what you select.

    Step 3
    [​IMG]
    Type: /region define (address/name here)
    Then press enter and proceed to the next step

    Step 4
    [​IMG]
    [​IMG]
    [​IMG]
    Type: /house reg (address/name here)
    Then press enter
    Then LEFT click the door

    Step 5
    [​IMG]
    Now place a sign, either next to the house/apartment, OR you could make a real estate office like this:
    [​IMG]
    [​IMG]
    The sign format should be:
    • Line 1: [houseinfo]
    • Line 2: (address/name here)
    Step 6
    [​IMG]
    [​IMG]
    Once you place the sign, You will need to RIGHT click it, if it finds the house name on the second line, it should say CREATED! and it should then say:
    • Line 1: (address/name here)
    • Line 2: [forsale]
    • Line 3: (price here)
    • Line 4: /house buy
    And now, its all set and ready for purchase!!!!!!

    Ok, so now you have an apartment for sale, so, now some noob comes along and wants to buy the apartment!

    Purchasing an apartment:

    Step 1
    [​IMG]
    Type: /house buy

    Step 2
    [​IMG]
    [​IMG]
    You will get a message, and be told to LEFT click a sign for the house that you want
    You will need to have enough money to buy the house when purchasing.

    Step 3
    [​IMG]
    You now own a shiny new apartment/house

    So, now that noob guy has a friend who cant afford an apartment, and wants to stay at his house,
    this is what you do:

    Giving/Taking keys!

    Giving:
    [​IMG]
    The Owner of the house(or a mod/admin)[in this case: the noob] needs to type:
    /house givekey (address/name here) (player that needs a key here)
    And thats about it for giving, the noobs friend can now edit any of those blocks in noobs house and open/close that door.

    Taking:
    [​IMG]
    The Owner of the house(or a mod/admin)[in this case: the noob] needs to type:
    /house takekey (address/name here) (player that has key here)
    And the player will have his key removed!

    So now that noob went off and found another house and you want to out that house for sale again

    Renewing a house

    Step 1
    [​IMG]
    Admin types: /house renew (address/name here)
    Now the house is cleared of owners

    Step 2
    [​IMG]
    Now you need to replace the sign for that apartment with the same one as before:
    • Line 1: [houseinfo]
    • Line 2: (address/name here)
    And then right click the sign
    Then your done renewing the apartment!

    Ok, so heres the last but not least part, we need to completely get rid of a house.

    Removing a(n) house/apartment

    No image for this one :p
    Just type: /house remove (address/name here)
    This will delete the region along with the owners and door protection.

    THANKYOU FOR USING ACORUSHOUSING :D



    Config File
    Show Spoiler


    -Run the server ONCE with the plugin on.
    -Open the /plugins/ directory
    -Goto the AcorusHousing folder
    -open the Aconfig.yml in notepad

    Currently the config only controls the initial price for houses when you first make the house.
    WARNING: only edit the price, editing anything else in the file will cause this plugin to crash when trying to load it. The only fix for this is to delete the file and run the server again.


    Commands and Permissions
    Show Spoiler

    • BOLD = Permissions node
    • OP has all perms by default
    • Most Admin commands require acorus.housing.admin
    • /house [reg|buy|help|info|forsale|remove|update|givekey|takekey] <address|player|price>
    • /house reg (house address) _-=Registers a house with the address given=-_ ||acorus.housing.admin
    • /house buy _-=Lets Users Buy a house=-_ ||acorus.housing.buy
    • /hosue help _-=Shows a help page=-_ ||anyone!
    • /house info (house address) _-=Shows the owners and price of a house=-_ ||acorus.housing.info
    • /house forsale (house address) (price) _-=Sets the specified houses price=-_ ||acorus.housing.admin
    • /house remove (house address) _-=Removes a house=-_ ||acorus.housing.admin
    • /house renew (house address) _-=Renews a house=-_||acorus.housing.admin
    • /house update _-=Update a [forsale] sign=-_ ||acorus.housing.admin
    • /house givekey (house address) (player) _-=Gives a key to the specified player for a house=-_ ||house owner or |acorus.housing.admin|
    • /house takekey (house address) (player) _-=Takes a key from specified player for a house=-_ ||house owner or |acorus.housing.admin|


    Current Features
    Show Spoiler

    • Register a house
    • Sell a house
    • Buy a house
    • Show house info
    • Update house signs
    • Give house Keys
    • Take house Keys
    • Renew a house


    Planned Features
    Show Spoiler

    • More Info type commands
    • Spout support(timer, possible gui for purchases, ect...)
    • Players will be able to sell houses
    • Timed Housing
    • EVICTIONS! :p
    • Your Idea HERE!
    • BOSEconomy support
    • Other economy plugin support


    Change Log
    Show Spoiler

    Version 1.0
    • Release! YAY!
     
    68x likes this.
  2. Offline

    jonassm

    FIRST OMFG! Lol,
    BOSEconomy :p?
     
  3. Offline

    BioRage

    Maybe support with Factions?
     
  4. Offline

    Specops343

    Yes, this would be awesome. Also, change permissions support to another perms plugin, like PEX or superperms. Perms 3.x is dead.
     
  5. Offline

    Grammar Troll

    I think making the second line blank and moving Owner: to the third line will look nicer.
     
  6. Offline

    jonassm

    +1
     
  7. Offline

    K3V1N32

    Ok, so a couple of you asked for factions support, so i looked into what factions was, and all i found was an inactive guild plugin that has no API for me to integrate. so i dont think i can add support for it, without more details.
    As far as the other permissions plugins that were mentioned, i added them to my planned features list and will start working on them asap
    Also, i'll probably change the owner sign as was suggested.
    Thanks for the input, i REALLY appreciate it[diamond][diamond][diamond]
     
  8. Offline

    DrBowe

    It may be dropped, but its still used a good bit. I wouldn't say 'get rid of Permissions support', rather include 2 options.
     
  9. Offline

    K3V1N32

    That's what i planned on doing, i play on servers that still use permissions 3.x, I will most likely have my plugin decide which permissions/economy you use and use those. hopefully no one uses two permission or two economy plugins at the same time :confused:
     
  10. Offline

    The_Fallen

    I typed /house reg 1Redwood(My house) and it gave me this message in the terminal!
    org.bukkit.command.CommandException: Unhandled exception executing command 'house' in plugin AcorusHousing v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89) at net.minecraft.server.NetworkListenThread.a(SourceFile:105) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler at com.K3V1N32.AcorusHousing.CommandExecutor.onCommand(CommandExecutor.java:105) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35) ... 12 more Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 14 more >

     
  11. Offline

    jonassm

    The fallen, write it in a Code.
     
  12. Offline

    K3V1N32

    @The_Fallen First of all, if you post a bug, i need the build number for the bukkit server your using.
    The error your getting is regarding permissions, i'm afraid you need permissions 3.x for the time being.
    You can find permissions 3.x here: [Permissions 3.x], or use essentials group manager here: [GroupManager].
    Oh, and follow jonassm's advice with the
    Code:
     code here 
    thing :p
     
  13. Offline

    astinax

    Could you add BOSEconomy support ?
     
  14. Offline

    Timothy Graham

    NICe can't wait for BOS econ support!
     
  15. Offline

    astinax

    When are you going to update to add BOSEcon suppport ?
     
  16. Offline

    AVirusC

    Add Essentials eco and I'm there. =) (or just implement register)
     
  17. Offline

    jonassm

    Lets say, next update RB Build + BOSE :D
     
  18. Offline

    astinax

    It's throwing ou an error when I try to buy a house:
    Show Spoiler
    2011-11-22 11:15:03 [SEVERE] Could not pass event PLAYER_INTERACT to AcorusHousing
    java.lang.NoClassDefFoundError: com/iConomy/iConomy
    at com.K3V1N32.AcorusHousing.AcorusHousingPlayerListener.onPlayerInteract(AcorusHousingPlayerListener.java:244)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
    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:171)
    at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:92)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:161)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:501)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  19. Offline

    johnshone

    i think you should add it so that npcs can sell houses that would be cool
     
  20. Offline

    ogr93

    i can do all steps but i cant(im op , and i have pex) Buy a house y write /house buy and it tell me to clic in the sign, but not pass nothing. Error could not pass event PLAYER_INTERACT to acorushousing java.lang.noclassDefounfError:com/iconomy/iconomy
     

Share This Page