Inactive [ECON/RPG/FUN] TreasureHunt 0.8.2 - Randomly-placed treasure goodness! [1.2.4-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by Taien, Sep 27, 2011.

  1. Offline

    bwink614

    Is there any way to change the settings in the Config folder? I have tried but it continues to revert back to the default. Thanks, and great plugin!
     
  2. Offline

    Raycrash

    Idea:
    Fill a chest, use a command chest content is saved as a specific type.
    For later use in config.
     
  3. Offline

    odielag

    EDIT: I don't know if this plugin was the fault. I think I got minecraft DDOSed...

    I got a strange error.
    http://img39.imageshack.us/img39/9319/epicchestbugg.jpg

    Basically, the plugin seemed to break down right when the server had the spamming log error of...
    java.net.SocketException: Too many open files

    This has happened twice in the last two days, hopefully removing this plugin will have helped. It was a fun plugin to be fair.

    This was reported from a player on my server...
    SeXy_Kung-Fu-Fighter: i dont know whats wrong with the serv but it kinda started when i was on a Hunt for a Epic chest that spawned and when i got to the place there where no chest but only a rock, but when i tryd to brake the stone it said that i coudnt brake the Chest or the block under it
    SeXy_Kung-Fu-Fighter: i took a screenshot of it for you, and then i lost connection and when i got online i was at spawn and all my tools/Amor was gorn. but ill send you a link to the pic i uploaded about the chest thingy, dont know if it coud be somthing about th chest bieng a Epic chest if there is somthing wrong with that, cause its the first time iwe seen it apear in the world.

    Edit: BTW, I'm using CraftBukkit 1559

    14:08:53 [INFO] Plugins: WorldEdit, SimpleNews, Minequery, BorderGuard, AutoMessage, PermissionsEx, Essentials, EssentialsSpawn, NoCheat, WebAuction, LagMeter, WorldGuard, Orebfuscator, LogBlock, NoLagg, dynmap, Factions, DeathControl


    EDIT: I don't know if this plugin was the fault. I think I got minecraft DDOSed...
     
  4. How does this save the info on where all chests are?
     
  5. Offline

    Spr44

    I keep getting this error on startup:

    [SEVERE] Could not pass event PLUGIN_ENABLE to TreasureHunt
    java.lang.IllegalArgumentException: The permission taien.th.admin is already defined!
    at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424)
    at me.taien.THServerListener.onPluginEnable(THServerListener.java:26)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:585)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:964)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165)
    at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  6. Offline

    Sevennemesis

    when will your next update?ready for 1.0.0

    - sometimes when treasure hunt starts, my server "freezes"!
     
  7. Offline

    jonnay

    @cr0ss / @Taien I too had the problem with serious TPS lag. My solution was to change the range from 3000 to 750. This seemed to work, so after a little while I upped the range to 1500. My theory is that it wasn't just the check for the nearest player, but also had to do with fresh chunks being calculated as well.
    II hope that helps! By the way Taien, this is one of my favorite plugins so far. Thank you very much!
     
  8. Offline

    higuy247

    can you make a non-mediafire download?
     
  9. Offline

    Ozelo

    Do I need to type /starthunt every time some one win the hunt?
     
  10. Offline

    higuy247

    can you make a mirror link or something that isnt mediafire?
     
  11. Offline

    Terrilp

    My Config File is not generating. I do not know what I would need to create like rmb938 did to make it work. Could someone help me out?
     
  12. Offline

    Drej_X_Army

    No working in #1597, need a update please. Pluggin looks really good though, woul dlove ot try it.
     
  13. Offline

    SullyTheUnusual

    Hi, Taien. First let me say, NICE WORK! Very fun plugin!

    I just had a question about the config file. Can you explain what DrawWeight does? I would like the plugin to auto-generate EPIC chests all the time, is there a way to do that with this parameter? Thanks, and keep up the good work!
     
  14. Offline

    Katorone

    This plugin is working perfectly for me in CB1597, with the only downside that it keeps duplicating the worlds setting and auto adding a world.

    However, I have a question... What's the best way to add dye's and different colors of wool to the treasurechest? I've looked at the java documentation to find their names, but I can't find them.
     
  15. Offline

    Taien

    It doesn't support that yet sadly...will work on it..

    DrawWeight basically means that the higher you set this, the more draws it will do, and it will take the lowest value of all the draws and use that as the value for the chest. So a higher draw weight makes common chests spawn more often than Epics and such. There isn't currently a way to do what you're asking, but I'll look into it :)

    If you know a better place I can host it for free, I'm all ears. :)

    No, the plugin automatically generates chests based on your settings.

    It's still working for me in 1.0, try using the new version I'm about to upload right now.
     
  16. Offline

    Katorone

    Sugarsync/dropbox ?
     
  17. Offline

    Taien

    UPDATED! See changelog for details and please post any errors you have.
     
  18. Offline

    Terrilp

    I was hoping the update would work for me, i'm using cb1597.. And Still not generating a Config file. I add the .jar file to my plugins folder, and nothing happens. No folder is created. I read in an earlier post that someone just created the config files and then it worked. Does anyone have those config files, that i could add manually. I really wanted to try this out on my Server.
     
  19. Offline

    SullyTheUnusual

    Hey, Taien! Thanks for the quick reply about DrawWeight, that totally makes sense now.

    Version 0.5e worked great on my CB1597 server, but I'm having all kinds of problems getting 0.6 to work. The config file isn't being generated properly. It doesn't contain any of the items and weights, so no chests are generated when typing "/starthunt". So, I used my old config file, and added the 3 new parameters to the bottom. Typing "/starthunt" at least gave me the help options for the command, but typing "/starthunt 5000" crashes my server.

    I have rolled back to version 0.5e, deleted the 3 new parameters from the config, and everything is fine now. Let me know if you want a list of my installed plugins or config files or anything.

    Thanks again for an awesome plugin!!
     
  20. Offline

    michael05242002

    As I comprehend, taien.th.notify enables user to read
    "An EPIC treasure is spawned in somewhere" and "A player is very close to xxx treasure!".

    However, when I type /hunt list, players can read the answer message...
    It is possible to hide it and keeping them have permission to read the treasure spawning message?
     
  21. Offline

    Taien

    That is very odd. Could you provide me a copy of any errors you're getting in console?

    Having a bit of trouble understanding what you mean, but if you're asking if you can make it so they can't see when chests spawn and can only check how close they are with /hunt, or vice versa...then no, not yet. I could add that, though. A separate permission for each message is doable. I'll be updating the permission usage stuff to Vault's permission link too soon, so that should help alleviate problems people are having with those.

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

    Terrilp

    Hi Taien,
    Am I to Assume that you just don't know why my config file is not generating? That is fine, but a response to
    that effect might be nice:). This just sounded like a fun plugin for my server, but I have posted twice now, and
    not a response at all?
     
  23. Offline

    Taien

    You'd be correct. Are you getting an error message when you stop the server or reload? Does the plugin load correctly at least? If so, could you try '/hunt save' and see if that generates it?

    Btw guys, I realize there are some bugs, I'll get to it as soon as I can. I'm doing a major reprogram of my server's primary plugin right now and it's taking all my time. When it's done I'll fix the bugs here.

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

    Gurkengelee

    Hey Taien!

    Great plugin, seems to work very well and is a lot of fun to me.
    I just have one question: Can you disclose what kind of value the different kinds of chest hold? I ask because having a COMMON chest spawning three diamond tools is a bit too much for me but I would like to know what the values for the chests are before I mess with the config file.

    Thank you in advance!
     
  25. Offline

    Fauglir

    Hi, I have this problem on my server:
    Code:
    2012-01-08 15:56:05 [WARNING] Task of 'TreasureHunt' generated an exception
    java.lang.NullPointerException
        at me.taien.THHunt.<init>(THHunt.java:80)
        at me.taien.TreasureHunt.startRandomHunt(TreasureHunt.java:493)
        at me.taien.THTimer.run(THTimer.java:24)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    TH at version 0.6, all running correctly (if I start manually a hunt it goes correctly, it seems something is broken with the timer, because I did /hunt setchance 1 and that error is appearing). Have you got any ideas? Thanks in advance and good work with this plugin ;)
     
  26. Offline

    xdeathoreox

    Suggestion:

    Add a command that gives you hints as to where the treasure is. Like /hunt hint. It would tell you what biome the closest treasure is. Or maybe the direction of the treasure ( North, South, East, West )
     
  27. Offline

    GmK

    Uhm.

    /hunt
     
  28. Offline

    xdeathoreox

    I'm dumb, I thought that was an OP only command. I'm stupid, and I should feel stupid
     
  29. Offline

    GmK

    Dont worry, happens to the best :D
     
  30. Offline

    Terrilp

    Thank you so much for responding! The plugin does not load correctly.. It does not generate the config files. I would try manually adding the necessary files via ftp, but i don't know what those necessary files are? It's ok, if you can't help me, I just appreciated the response. :)
     

Share This Page