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


    Hi everyone,

    Great mod and thank you for your continued development!

    I have a permission problem I think however, similar to the one a few posts above.

    even as admin, /hunt tells me there are no active hunts

    /hunt help just returns /hunt
    and so do the rest of the commands

    Editing the config does nothing as it resets upon reboot (I'm scared to set it to read-only)

    Even with the settings as is, nobody received a broadcast and according to my logs it doesn't even activate.

    Even when I add tain.notify etc.. to any group it doesn't change anything.

    I'm using group manager

    Here's some snippets to help diagnose:

    2011-11-25 07:54:18 [INFO] [TreasureHunt] Activating...
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Loading configuration.
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Loaded spawnable blocks (4).
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Loaded 51 items successfully.
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Activated.
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Using op-only Permissions.
    2011-11-25 07:54:18 [INFO] [SuperpermBridge] Superperm/Permissions bridge enabled
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Using op-only Permissions.
    2011-11-25 07:54:18 [INFO] [DuckShop] Loaded 0 chest link(s).
    2011-11-25 07:54:18 [INFO] [DuckShop] Permissions plugin detected!
    2011-11-25 07:54:18 [INFO] [DuckShop] Using TheYeti for permissions.
    2011-11-25 07:54:18 [INFO] [DuckShop] No chest protection found.
    2011-11-25 07:54:18 [INFO] [DuckShop] Version 30 enabled. No viruses, honest!
    2011-11-25 07:54:18 [INFO] [TreasureHunt] Using op-only Permissions

    default: false
    - essentials.backup
    - essentials.broadcast
    - essentials.gc
    - essentials.kick
    - essentials.kick.notify
    - essentials.tempban
    - -essentials.setxmpp
    - -essentials.xmppspy
    - -essentials.sethome
    - -essentials.setspawn
    - moderator
    - g:essentials_admin
    - g:bukkit_admin
    prefix: '&c'
    build: true
    suffix: ''

    - Doesn't even activate left it running all night, timer was set to 2 hour intervals.

    So basically,

    1. What would be the permissions assigned to the common player, so that the only way he can hunt for the chest is by using the tool. (no /hunt!)

    2. What would be the permissions assigned to the admins, so that they can start the hunt, and modify its parameters (is there a way to also remove /hunt from them)

    Thanks again, and sorry for the long winded post, just want to make sure you have as much info as possible.
  2. Offline


    @Taien thx it works now but what is the tiniest maxdist I can use?
  3. Offline


    Can you add manual placing of chest for ops?
    It would be great if ops can set down chest in secret areas manually.
  4. It only checks player locations when people do the command...or use the tool. Hmmmm. I've been trying to think of a way to make that more efficient as well...because I kind of foresaw this as a problem. Basically what I need to do is find a better way to handle the /hunt command and closest player stuff. The way it works now is the most ACCURATE, but not necessarily the best way to do it processor-wise. I'll look into it for you. Thanks for letting me know.
  5. 1.,,

    Just wondering - what kind of permissions do you use? Is it PermissionsEx? Only that form of permissions is usable (aside from PermissionsBukkit), otherwise you'll need op to do the admin stuff. Let me know and we'll try to track down the problem.

    Well, I wouldn't set it to 0, as that would probably cause it to hang(I'll have to make some kind of protection against that), but really any value is acceptable. The area is square, btw.
  6. Offline


    @Taien alright I will try 250 or 500 thx anyways for this great plugin
  7. Offline


    Hello Love the plugin but its dose not work well with world border... is there any way to set the area where they can spawn with out it using 0,0 as the center? or you can region it with a wand
  8. Offline



    I'm sorry it was my bad. The mistake I was making was that 1 in 100 chances to spawn a chest every 30 minutes... I missed that detail lol. I broke my head for like a day trying to figure that out.

    Everything works great now!

    As for permissions.. well mine's a bit of a mess. I have group manager, essentials and permissions.. Unfortunately I'm learning this stuff on my own so yeah..
  9. Offline


    This works perfectly in 1.0. Thanks for an awesome plugin. It has gotten everyone off their butts on the server, and gets them moving.
    I do have some suggestions and requests. I'd love to see the ability to add custom loot, if possible. (I have seen the config, but I am not sure if I can modify it)
    Additionally, I would especially love the idea to block /hunt commands, and only allow them to check for the location with a compass, which I think is pretty awesome. Compasses don't get much use on my server, and using an item to trigger the /hunt command would be a lot easier, as it's a bit cumbersome when trying to race others. I haven't tried changing the hunt material from the config yet, wasn't sure if it would "Consume" the compass or something.
    Also, I would like to be able to change the message that appears when chests come out, to tell them to bring out their compasses, or use /hunt or whatever. Some new players aren't immediately aware of what to do.
  10. In the next version I'll add an option on whether to consume the item or not. I'll see if I can set up allowing you to set the message, too. :)

    You can already prevent them from doing /hunt by not giving them the permission. And you can set custom loot if you know its item name. I think I set it up to accept IDs, too. (maybe not, try it)
  11. my config file is not generating.
  12. Weird 5e should generate it. All other builds didnt except this one.
  13. Well I just made the folder and files and it populated it automatically so its all good now :)
  14. Offline


    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!
  15. Offline


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


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

    I got a strange error.

    Basically, the plugin seemed to break down right when the server had the spamming log error of... 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...
  17. Offline


    How does this save the info on where all chests are?
  18. Offline


    I keep getting this error on startup:

    [SEVERE] Could not pass event PLUGIN_ENABLE to TreasureHunt
    java.lang.IllegalArgumentException: The permission is already defined!
    at org.bukkit.plugin.SimplePluginManager.addPermission(
    at me.taien.THServerListener.onPluginEnable(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(
    at net.minecraft.server.MinecraftServer.t(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.init(
  19. Offline


    when will your next update?ready for 1.0.0

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


    @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!
  21. Offline


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


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


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


    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?
  25. Offline


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


    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!
  27. Offline


    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.
  28. 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.
  29. Offline


    Sugarsync/dropbox ?
  30. UPDATED! See changelog for details and please post any errors you have.

Share This Page