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

    -Pr0ph3t-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Admin:
    default: false
    permissions:
    - essentials.backup
    - essentials.broadcast
    - essentials.gc
    - essentials.kick
    - essentials.kick.notify
    - essentials.tempban
    - BOSEconomy.common.bank.rename
    - BOSEconomy.admin.bank.create
    - BOSEconomy.admin.bank.addowner
    - BOSEconomy.admin.bank.addmember
    [...]
    - -essentials.setxmpp
    - -essentials.xmppspy
    - -essentials.sethome
    - -essentials.setspawn
    - taien.th.admin
    inheritance:
    - moderator
    - g:essentials_admin
    - g:bukkit_admin
    info:
    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

    LordDead1233

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Taien thx it works now but what is the tiniest maxdist I can use?
     
  3. Offline

    TheTimin8o

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you add manual placing of chest for ops?
    It would be great if ops can set down chest in secret areas manually.
     
  4. Offline

    Taien

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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. Offline

    Taien

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1. taien.th.hunttool, taien.th.notify, taien.th.claim
    2. taien.th.admin, taien.th.notify, taien.th.claim, taien.th.hunttool

    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

    LordDead1233

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @Taien alright I will try 250 or 500 thx anyways for this great plugin
     
  7. Offline

    Kuboken

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    -Pr0ph3t-

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    Hello!

    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

    Zombiemold

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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. Offline

    Taien

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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 taien.th.hunt 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. Offline

    rmb938

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    my config file is not generating.
     
  12. Offline

    kahlilnc

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Weird 5e should generate it. All other builds didnt except this one.
     
  13. Offline

    rmb938

    My BukkitDev Profile
    My Plugins (0)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well I just made the folder and files and it populated it automatically so its all good now :)
     
  14. Offline

    bwink614

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Raycrash

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Idea:
    Fill a chest, use a command chest content is saved as a specific type.
    For later use in config.
     
  16. Offline

    odielag

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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...
     
  17. Offline

    Sketaful

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How does this save the info on where all chests are?
     
  18. Offline

    Spr44

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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)
     
  19. Offline

    Sevennemesis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    when will your next update?ready for 1.0.0

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

    jonnay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @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

    higuy247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    can you make a non-mediafire download?
     
  22. Offline

    Ozelo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do I need to type /starthunt every time some one win the hunt?
     
  23. Offline

    higuy247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    can you make a mirror link or something that isnt mediafire?
     
  24. Offline

    Terrilp

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Drej_X_Army

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No working in #1597, need a update please. Pluggin looks really good though, woul dlove ot try it.
     
  26. Offline

    SullyTheUnusual

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Katorone

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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. Offline

    Taien

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    Katorone

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sugarsync/dropbox ?
     
  30. Offline

    Taien

    My BukkitDev Profile
    My Plugins (2)
    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    UPDATED! See changelog for details and please post any errors you have.
     

Share This Page