[ECON] Inn V0.3 - Make Inns in your server [1000]

Discussion in 'Inactive/Unsupported Plugins' started by greatman, Aug 2, 2011.

  1. Offline


    Inn - Make Inns in your server!:
    Version: v0.3

    The Inn plugin allow you to create Hotels/Inn with a door. After you set the price on a door, each time someone will open that door, it will cost money.

    • Permission 2.X/3.X
    • iConomy 4/5 or BOSEconomy 6/7 or MultiCurrency 0.09
    Download here!

    Source Code

    You can always download the latest devloppement version here but beware, they might be really buggy!

    Commands (open)

    /inn select - Activate select mode. Allow you to select a door for /inn create
    /inn create <Price> - Create a door with the selection done with /inn select
    /inn delete (Player) - Delete a door that you will select or every door of a certain Player (Optional)

    How to create a Inn door? (open)

    - Place the door
    - /inn select
    - Slap the door
    - /inn create <Price>

    How to remove a Inn door? (open)

    There's 2 way to delete a Inn door:
    - Destroy it!
    - Using the /inn delete command (Admin only at this moment)

    Configuration file (open)

        cost: 100.0 #The cost of the door
        timeout: 10 #The time semeone don't have to pay for the door after they opened it 1 time. In minutes

    Permission flags (open)

    inn.create - Allow semeone to create a inn door
    inn.bypass - Admin flag to not pay anything while opening the door and you can destroy a Inn door
    inn.delete - Give access to the /inn delete command

    How to post a bug report? (open)

    To post a bug report, use this form:

    [b]Full error displayed:[/b]
    [b]Plugins on your server:[/b]

    Credits (open)

    Cereal - Use of his selection system. Modified to fix my needs

    • Make /inn delete available for members (0.4)
    • Automatically close the door after a certain time (0.4)
    • /inn setowner (pname) (0.4+)
    • Door/Hotel upkeep (0.4+)
    • Cuboid to create a Hotel (0.5)
    • When the plugin load, it says No permissions
    • Your ideas!

    Version 0.3
    • Added SuperPerms support
    • Better implementation of the Register API
    • Code optimization
    • New command: /inn delete (Player) - Delete a door that you will select or every door of a certain Player (Optional)
    • Door now stay in his current status while selecting
    Version 0.2
    • Public release
    • Added a "Timeout" support. With a server-side configuration flag, you can open the door many time you want within your set time.
  2. Offline


    Normally you can't destroy a inn door if it's not yours

    Will try to fix that. Should be up soon.

    EDIT: Back up ;)

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


  4. Offline


    Great one, especially for making gates in Airports. Why? So a guy passes a door and pays for a "ticket".

    Request: Temporary owning. Ex.: Punch on door -> -10$ money -> Punch 100 times more in a single day -> no charge!
  5. Offline


    Could you add limits on how many doors you can create per permissions group. (Like how LWC has a permissions group override within their config.yml)
  6. Offline


    Make it so that it pays the innkeeper. If it does, tell me how :p
  7. Offline


    Awesome plugin! I think this could come in quite handy for temporary newb homes.

    A few questions...

    1. There is no mention if a rented door goes off the market when rented, so can multiple players rent the door simultaneously?

    2. Could you possibly make it so that the rent time is configurable in the same way as the rent price? ex: I want to inns to be rented per day, and houses per week.

    3. Is there, or could there be a way to limit the amount of doors a player can rent at once?
  8. Offline


    This thread has potential. [torch]
  9. Offline


    The plugin loads but whenever attempting to create an Inn it gives this error.

    2011-09-07 19:06:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'inn' in plugin Inn v0.3
        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 org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        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.NullPointerException
        at me.greatman.plugins.inn.commands.InnCmd.onCommand(InnCmd.java:99)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 13 more
  10. Offline


    I really like that idea!

    Also, has anyone tried this with a 1.8 build of CB?
  11. Offline


    Needs BukkitPerms support.
  12. Offline


    Whats up, works on 1.8?
  13. Offline


    Would love to see an update of this. Only Inn and Turnstile make you able to charge money for entry to certain areas and neither are working at the moment.
    Tanite likes this.
  14. Offline


    Can you make it so Permissions isn't required?
  15. I like this plugin but I think it needs to be able to be compatible with rooms and when someone gets a room it locks it to the persons name. The pay should be changed to when the room is allocated then it you get money taken of and passed onto the owner and then money get taken of the time u set it. As well maybe have a sign that you type how many rooms you have and then it tells the player on the same sign if it's full.maybe when creating /inn create (name of inn)
  16. Offline


    For some reason the download links are not working... Possibly you could make them work so I can download you plugin?

Share This Page