[INACTIVE][MISC] TentThis v2.2.0 - Portable Tent (and more!) System [670]

Discussion in 'Inactive/Unsupported Plugins' started by ssell, Mar 26, 2011.

  1. Offline

    ssell

    TentThis - Portable Tent (and more!) System
    Version: v2.2.0

    Note: If you downloaded v2.2.0 before April 11, 2011, the TentThis.properties default schema is missing the </tentSchema> tag. A fixed .properties is now included in the downloads.


    Response to a request.

    Lost in the wilderness and it is getting dark? Going on a long expedition? Tired of hiding in holes? Well TentThis is here!

    Simply plop down a Sponge block, type in /ttTent, whack it once and watch the magic unfold. The tent will be created out of thin air (as long as their is enough space!). And when you need to move on just break one of the walls and watch the tent vanish and your Sponge return to you.

    Whats new in v2.2.0?

    See the release post.​

    Got an old style schema and need to convert it? Well see that post as well!​

    Wiki

    I am migrating (almost) all information from this post to the new wiki as the plugin grows.​


    Features
    • Fully customizable tents!
    • Reverse-Schemas!
    • Walls can be any color! (if wool)
    • May specify what block creates the tent!
    • Permission Support
    • Individual Schemas/Limits/Owned Tents
    • Support for the following blocks
      • All!
    Links / Install Instructions



    Tent How-To

    Creating your own custom tent is simple! I suggest to look at the default tent provided with the TentThis.properties. If there are any errors in loading/creating the tent make sure to check your console output for detailed information.​


    Once you have made the tent, try loading it with /ttSchema <TentName>.​

    If you receive the message "Tent schema 'TentName' loaded!" then all went well.​
    Otherwise check the console output.​

    Once your tent is ready for use and is loaded in, set down your Sponge block, type in /ttTent, and hit it!​

    If there is enough space the tent will be built. Otherwise you will receive the message "There is not enough space to build the tent 'TentName'!"​

    I Don't Want To Use a Sponge!

    Then edit the line in the TentThis.properties that by default says:​
    Code:
    CreationBlock=19

    Replace the 19 with the data value of the block you want to use instead.​

    Commands



    Known Issues
    • The tops of doors may at first be misaligned.
    • Save problems.
    To-Do
    • Have the tents-expire to prevent possible clutter.
    Special Thanks to

    • Mixcoatl - Doors/Beds working
    • Edward Hands - Providing the missing piece to the bed puzzle
    • Grimmkrieg - Schema trouble-shooting
    • GSecurity - Helped with Essentials issues
    Change Log

    Changelog (open)

    v2.2.0
    • Tents may be constructed of anything*
    • Reverse-Schemas!
    • /ttReverseSchema command. See this post.
    • New option in the TentThis.properties:
    Code:
    
    #- Should NoCommand be the default mode?
    
    NoCommand=false
    
    • Preemptively fixed issues with 'fragiles' (torches, ladders, paintings, etc.) from popping off walls ;)
    v2.1.0
    • Fixed crashes when running with Essentials Chat and other Chat plugins.
    v2.0.0
    • Works for (and only for) 600+ (tested on 606)
    • Permissions support!
      • TentThis.commands.setOwnSchema
      • TentThis.commands.setAllSchema
      • TentThis.commands.setLimit
      • TentThis.general.destroyAnyTent
    • Re-worked/New Commands
      • /ttSchema <Schema> <OptionalPlayer>
      • /ttWhat is now /ttInfo
      • /ttLimit <Name> <limit>
    • Owned Tents/Active Schema/Tent limit are now unique to each player, and not shared between the server.
    • More.
    v1.2.21
    • Fixed bug where /ttNoCommand worked only for the default Sponge.
    v1.2.20
    • Bed is no longer dropped on tent destruction.
    v1.2.9
    • Colored walls work. Use the color names as specified at http://www.minecraftwiki.net/wiki/Wool#Data_Values_for_Colored_Wool.
      • Names must have no space and be all lower-case.
    • Custom defined 'CreationBlock'. Default is Sponge.
      • Edit the 'CreationBlock=19' line in the TentThis.properties.
    • New command: /ttReload
      • This is in place so one does not have to restart the server to change the CreationBlock.
      • Edit the block in the properties file, then enter the /ttReload command and it should work!
    v1.2.0
    • Doors work (might be some irregularities with the orientation of the top at first)
    • Beds work (B = bed foot, H = bed head now)
    • Torches no longer drop when the tent is removed
    • Trying to remove anything but the walls does nothing
    • New command: /ttNoCommand.
      • Allows you to make tents without having to enter /ttTent first.
      • Must right click the block to make, as opposed to left click when this feature is disabled.
    v1.1.0
    • Initial Bukkit Release



    Help! My Tent Doesn't Work
    1. Check the console for any error output. I have made sure that 95% of all possible errors with the tent schema have detailed output as to the exact problem.
    2. Check the schema for any silly problems (dimensions not matching what you specified, missing floor, missing closing tags, non-capitalized letters).
    3. Repeat step 2.
    4. Repeat step 2.
    5. Repeat step 2.
    6. Post here.
    More Tents:

    Spelunker (open)

    By: Grimmkrieg

    The Spelunker:
    Designed for the inventory-conscious cave-explorer in us all! Carry a single sponge block with you, and never need to scrounge up those 4 wood for a workbench again!
    [​IMG]

    Code:
    <tentSchema="Spelunker">
    <destructionBlock=35>
    <dimensions=2,2>
    <floors=2>
    <color="red">
    <floor>
    BF.BH.
    58.35.
    </floor>
    <floor>
    00.00.
    61.54.
    </floor>
    </tentSchema>
    

    Woodsman (open)

    By: Grimmkrieg

    A one-man tent designed for 'everyday' use, with all the modern amenities.
    [​IMG]
    [​IMG]
    Code:
    <tentSchema="Woodsman">
    <destructionBlock=35>
    <dimensions=5,6>
    <floors=4>
    <color="green">
    <floor>
    35.35.35.35.35.
    35.58.54.61.35.
    35.00.BH.00.35.
    35.00.BF.00.35.
    35.00.00.00.35.
    35.35.DB.35.35.
    </floor>
    <floor>
    35.35.00.35.35.
    35.50.00.50.35.
    35.00.00.00.35.
    35.00.00.00.35.
    35.00.00.00.35.
    35.35.00.35.35.
    </floor>
    <floor>
    00.35.35.35.00.
    00.35.50.35.00.
    00.35.00.35.00.
    00.35.00.35.00.
    00.35.50.35.00.
    00.35.35.35.00.
    </floor>
    <floor>
    00.00.35.00.00.
    00.00.35.00.00.
    00.00.35.00.00.
    00.00.35.00.00.
    00.00.35.00.00.
    00.00.35.00.00.
    </floor>
    </tentSchema>
    

    Expeditionist (open)

    By: Grimmkrieg

    A three-man safari tent, designed to be spacious while still accommodating the storage, smelting and crafting needs of all expedition members. Not designed for underground use. (This one sometimes loses torches off the wall, not sure why.)
    [​IMG]
    [​IMG]
    Code:
    <tentSchema="Expeditionist">
    <destructionBlock=35>
    <dimensions=9,9>
    <floors=6>
    <color="darkgray">
    <floor>
    00.00.00.35.DB.35.00.00.00.
    00.00.35.61.00.61.35.00.00.
    00.35.00.00.00.00.00.35.00.
    35.58.00.00.00.00.00.54.35.
    35.BH.BF.00.00.00.BF.BH.35.
    35.54.00.00.00.00.00.58.35.
    00.35.00.00.BF.00.00.35.00.
    00.00.35.58.BH.54.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.00.35.00.35.00.00.00.
    00.00.35.61.00.61.35.00.00.
    00.35.00.00.00.00.00.35.00.
    35.00.00.00.00.00.00.00.35.
    00.00.00.00.00.00.00.00.00.
    35.00.00.00.00.00.00.00.35.
    00.35.00.00.00.00.00.35.00.
    00.00.35.00.00.00.35.00.00.
    00.00.00.35.00.35.00.00.00.
    </floor>
    <floor>
    00.00.00.35.35.35.00.00.00.
    00.00.35.61.50.61.35.00.00.
    00.35.00.00.00.00.00.35.00.
    35.00.00.00.00.00.00.00.35.
    35.50.00.00.00.00.00.50.35.
    35.00.00.00.00.00.00.00.35.
    00.35.00.00.00.00.00.35.00.
    00.00.35.50.00.50.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.00.00.00.00.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.35.00.00.00.35.00.00.
    00.35.00.00.00.00.00.35.00.
    00.35.00.00.00.00.00.35.00.
    00.35.00.00.00.00.00.35.00.
    00.00.35.61.61.61.35.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.00.00.00.00.00.00.
    </floor>
    <floor>
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.35.00.50.00.35.00.00.
    00.00.35.50.00.50.35.00.00.
    00.00.35.00.50.00.35.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    </floor>
    <floor>
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    </floor>
    </tentSchema>
    

    Aristocrat (open)

    By: Grimmkrieg

    The newest tent in the GRIMMDUSTRIES line, this one is getting a bit extravagant - but who doesn't like a bit of style? With a dedicated crafting area, 2nd floor loft sleeping quarters and two servant's beds, this tent is for the wealthy 'crafter with some space to spare!
    [​IMG]
    [​IMG]
    [​IMG]
    Code:
    <tentSchema="Aristocrat">
    <destructionBlock=35>
    <dimensions=9,12>
    <floors=7>
    <color=blue>
    <floor>
    00.00.35.35.DB.35.35.00.00.
    00.35.58.00.00.00.58.35.00.
    35.54.BH.00.00.00.BH.54.35.
    35.00.BF.00.00.00.BF.00.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.35.00.00.00.00.00.35.35.
    35.61.00.00.00.00.00.61.35.
    35.61.00.00.00.00.00.61.35.
    00.35.61.00.00.00.61.35.00.
    00.00.35.54.58.54.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.35.35.00.35.35.00.00.
    00.00.00.00.00.00.00.00.00.
    35.00.00.00.00.00.00.00.35.
    00.00.00.00.00.00.00.00.00.
    35.00.00.00.00.00.00.00.35.
    00.00.00.00.00.00.00.00.00.
    35.00.00.00.00.00.00.00.35.
    35.35.00.00.00.00.00.35.35.
    35.61.00.00.00.00.00.61.35.
    00.35.61.00.00.00.61.35.00.
    00.00.35.50.61.50.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.35.35.35.35.35.00.00.
    00.35.00.50.00.50.00.35.00.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.50.00.00.00.00.00.50.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.50.00.50.00.00.35.
    35.35.35.35.35.35.35.35.35.
    00.35.35.35.35.35.35.35.00.
    00.00.35.35.35.35.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.00.50.00.50.00.00.00.
    00.00.35.35.35.35.35.00.00.
    35.35.35.00.00.00.35.35.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    00.35.00.00.BF.00.00.35.00.
    00.00.35.58.BH.54.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.00.00.00.00.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.35.35.00.35.35.00.00.
    00.35.00.50.00.50.00.35.00.
    00.35.00.00.00.00.00.35.00.
    00.35.00.00.00.00.00.35.00.
    00.00.00.00.00.00.00.00.00.
    35.00.00.00.00.00.00.00.35.
    35.00.00.00.00.00.00.00.35.
    00.35.00.00.00.00.00.35.00.
    00.00.35.00.00.00.35.00.00.
    00.00.00.35.00.35.00.00.00.
    </floor>
    <floor>
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.35.00.00.00.00.
    00.00.35.35.35.35.35.00.00.
    00.00.35.00.00.00.35.00.00.
    00.00.35.00.00.00.35.00.00.
    00.35.00.00.00.00.00.35.00.
    00.35.00.00.00.00.00.35.00.
    35.00.00.00.00.00.00.00.35.
    00.35.50.00.00.00.50.35.00.
    00.00.35.00.00.00.35.00.00.
    00.00.00.35.35.35.00.00.00.
    </floor>
    <floor>
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.00.00.00.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.35.35.35.35.35.00.00.
    00.00.35.35.35.35.35.00.00.
    00.35.35.35.35.35.35.35.00.
    00.00.35.35.35.35.35.00.00.
    00.00.00.35.35.35.00.00.00.
    00.00.00.00.00.00.00.00.00.
    </floor>
    </tentSchema>
    

    Fortress (open)

    By: killgoblen

    Ever get stuck in the middle of a mob of 100 creepers? No? Well, if you ever are, this is the tent for you! It has 3-block-thick walls with a layer of furnaces in the middle.

    [​IMG]
    [​IMG]

    Code:
    <tentSchema="Fortress">
    <destructionBlock=35>
    <dimensions=9,9>
    <floors=5>
    <color="black">
    <floor>
    35.35.35.35.35.35.35.35.35.
    35.61.61.61.61.61.61.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.35.BH.00.54.35.61.35.
    35.61.35.BF.00.61.35.61.35.
    35.61.35.00.00.58.35.61.35.
    35.61.35.61.DB.61.35.61.35.
    35.61.35.61.DB.61.35.61.35.
    35.35.35.35.DB.35.35.35.35.
    </floor>
    <floor>
    35.35.35.35.35.35.35.35.35.
    35.61.61.61.61.61.61.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.35.00.50.00.35.61.35.
    35.61.35.00.00.00.35.61.35.
    35.61.35.00.00.00.35.61.35.
    35.61.35.61.00.61.35.61.35.
    35.61.35.61.00.61.35.61.35.
    35.35.35.35.00.35.35.35.35.
    </floor>
    <floor>
    35.35.35.35.35.35.35.35.35.
    35.61.61.61.61.61.61.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.35.35.35.35.35.61.35.
    35.61.61.61.61.61.61.61.35.
    35.35.35.35.35.35.35.35.35.
    </floor>
    <floor>
    35.35.35.35.35.35.35.35.35.
    35.61.61.61.61.61.61.61.35.
    35.61.61.61.61.61.61.61.35.
    35.61.61.61.61.61.61.61.35.
    35.61.61.61.61.61.61.61.35.
    35.61.61.61.61.61.61.61.35.
    35.61.61.61.61.61.61.61.35.
    35.61.61.61.61.61.61.61.35.
    35.35.35.35.35.35.35.35.35.
    </floor>
    <floor>
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    35.35.35.35.35.35.35.35.35.
    </floor>
    </tentSchema>
    
     
    Phaedrus, dr_brule and Long like this.
  2. Offline

    Lhjnhnas

    Also, I got an error about PlayerJoin event being renamed to something else (this is from memory, not on my server log atm, so sorry for bad information)
     
  3. Offline

    ssell

    Yea, I don't know why I get that. I am using the correct method signature.

    Progress Status to v1.2.0

    Black : Not Started
    Blue : In Progress
    Green : Done
    1. Able to set NoCommand as the default method in TentThis.properties
    2. Allow tents to be constructed out of anything*
    3. New schema format
    4. Implement 'reverse-schemas' (make tent in Minecraft and save it to file)

    * the following are reserved and can not be used: Glowing Redstone Ore, Leaves, Portal

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

    killgoblen

    *looks at above post*
    :D Can't wait!

    I have a suggestion:
    Would it be possible to make it tie in to LWC to automagically lock chests/ furnaces/ doors when you place it? (and unlock when destroy?) If this is too much trouble, then it's no important, but just a suggestion.

    Also, possibly, save what's in chests? You could (optionally) put some stuff in a chest, break the tent, place it again, and have the same stuff in the chests? Thanks!

    Good luck with the plugin!
     
  5. Offline

    Lhjnhnas

    Problem with this would be it could create item dupe issues, or worse, unless you forced 1 tent at a time.

    I put down 2 tents. Put 4 cobble in 1 and 4 stone in the other.
    How does the game know which to save?

    Item dupe, you'd have someone make a chest, load it up with a few diamonds, then destroy it. Then put the tent back down 3-4 times. Took all the diamonds. Put it into the first tent. destroy them in reverse order. Place tents. Do that again and so on.
     
  6. Offline

    killgoblen

    Yeah, I see what you mean. So just leave it up to server admin (me!) to set it to force one tent per person.
     
  7. Offline

    ssell

    I should have v1.2.0 out today (Saturday), as progress is going well.

    It will introduce a new (lengthy) command: /ttReverseSchema. Explaining this new command will actually explain the whole reverse-schema mechanic pretty well.

    Code:
    /ttReverseSchema [schemaName] [cornerToIgnore] [destructionBlock]
    schemaName
    This is the most self-explanatory part of the command. It is simply the name of the new schema. If a tent already exists with this name, then an error message is returned to the user.

    cornerToIgnore
    When specifying the area of a schema, the player will hit two blocks: a bottom corner and an opposite upper corner.

    This tag lets TentThis know if it should ignore either of these blocks. This is because I noticed with even the default tent, that the top floor has air where the bottom floor has a 'real' block. To specify the dimensions of the schema I was having to use a temporary block to hit.

    By setting the cornerToIgnore tag in the command, it allows TentThis to ignore any temporary blocks. The valid values of cornerToIgnore:

    Code:
    1: The first block you hit
    2: The second block you hit
    3: Both blocks
    Any other value: No blocks are ignored
    destructionBlock
    This tag is very important. It lets TentThis know what block, when removed, destroys the tent. Note: this has to be the data value. IE: 35 = Wool.

    With every previous version of TentThis, this was hard-coded to wool. But now that tents may be made of anything, I did not want to force the user to use wool.

    This is also represented in the schemas with a new tag. While on the topic of the actual schemas, they have been pretty heavily re-done. This is to facilitate both the new destructionBlock, as well as allow any material to be used in construction.

    Example of a new schema (it is actually the old default tent):

    Code:
    <tentSchema="default">
    <destructionBlock=35>
    <dimensions=5,6>
    <floors=4>
    <color="green">
    <floor>
    35.35.35.35.35.
    35.61.BH.58.35.
    35.00.BF.00.35.
    35.00.00.00.35.
    35.54.00.54.35.
    35.35.DB.35.35.
    </floor>
    <floor>
    35.35.35.35.35.
    35.00.00.00.35.
    35.00.00.00.35.
    00.00.00.00.00.
    35.00.00.00.35.
    35.35.00.35.35.
    </floor>
    <floor>
    35.35.35.35.35.
    35.50.00.50.35.
    35.00.00.00.35.
    35.00.00.00.35.
    35.00.00.00.35.
    35.35.35.35.35.
    </floor>
    <floor>
    00.00.00.00.00.
    00.35.35.35.00.
    00.35.35.35.00.
    00.35.35.35.00.
    00.35.35.35.00.
    00.00.35.00.00.
    </floor>
    </tentSchema>
    The letters have been replaced with the actual data values of the blocks. Well except for 4 cases:

    Code:
    BH = Bed Head
    BF = Bed Foot
    DT = Door Top
    DB = Door Bottom
    
    and the following IDs can not be used: 74 (Glowing Redstone Ore), 18 (Leaves), and 90 (Portal)
     
  8. Offline

    anagog

    It doesnt come up with any error but i first did /ttSchema Default built it with /ttTent then i did /ttSchema Woodsman then /ttTent and it did a default halp?
     
  9. Offline

    killgoblen

    Awesome! New version soon! =D
     
  10. Offline

    Nymphalis

    I'd like to share my tent creations. Just ignore the names, I'm not good at finding fitting ones.
    The first tent is supposed to give you a little bit more space than the standart-tent, but provides nothing more except another furnace (oh, and it's shape is more like a circle)
    The second one was made as some kind of base to start building a bigger project far away from your base. To provide enough storage it has 8 double chests, 6 of them in a separate room. 6 furnaces can provide you with enough charcoal/smooth stone/glass so you don't have to wait for a single furnace to finish like in other tents. And finally, when night comes, the architect can enter the first floor to find 2 nice beds (can be expanded to up to 4 beds!) in a big room (more space in this single room than in the whole first tent!) with some windows to watch creepers :)
    Both tents look quite good, imo, but of course some things might be improved (i have some plans for the second tent, too, but that has to wait until the next update hits).

    Code:
    <tentSchema="explorer">
    <dimensions=7,6>
    <floors=6>
    <color="green">
    <floor>
    __WWW__
    _WWWWW_
    WWWWWWW
    WWWWWWW
    _WWWWW_
    __WWW__
    </floor>
    <floor>
    __WDW__
    _W___W_
    WB___CW
    WH___CW
    _WFTFW_
    __WWW__
    </floor>
    <floor>
    __W_W__
    _W___W_
    W_____W
    W_____W
    _WL_LW_
    __W_W__
    </floor>
    <floor>
    __WWW__
    _W___W_
    W_____W
    W_____W
    _W___W_
    __WWW__
    </floor>
    <floor>
    _______
    __WWW__
    _W___W_
    _W___W_
    __WWW__
    _______
    </floor>
    <floor>
    _______
    _______
    __WWW__
    __WWW__
    _______
    _______
    </floor>
    </tentSchema>
    
    
    
    
    <tentSchema="excavation">
    <dimensions=11,9>
    <floors=11>
    <color="white">
    <floor>
    _WWWWWWWWW_
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    _WWWWWWWWW_
    </floor>
    <floor>
    _WWDWWWWWW_
    WCC_CCW_CCW
    W_____D___W
    WT_FFFW_CCW
    WWDWWWW___W
    W___WCC_CCW
    W_WWW_____W
    W___WCC_CCW
    _WWWWWWWWW_
    </floor>
    <floor>
    _WW_WWWWWW_
    W_L_L_WL__W
    W________LW
    W__FFFW___W
    WW_WWWW__LW
    W__LW_____W
    W__WWL___LW
    W__LW__L__W
    _WWWWWWWWW_
    </floor>
    <floor>
    _WWWWWWWWW_
    W_____W___W
    W_____W___W
    W__FFFW___W
    WWWWWWW___W
    W___W_____W
    W___W_____W
    W___W_____W
    _WWWWWWWWW_
    </floor>
    <floor>
    __WWWWWWW__
    _WWWWWWWWW_
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    WWWWWWWWWWW
    WW___WWWWWW
    _WWWWWWWWW_
    __WWWWWWW__
    </floor>
    <floor>
    ___________
    ___WWWWW___
    __W_____W__
    _W_______W_
    _WHB_W_BHW_
    _W_______W_
    __W_____W__
    ___WWWWW___
    ___________
    </floor>
    <floor>
    ___L___L___
    ___W_W_W___
    __W_____W__
    LW___L___WL
    ____LWL____
    LW___L___WL
    __W_____W__
    ___W_W_W___
    ___L___L___
    </floor>
    <floor>
    ___________
    ___WWWWW___
    __W_____W__
    _W_______W_
    _W___W___W_
    _W_______W_
    __W_____W__
    ___WWWWW___
    ___________
    </floor>
    <floor>
    ___________
    ___________
    ___WWWWW___
    __WW___WW__
    __W__W__W__
    __WW___WW__
    ___WWWWW___
    ___________
    ___________
    </floor>
    <floor>
    ___________
    ___________
    ___________
    ____WWW____
    ___WWWWW___
    ____WWW____
    ___________
    ___________
    ___________
    </floor>
    <floor>
    ___________
    ___________
    ___________
    ___________
    _____L_____
    ___________
    ___________
    ___________
    ___________
    </floor>
    </tentSchema>


    I found a bug, too (not sure if this is known....): I'm using the latest version of this mod an b670. I built my second tent, replaced every torch, that fall off the wall, disconnected, restarted the server and finally tried to get my tent-block back by destroying one of the walls... it didn't work (it just dropped the wool). If i try it without relogging and restarting, everything works fine. Is there anything, I can do?
     
  11. Offline

    killgoblen

    @Nymphalis: I really like that excavation tent! Too bad it'll need to be re-done with the impending update.

    But then again, you could place the tent, update TT, then do reverseSchema.

    And also, yeah, tents aren't saved between restarts. I hope this get fixed, because I'm planning on making sponges rare on my server.
     
  12. Offline

    Nymphalis

    I decided to use gold-blocks as tent-block, thus giving gold some value. And to prevend tent-spamming, I limited the count (about 5 right now, but then again.... everything just might work out because I've got a more or less private server with about half a dozen persons, so no real problems there).

    Redoing the excavation tent wouldn't be a big problem; in fact the new system would allow me to expand the small "stair"-room by using real stairs or adding that small part to the crafting-area and using a ladder to access the bed-room. A roof (again accessable by ladders) with some fences would also be a nice option and not much of a problem.... I just like to have this mod as some kind of "I need a temporary, fully functional base right now to start building my real base/village/whatever"-solution.

    Yeah, hopefully this bug gets fixed soon... even more annoying than torches falling off ^^
     
  13. Offline

    Mentioum

    any chance you could implement the choice whether you get the sponge back or not? I would like to implement this as a one shot use for each sponge.
     
  14. Offline

    killgoblen

    Hmm... Idk if this has been pointed out before, but when destroying a tent, the top (or maybe bottom?) of the door(s) isn't destroyed with the tent; it drops as a door item.

    And because I am impatient, I will ask the obligatory: How's progress on 2.2? :p
     
  15. Offline

    ssell

    Lot of stuff came up today, and this is actually the first time I get to work on this today (at 10:15PM).

    I want to get 2.2 out asap (with the features in my progress post), but after that I will start working more under-the-hood on the issues regarding forgetting tents when the server restarts, finally fixing doors, and some other suggestions.
     
  16. Offline

    ahandlen003

    hey ssell i dont mean to be intrusive or annoying but can i get an eta on the 2.2 update. Just curious as are many others on my server. Thanks for your time and keep up the good work!
     
  17. Offline

    ssell

    @ahandlen003

    I am finishing up the actual writing the schema to the file.

    Once that is done I need to put in the custom destructionBlocks (shouldn't be hard), and then just some testing.

    If it goes smoothly, I hope to release within the next few hours.
     
  18. Offline

    ahandlen003

    Thanks! I really appreciate the prompt reply, looking forward to seeing your work :D
     
  19. Offline

    killgoblen

    Awesome!

    I hate being impatient... This is just such a cool mod. It's such a simple idea, yet it's implemented perfectly! =D

    And I can relate to stuff coming up at the most inconvenient times... I hate that XD
     
  20. Offline

    ssell

    From my personal tests, the schema writing is done and working without any errors.

    So now: handle the destructionBlocks, allow default NoCommand mode. Thats it (I think :))

    edit: Also, since it won't take long, I will make a simple program that will convert from the old-schema format to the new one.

    TentThis - Portable Tent (and more!) System
    Version: v2.2.0

    https://github.com/downloads/ssell/TentThis/TentThis v2.2.0.zip

    Note: TentThis is quickly becoming a rather large mod, and so I am moving all general information/directions to the wiki on the github project page. Until this wiki is done, or at least a good portion is ready, I will not update the OP with this release.

    Whats new?
    • Tents may be constructed of anything*
    • Reverse-Schemas!
    • /ttReverseSchema command. See this post.
    • New option in the TentThis.properties:
    Code:
    
    #- Should NoCommand be the default mode?
    
    NoCommand=false
    
    • Preemptively fixed issues with 'fragiles' (torches, ladders, paintings, etc.) from popping off walls ;)
    Known Issues
    • I noticed an issue with saving players to players.txt. This will be addressed in the next major update.
    • Making Metal Doors will not work.
    • Probably more since I only tested against the default tent because I wanted to get this out to you guys!
    Schema Converter Tool


    https://github.com/downloads/ssell/TentThis/SchemaConverter.zip

    Converts the old schema format to the new one. Windows only.

    If people have issues with it, or enough non-Windows users need it, I will make a Java version.

    [​IMG]


    *While you can use anything, the following blocks will be changed when the tent is created: Glowing Redstone Ore, Leaves, and TNT. These are used as placeholders for building doors and beds.

    Its my thread and I can triple-post if I want to, triple-post if I want to, triple-post if I want to, triple-post if I want to, triple-post if I want to...

    Started on the wiki, so updated the OP. Also, converted all the tents in More Tents to the new format with the handy-dandy tool above. It is 5:45AM and I am tired. Hopefully there are no game-breaking bugs as I sleep.

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

    Keri

    Just a question, might this be not compatible with falsebook 0.82 ? I installed them both and it seems I cannot build tents, though the commands seem to be working for me.

    /edit: Seems not to be working at all. I got a sponge and the deafult settings with a few extra tents added, but I cannot build a single tent.

    /edit2: No output in server-console. Looks like the server is doing nothing when i left or rightclick somewhere with the Sponge (id 19). The ingame commands work, though.

    /edit3: Finally got it work, thanks for the plugin, great work :)
     
  22. Offline

    blindsarcasm

    I get this: What is it not compatible with?

    22:44:12 [SEVERE] null loading TentThis v2.1.0 (Is it up to date?)
    java.util.NoSuchElementException
    at java.util.Scanner.throwFor(Unknown Source)
    at java.util.Scanner.next(Unknown Source)
    at ssell.TentThis.TTSchemaLoader.createTent(TTSchemaLoader.java:259)
    at ssell.TentThis.TTManager.createTent(TTManager.java:88)
    at ssell.TentThis.TentThis.setupSchemas(TentThis.java:566)
    at ssell.TentThis.TentThis.onEnable(TentThis.java:61)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:578)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  23. Offline

    untergrundbiber

    With CB670

    16:58:42 [INFO] TentThis: NULL tent passed to 'isThereSpace'!
    16:58:42 [SEVERE] Could not pass event PLAYER_INTERACT to TentThis
    java.lang.NullPointerException
    at ssell.TentThis.TTSchemaLoader.buildTent(TTSchemaLoader.java:467)
    at ssell.TentThis.TTSchemaLoader.renderTent(TTSchemaLoader.java:394)
    at ssell.TentThis.TentThis.buildTent(TentThis.java:453)
    at ssell.TentThis.TTPlayerListener.onPlayerInteract(TTPlayerListener.java:57)
    at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:208)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:447)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  24. Offline

    killgoblen

    Awesome! Time to build a house!

    Ok, so it turns out, ladders pop off of walls. But everything else is great! Thanks!
     
  25. Offline

    Thea_Notix

    Would it be possible to make a tent with different colour wools? So I can have a brown tent with red decals and a black flag for example!
     
  26. Offline

    ssell

    @Thea_Notix

    I'll look into if there is a easy solution for this. The problem is I am only saving the material ID, but to save colors I would also have to save the data values of the block.

    @blindsarcasm
    @untergrundbiber

    Looking into these errors.

    unter, did you make a new schema? If so could you post it? The error might be from an incorrectly schema that could not be parsed.
     
  27. Offline

    Legolas1231

    I' m getting this when I start my Server.
    Code:
    23:54:26 [SCHWERWIEGEND] null loading TentThis v2.1.0 (Is it up to date?)
    java.util.NoSuchElementException
            at java.util.Scanner.throwFor(Unknown Source)
            at java.util.Scanner.next(Unknown Source)
            at ssell.TentThis.TTSchemaLoader.createTent(TTSchemaLoader.java:259)
            at ssell.TentThis.TTManager.createTent(TTManager.java:88)
            at ssell.TentThis.TentThis.setupSchemas(TentThis.java:566)
            at ssell.TentThis.TentThis.onEnable(TentThis.java:61)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoa
    .java:578)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginMan
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:115
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:93
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    And here is the config file:

    Code:
    ################################################
    #                                              #
    #__ Options ___________________________________#
    #______________________________________________#
    
    #- The block that creates the tent.
    #- Default is 19 (Sponge)
    
    CreationBlock=80
    
    #- Default Tent Limit. -1 = infinite.
    
    TentLimit=-1
    
    #- Should NoCommand be the default mode?
    
    NoCommand=true
    
    ################################################
    #                                              #
    #__ Schemas ___________________________________#
    #______________________________________________#
    
    <tentSchema="default">
    <destructionBlock=35>
    <dimensions=5,6>
    <floors=4>
    <color="green">
    <floor>
    35.35.35.35.35.
    35.61.BH.58.35.
    35.00.BF.00.35.
    35.00.00.00.35.
    35.54.00.54.35.
    35.35.DB.35.35.
    </floor>
    <floor>
    35.35.35.35.35.
    35.00.00.00.35.
    35.00.00.00.35.
    00.00.00.00.00.
    35.00.00.00.35.
    35.35.00.35.35.
    </floor>
    <floor>
    35.35.35.35.35.
    35.50.00.50.35.
    35.00.00.00.35.
    35.00.00.00.35.
    35.00.00.00.35.
    35.35.35.35.35.
    </floor>
    <floor>
    00.00.00.00.00.
    00.35.35.35.00.
    00.35.35.35.00.
    00.35.35.35.00.
    00.35.35.35.00.
    00.00.35.00.00.
    </floor>
     
  28. Offline

    blindsarcasm

    No I am using the default schema, so look at how to do it. It might be incorrectly done? Perhaps. But I have not changed it.

    A detail I haven't notices before was that the cmd saiid v2.1.0, but download is 2.2.0

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

    killgoblen

    Ok, so I made a 'tent' that was a grass mound with a hidden base inside. It doesn't work too well because it replaces random blocks with torches and ladders, and places torches on top of the mound.

    It might be because I had a tent in that location earlier that had torches and ladders in it.
     
  30. Offline

    ssell

    Well, crap.

    The TentThis.properties in the most recent version download has a mistake. Missing the </tentSchema> from the end. This is probably the problem everyone is having (at least it is for @Legolas1231 ). Putting up a new download.
     
  31. Offline

    Legolas1231

    Thank you , now it works great! ;)
     

Share This Page