[FUN/RPG] TempleCraft v0.43- Create, Save and Share Temples and Adventures [1337]

Discussion in 'Inactive/Unsupported Plugins' started by _Zenith_, Aug 6, 2011.

  1. Offline

    _Zenith_

    [​IMG]
    Create, Save and Share Temples and Adventures

    Download TempleCraft on DevBukkit!

    Show Spoiler



    Bonjour, une vidéo tutoriel en francais est disponible pour ce plugins (by WeesoftMarkpm)



    Willkommen zum deutschen Tutorial über die Materialien und dessen Verwendung (by Fidikado):



    Description:

    TempleCraft is a plugin that allows you to create worlds dedicated to mini-games.
    The main game at the moment is Adventure (Basically get from point A to point B).
    I've recently added Spleef and Zombies, but they're still under construction.
    The video does not include all the latest features. I'll be uploading another video when I get the chance to cover v0.40.

    Come see the plugin at work at:
    mc.mikejsingleton.com:2500

    General Features:
    • Kill monsters to get iConomy gold!
    • Great for Jump Maps, Puzzles, Adventures and Arenas!
    • Use signs to join temples!
    Building Features:

    • Use Bedrock, Gold Blocks, Iron Blocks, Diamond Blocks and Signs instead of commands!!
    Bedrock = Mob Spawnpoint​
    Gold Block on Iron Block = Lobby Starting Block​
    Diamond Block on Iron Block = Temple Spawnpoint​
    Diamond Block on Gold Block = Temple End Block​
    • Don't worry about using commands to set up boundaries
    You have an entire world dedicated to each Temple.​
    • Use EditWorlds to edit Temples without being limited by space.
    • Use Add and Remove commands to allow others to help with the building.
    • EditWorlds make giving building permission easier!
    • Limit the amount of Temples a person can make using the maxTemplesPerPerson setting in the main config file.
    Commands:

    Type /tc in game for a nice command menu, /tc [pageNumber] to view a different page.​

    Changelog:
    • Latest Dev Build: v0.41 - Bukkit 1337
    - Added Sensor Signs:​
    If you put this sign under a block, when you walk over the block, you will be prompted to stand still for 3 seconds to join the temple.​
    Note: Trying to add more features that will allow you to integrate TempleCraft into server gameplay in a cooler way. If you'd like to have an option that prevents regular players from making working TempleCraft signs, let me know. No one has brought it up :p
    [TC]​
    <templeName>​

    sensor​
    - Updated Register API:​
    If you don't already have Register, TempleCraft will export the jar when you load the server. You'll need to reload the server after this to load Register properly, then you're all set. Register just adds compatibility to multiple economy plugins.​
    - Cleaned up some code​
    • v0.40 - Bukkit 1337
    - Fixed /tc converttemples​
    - Added ChunkGenerators Folder​
    - You can drag .jar files into the ChunkGenerators folder and create new worlds using them with /tc new <templeName> <jarName>​
    - Made a nice Help menu when you type /tc​
    - Cleaned up /tc tlist​
    - Added constantworldnames configuration which, if set to true, will keep the names of the temple worlds consistant (for use with other plugins that use NPCs or bookshelves or w/e)​
    -Fixed /tc worldtotemple <templeName>​
    - Converts the world you are in to a temple (cool for if you want to make other worlds seem more interactive with TempleCraft)​
    - When creating a new temple, the default chunk generator is now the default one for minecraft​
    - Added CaveSpiders to the bedrock spawnpoints​
    - Added a Sign that can Spawn you randomly in an area​
    [TC]​
    spawnarea​

    <radius>​

    Old Changes (open)

    • 0.33; Bukkit 1240 - Temples are now saved as worlds that are saved and loaded as needed
    - To convert the old .tcf files into worlds, type /tc converttemples​
    the .tcf files will no longer be needed, but you may choose to save them as the conversion process isn't 100% perfect at the moment, they will also be converted into worlds the next time you edit them.​
    - foodLevel, Experience and GameMode are now stored and restored when joining/ leaving temple​
    - EditWorlds now use Creative mode by default​
    - You can now drag any world files into the SavedTemples folder in the TempleCraft folder and use them as TempleWorlds​
    (not all worldnames are supported at the moment)​
    - Anything saved in a world normally is now saved (including WorldEdit)​
    - ABSOLUTELY NO boundaries anymore (in terms of what is being saved)​
    - New GameTypes (Spleef and Zombies)​

    I still have a lot of ideas for TempleCraft, but unfortunately, I'm having trouble finding enough time to devote to this. I know there are some things that may not be clear. I hope to make a wiki or something similar in the future, but we'll see. For now, feel free to ask questions and leave feedback. I also have an sample server you can check out to see how things work. Thank you :)
    • 0.32;
    - Fixed some bugs and increased performance​
    - Added Support for Register API (multiple economies now supported)​
    - More to be announced (I g2g)​

    • 0.31; Found Solution to Reload Bug!!
    Phew! I haven't been able to test this thoroughly because I'm traveling and have a poor internet connection, but this seems to be working really well so far and if there are some currently undiscovered problems with it, I'll deal with them as soon as possible.​

    Also, I'm not able to test multiple people using the temple very often because I do not have multiple accounts and have only come across a few temporary willing assistants. If you see any bugs that only seem to happen with multiple people, it's likely I don't know about them and I'd appreciate the report! Thanks :)
    • 0.30; Additions + Bug Fix
    - Fixed the Piston Bug (woo)​
    - brought back optional MobArena classes (woo)​
    - Signs can now be used to send chatbox messages and even commands.​
    - New video with the recent changes.​
    - Reload method is kinda funky as always. I've put many hours into trying to fix this one, but I'm stumped...​
    • 0.25; Fixed a Bug
    - Temple Regions will now be cropped automatically (It wasn't working before, oops!).​
    • 0.24; This is a big one :D
    - Removed Classes — I'm going to let other plugins take care of this. Now, when you join a temple, you play with what you have on you and it's saved for when you leave.​
    - Improved Save Method — Always trying to make it faster :)
    - Added Checkpoints — Checkpoints for when you die but want to continue. The third line is the minimum distance you have to be in order to save the checkpoint.​
    [TempleCraft]​
    Checkpoint​
    5​
    - Gold Per Mob is now Configurable — use one number '50' or a range '50-100'​
    - Fixed DropBlocks​
    - Fixed Ready, Tlist & Plist commands​
    - Removed templecraft.save and templecraft.nullclass​
    - Added Mob Spawnpoint Signs​
    - All signs can now use [TC] or [TempleCraft] (case sensitive)​
    • 0.23; Important Addition
    - Improved Save Security (Loosing data is much less likely in case of a server crash)​
    Note: Does anyone mind that I have uploaded new versions practically every day? I like to keep everyone current, but I'm not sure if I'm over doing it and making people redownload it too much. Feedback would be nice, thanks :)

    • 0.22; Additions + Bug Fix
    - Contents of Chests, Furnaces and Dispensers are now saved.​
    - Rejoin cost is now configurable​
    - Breakable materials is now configurable (blocks you are allowed to break during play)​
    - Drop Blocks is now configurable (determines whether blocks drop themselves when broken during play. Chests will still drop their items if you make them breakable)​
    - Fixed Door Glitch​
    • 0.2 ; Stable Release
    - All the big bugs should be fixed​
    - There are still some bugs revolving around loading pistons and there is more optimization to be done.​
    • 0.15 ; Optimized Loading Code More
    • 0.14 ; Bug Fixes
    - Fixed New Temple Problem​
    - Optimized Code a bit (Still need to optimize for larger temples)​
    • 0.13 ; Bug Fixes:
    - Fixed Mob Spawning (now works with MobArena)​
    - Users can no longer restore when temples are in use.​
    • 0.12 ; Bug Fixes:
    - Fixed issues involving multiplayer editting​
    - TNT can now break blocks in temples, but creepers still won't break blocks.​
    - Fixed issues with ownership of temples and access to temples​
    - Got rid of a lot of random excess code. (still more to do)​
    • 0.11 ; Bug Fixes:
    - Fire ticks will now stop after dying in lava​
    - Mob Spawns should only be affected in TempleWorld and EditWorlds​
    - Fixed CheckUpdates command​
    - TemplePlayers are now loaded before Temples (should fix some consol errors)​
    • 0.1 ; Release


    ToDo List:
    • Create a Wiki
    • Migrate to DevBukkit
    • Create a new video
    • Add Comments/ Organize Code more for other Developers
    • Create More GameTypes (CTF, PVP, KOTH, etc.)

    Credits:

    This plugin is based off of @garbagemule's plugin MobArena. Thank you so much for the inspiration and jumping off point! I couldn't have done it without you :)

    Also special thanks to:​
    Donations:

    If you really like the plugin and would like to contribute, feel free to leave a small donation. Anything would be greatly appreciated! Donate here.​
     
    waythm, Gousby and dark1256 like this.
  2. Offline

    HunterAP

    I'm trying to avoid WorldGuard, not because I don't like it, but because it has so many features that overlap with like 2 or 3 other plugins that I'm running.
     
  3. Offline

    Shados

    Thanks. I incorrectly thought multiworld permissions were working alright because I tested them after doing a `/permissions reload` in the affected world - hence applying the permissions for that world properly, apparently.
     
  4. Offline

    HunterAP

    Speaking of overlap... ChopTree, for some reason, uses TC as a command as well. Need to go slap them around. :)
    I have another question... My users are complaining that they cannot test their worlds unless I log on and do a /tc reload... Is there any way around this?
     
  5. Offline

    ShAd0w2kXX

    Not sure if this is mentioned, but this seems to conflict with War V1.6 PREVIEW 5. It causes some sort of redundant loop or something with the inventory saving function. I can post an error log if this hasn't been reported as of yet
     
  6. Offline

    HunterAP

    Another question... if one of my users makes a sign with the /restart command, will that command actually execute?
    I was noticing the "enabled_commands" setting in the config file... Is that the setting that limits what commands people can put on signs? If not, please give admins the ability to limit what commands can be put on signs. ;)
     
  7. Offline

    _Zenith_

    In the next version, this won't be necessary.

    Right, that would be because I made a stupid mistake. Thanks for pointing that out though, I'll fix it in the next update.

    You can put any command you want on a sign, but the command will only execute if the player has permission to use the command. The enable-commands is for if you want to be able to type a command you have permission for while in the temple. This is so players don't have permission to type all the commands they technically have permission for while in the temple (so they're only used with the signs).

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

    HunterAP

    Ok, so we've run into a show stopper, and haven't been able to determine a cause...
    There are four of us trying to edit at the same time... I have 4 edit worlds set up. I have set the spawn points out about 1000 blocks to the west or something.
    At first, everything was just fine... There were 3 of us editing at the same time... But one person screwed up and decided to delete their temple. When they created a new temple, it overwrote someone else's EditWorld. I instructed them not to save, but they lost a lot of work.
    At that point, I had everyone leave the editworlds with "/tc leave". I then asked people to go ahead and edit their worlds again, one at a time. The first person who joined a world ended up with their world stacking onto a previous world. Second person and 3rd person were fine.
    I joined the first person's temple to have a look. I then left, and asked him to leave. I then tried editing another temple, and the new temple was merged with the previous temples. It seemed that EditWorld_0 wasn't being properly cleared.
    Reloading plugins didn't seem to remedy the issue... I ended up shutting down the server, deleting the EditWorld_0-4 directories, then restarting the server. That seemed to resolve the issue.
    Another quick issue, and I think you said that you're working on it... When you load a temple, either in an EditWorld, or TempleWorld, entities such as torches and redstone get dropped... You probably need to wipe out the blocks, then clear all entities, then load the new temple.
     
  9. Offline

    Fidikado

    Hi, here ist the German-Video-Tutorial of this Plugin. This is only the second part. Its like the english Tutorial. The first part is about the Commands. So now here the Video:

    Willkommen zum deutschen Tutorial über die Materialien und dessen Verwendung:

    http://www.youtube.com/watch?v=LZ1fGZJKgIk

     
  10. Offline

    HunterAP

    Ok, we have done a significant amount of testing trying to determine the problem mentioned in my last post. Near as I can tell, everyone is absolutely fine if we join the server, and we all start editing our temples. (EditWorld_0-3) As soon as someone exits their world and tried rejoining, they overwrite someone else's temple, and that person is put in Limbo, eventually their client crashes. (I assume that their player entity is deleted when the new person joins)
    If I get some time tomorrow, I'll have a closer look through your code. Too late tonight to go diving into code. ;)
     
  11. Offline

    _Zenith_

    Yeah, I'm going to bed too. My code is pretty amateur XD I'm planning on recreating the structure over the next week to make things more organized. Regardless, I appreciate the help and the interest.

    Awesome!! Thank you very much, I'll put this up on the main post right away :)

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

    HunterAP

  13. Offline

    _Zenith_

    Yes, I'm reading it now :)
     
  14. Offline

    HunterAP

    I'm really quite surprised that this hasn't been getting more attention... This seemingly brings the whole "adventurecraft," element to Bukkit servers.
     
  15. Offline

    _Zenith_

    After I finish refining the structure and adding a few more elements, I plan on trying to publicize more. I'm glad you think it's worth more attention than it's receiving at the moment :)
     
  16. Offline

    HunterAP

    Did you get my PM from yesterday? I never heard back... I found a couple more issues in the code.
     
  17. Offline

    HunterAP

  18. Offline

    _Zenith_

  19. Offline

    Matthieu614

    I have a problem with dispencer, when I place it in edit mode, and I play the temple, he changes direction, as a result I shall return but nothing that is quite heavy as a problem

    For info, Citizens can be used, just create NPCs when you play the temple but you can not reload the temple

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

    HunterAP

    Yeah, Zenith will have to specifically load/unload the NPC's for it to work properly.

    @_Zenith_ are you going to set up a BukkitDev page?

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

    HaverC4

    Hello, this is what I really like plugins but the file does not appear in my classes folder templecraft that basically I can not use on a sign: [TC] classes.if you know the problem please help me :(
     
  22. Offline

    Wiinick

    I have found that templecraft interferes with war. What can i do to fix this. I have even removed the config, nothing.

    oh for further info, it cant move the player MOVE_PLAYER into the warzone, i just go into the portal then it sends me back saying i left the zone, here is your inventory.

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

    HunterAP

    You need to do [TC] on the top line, and Classes on the second line. Also, you need to put the sign on the left side of 4 blocks that are lined up evenly. If you haven't already done so, watch the video at the top of the page to see a demo.
     
  24. Offline

    _Zenith_

    I didn't even know about that. Probably should get on that when I have the time.

    Set enableclasses to true in the main config file and then reset your server. This will create the classes.yml file.

    That's odd... sounds like there's a conflict with the War plugin.
     
  25. Offline

    Matthieu614

    Your plugins is a shit , i have work very fast for my temple , i type /reload and hop , nothing , clearing all Edit-world
    thank for your fucking plugins !
     
  26. Offline

    LittleDinamit

    Sounds like it's your fault, not the devs, or a bug in the plugin.
     
  27. Offline

    HunterAP

    /reload typically reloads all of the plugins, this one included. If you are going to type /reload for whatever reason, you should probably type /tc save first.
     
  28. Offline

    LittleDinamit

    I am still having problems. I cannot get this plugin to work in any combination whatsoever. I try to use it with WorldEdit, or without it, try to use it without ANY other plugin active and it still crashes. The server is online for 2 seconds and then crashes. This just loops on and on:

    CONSOLE: This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    CONSOLE: Permission system not detected, defaulting to OP
    TempleCraft: TempleWorld Created!
    TempleCraft: EditWorld "EditWorld_0" Loaded!
    CONSOLE: Server permissions file permissions.yml is empty, ignoring it
    CONSOLE: This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)

    And so on. What could it be?
     
  29. Offline

    HunterAP

    You're saying that it is crashing, what is the error message? Note, I'm not the plugin dev, I'm just trying to help you out.
     
  30. Offline

    LittleDinamit

    I just found out how to access the server log and I believe this is the error info you need.

    2011-08-29 02:21:55 [SEVERE] Error occurred while enabling TempleCraft v0.32 (Is it up to date?): Java heap space
    java.lang.OutOfMemoryError: Java heap space
    at net.minecraft.server.NibbleArray.<init>(SourceFile:7)
    at net.minecraft.server.Chunk.<init>(Chunk.java:61)
    at org.bukkit.craftbukkit.generator.CustomChunkGenerator.getOrCreateChunk(CustomChunkGenerator.java:33)
    at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:70)
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:582)
    at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:515)
    at com.msingleton.templecraft.TempleManager.loadEditWorlds(TempleManager.java:163)
    at com.msingleton.templecraft.TempleManager.init(TempleManager.java:93)
    at com.msingleton.templecraft.TempleCraft.onEnable(TempleCraft.java:55)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    I posted the stuff around it in a spoiler tag below:
    Code:
    2011-08-29 02:21:50 [INFO] Starting minecraft server version Beta 1.7.3
    2011-08-29 02:21:50 [WARNING] **** NOT ENOUGH RAM!
    2011-08-29 02:21:50 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-08-29 02:21:50 [INFO] Loading properties
    2011-08-29 02:21:50 [INFO] Starting Minecraft server on *:2575
    2011-08-29 02:21:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)
    2011-08-29 02:21:50 [INFO] Preparing level "world"
    2011-08-29 02:21:50 [INFO] Preparing start region for level 0 (Seed: -1175648186)
    2011-08-29 02:21:51 [INFO] Preparing start region for level 1 (Seed: 2190926828068654465)
    2011-08-29 02:21:51 [INFO] Preparing spawn area: 36%
    2011-08-29 02:21:52 [INFO] WorldEdit 4.6 enabled.
    2011-08-29 02:21:52 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-08-29 02:21:52 [INFO] Permission system not detected, defaulting to OP
    2011-08-29 02:21:52 [INFO] Preparing start region for level 2 (Seed: -9065771828175305207)
    2011-08-29 02:21:52 [INFO] [TempleCraft] TempleWorld Created!
    2011-08-29 02:21:53 [INFO] Preparing start region for level 3 (Seed: 16351028665777980)
    2011-08-29 02:21:54 [INFO] [TempleCraft] EditWorld "EditWorld_0" Loaded!
    2011-08-29 02:21:54 [INFO] Preparing start region for level 4 (Seed: 8975529712077543480)
    2011-08-29 02:21:55 [INFO] Preparing spawn area for EditWorld_1, 52%
    2011-08-29 02:21:55 [SEVERE] Error occurred while enabling TempleCraft v0.32 (Is it up to date?): Java heap space
    java.lang.OutOfMemoryError: Java heap space
        at net.minecraft.server.NibbleArray.<init>(SourceFile:7)
        at net.minecraft.server.Chunk.<init>(Chunk.java:61)
        at org.bukkit.craftbukkit.generator.CustomChunkGenerator.getOrCreateChunk(CustomChunkGenerator.java:33)
        at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:70)
        at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:582)
        at org.bukkit.craftbukkit.CraftServer.createWorld(CraftServer.java:515)
        at com.msingleton.templecraft.TempleManager.loadEditWorlds(TempleManager.java:163)
        at com.msingleton.templecraft.TempleManager.init(TempleManager.java:93)
        at com.msingleton.templecraft.TempleCraft.onEnable(TempleCraft.java:55)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-29 02:21:57 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-08-29 02:21:58 [INFO] Done (0.773s)! For help, type "help" or "?"
    2011-08-29 02:22:01 [INFO] Stopping server
     
  31. Offline

    HunterAP

    It looks like you're out of memory... Third line of your log:
    Then when TempleCraft loads, you get this:
    You need to give your server more memory using the commandline listed in the first quote box.
    You might want to give it more memory than that. I set mine to 2048.
     

Share This Page