[INACT][FUN] GeoCacher v1.2 - A Geocaching Plugin for Minecraft | AddOns for Perm and xConomy [953]

Discussion in 'Inactive/Unsupported Plugins' started by Thomas Bucher, Apr 8, 2011.

  1. Offline

    Thomas Bucher

    GeoCacher - The GeoCaching Plugin for Minecraft:
    Version: v1.2
    New in 1.1-1.2:
    • Splitet Plugin / Loot Stuff / xConomy Stuff
    • Just Download the wanted AddOns below, to match your needs.
    • Added a LootEvent, so other Plugins can Hook onto the Log/LootEvent
    • LootEvent(thecache,thefinder,thechest,isitftf,foundcount)
    • Created a FTFLoot Plugin
    • MultiCaches now possible. use /geo hide option and /geo message
    Keep in mind: Dont enable norangecheckforcustoms and give normal user create right, they will certainly build arrays of caches to get mass of loot!!

    MYSQL Support NOT YET available. Work in progress

    iConomy 5.X needed for Version 0.9+

    Like the real Geocaching, You can search for Caches with a Compass.

    You get some Goodies if you find a Cache.
    You dont know Geocaching? Get the Idea here

    Features:
    • Hide GeoCaches
    • Find GeoCaches
    • Autogenerating Caches while Chunkloads
    • Lootable definition Lists
    • Broadcast new Caches
    • Get some Goodies if you find one
    • Auto Fix Boxes on Starting a Search
    • Uses Permissions 2.6 / Works Without (Create is then OP only)
    • iConomy 5.x Support via AddOn
    • BOSEconomy Support via AddOn
    • MultiWorld support
    • Help Support
    • FTF Loot via FTFLootPlugin
    • Loot Support via AddOn Plugins
    • xConomy Support via AddOn Plugins
    • Configfile

    Download The Plugin 1.2 <- Download the Needed AddOns from below.

    OLD:
    Download The Plugin 1.1 <- iConomy 5
    Download The Plugin 1.0a
    Download The Plugin 0.9
    Download The Plugin 0.7g <- iConomy 4

    Source Codes are in the Jars

    Webpage Sources

    The Webpage is written in php and the only file who needs to be modified is config.php, where you have to enter the Path to the Plugindir where the webkeys.txt and the *.gc Files reside in.

    ADDONS: (You need this to get some loot at all!!)
    Default Loot:
    Download the LootPlugin 0.1a <- Needs GeoCacher 1.2
    Download the LootPlugin 0.1 <- Needs GeoCacher 1.2
    FTF Loot:
    Download the FTFLootPlugin 0.1 <- Needs GeoCacher 1.2
    Money:
    For iConomy 5.x
    Download the iConomy5xLootPlugin 0.1 <- Needs GeoCacher 1.2
    For iConomy 4.x
    Download the iConomy4xLootPlugin 0.1 <- Needs GeoCacher 1.2
    For BOSEconomy
    Download the BOSEconomyLootPlugin 0.1 <- Needs GeoCacher 1.2


    Changelog:
    Version 1.2
    • Splitet Plugin / Loot Stuff / xConomy Stuff
    • Just Download the wanted AddOns below, to match your needs.
    • Removed all unneeded Configs from the Configfile
    Version 1.1
    • Added a LootEvent, so other Plugins can Hook onto the Log/LootEvent
      LootEvent(thecache,thefinder,thechest,isitftf,foundcount)
    Version 1.0a
    • Added Hint /geo hint | /geo hint cachename the hint for this cache
    • Added Message /geo message | /geo message cachename the message to set
    • Added Help support 0.2.4.1 /help GeoCacher
    • Added Hide option /geo hide|unhide cachename
    • Added More info options /geo info cachename | /geo info
    • Added /geo find cachename
    • Added delete for name /geo delete cachename
    • Rewritten a lot of Things..
    Version 0.9
    • iConomy 5.x
    • Added Money name Variable
    • Add DAO structure for Files
    • Rewritten most of the Code
    • Added Debug Option
    • added Mysqlconfig / DAO (not implemented yet)
    Version 0.7g
    • Fixed chunk null pointer
    Version 0.7f
    • Fixed delete bug, without permissions
    Version 0.7e
    • Removed Dupbug / lootbug
    • Added Underwatercaches (configurable)
    • Added betterhidedeep option
    Version 0.7d
    • Added norangecheckforcustoms to the config for disable Rangechecks
    Version 0.7c
    • Fixed Lootbug if no amount was specified.
    • Fixed Default Lootables
    • Fixed Empty Chest problems
    • Fixed Windows problem with locked Files.. (hopefully)
    Version 0.7
    • Added Loottables amounts
    • Fixed Lootbug with new Autocreated Caches
    • Added Webfrontend Alpha Version (needs a webserver with php)
    • Minor Bugfixes like Searchtool is named etc..
    Version 0.6c
    • Added Broadcastcolor in Config -> broadcastcolor
    • Fixed loottables,loottablesrare -> Format: yml see example config
    • Added Statsize for lootables -> lootstacksize
    • Minor Text corrections / Fixes
    Version 0.6b
    • BOSEconomy Support (Configfile -> useboseconomy: true/false)
    • iConomy Support (Configfile -> useiconomy: true/false)
    • Change to get some money (Configfile -> moneychance: 0-100 %)
    • Minimum of Cash to find (Configfile -> minmoney: value)
    • Maximum Money to add to the Minimum (Configfile -> addmoney: value)
    • Betterhide Option (Configfile -> betterhide: true/false) This will dig the Caches 1-3 Fields deep
    • Betterhide Chance (Configfile -> betterhidechance: 0-100%) Chance to betterhide a Cache
    • Searchtool to use (Configfile -> searchtool: 345) Id of the Searchtool / Defaults to Compass
    • Lot of minor Bugfixes
    • Add /geo webkey <- Gives the User a "Password" to check his Stats on the Webpage
    Version 0.5b
    • Should fix the Multilog / Multiloot bug
    Version 0.5a
    • Fixed the usage of the Plugin without Permission Plugin running
    Version 0.5
    • Fixed Load error if Chunk not Loaded / World not loaded
    • Fixed Error of Cache not able to loot.
    • Upgrade you gc Files with a line
      WORLD=yourworldname
      if you have multiworld, so the Cache now on what world it resides
      Or delete all GC files and Start over
    • Added Compassrightcklick to start search a new Cache if none is selected
    • Added Autolog if you open the Chest
    • Added Config parameters for autolog enabled / autonewcache
    • Added Config parameter for otherthing than a compass to use to search (Worldedit)
      set the searchtool=345 to whatever you like
    Version 0.4
    • Added Broadcast new Caches
    • Added Autogenerated Caches
    • Fixed Display of Decimals
    Version 0.2
    • Added Loottable
    • Added Configparameters
    • Fixed some littles
    • Added delete support
    Version 0.1

    • Initial Version
    Usage:


    Search a GeoCache by type
    /geo find
    or
    /geo find cachename
    Use a Compass (right click) to see how far away you are
    or
    Right Klick with your Compass(Searchtool)
    You can get more infos about the Cache you are hunting by

    /geo info
    or
    /geo info cachename


    If you are in a Range of 3 Blocks write

    /geo log <Your Logmessage for that Cache>
    Now loot the Chest
    or
    Just open the Chest to Autolog it without a message
    you can check the Message leaved on the Box by
    /geo message

    To Create a Cache do
    /geo create CacheName <Cache Description goes here>
    All Commands are listed by
    /help GeoCacher
    or
    /geo
    Delete a unwanted GeoCache
    /geo delete (only OP or Owner of the Cache , if you stay near a Cache)
    /geo delete cachname

    Get a webkey for a Webinterface
    /geo webkey

    Permissions:
    - geocache.create <- Create a new Cache / Delete Owned
    - geocache.search <- Search / Log and get Infos about Caches


    Example Configs:
    GeoCacher:
    Code:
    neededspace: 75
    enableautocaches: true
    autocachechance: 10
    broadcastnew: true
    autologenabled: true
    autogetnewenabled: true
    searchtool: 345
    betterhide: true
    betterhidechance: 70
    broadcastcolor: 2
    norangecheckforcustoms: false
    betterhidedeep: 10
    underwatercaches: true
    debug: false
    usemysql: false
    usehelp: true
    

    GeoCacherLootFTF:
    Code:
    rarechance: 70
    lootstacksize: 20
    thislootonly: true
    debug: true
    ftflootables:
    - 91,5
    - 89,5
    ftflootablesrare:
    - 57,2
    ftfmessage: FTF!! You are the first. You get some Extra Loot!!
    
    GeoCacherLoot:
    Code:
    message: You get some Goodies, open the Box now
    rarechance: 70
    lootstacksize: 20
    debug: true
    lootables:
    - 91,5
    - 89,5
    lootablesrare:
    - 57,2
    
    GeoCacherLootBOSEconomy | GeoCacherLootiConomy:
    Code:
    addmoney: 70
    moneyname: Bucks
    moneyonftf: true
    debug: true
    minmoney: 70
    moneychance: 101
    

    lootables and lootablesrare are:
    - itemnumber,amount
    if no amount is given like
    - itemnumber
    it will default to lootstacksize for lootables
    and 1 to lootablesrare

    Todos:
    Add /geo top <- Rankings
    Add /geo showlog <cachename>
    - New geocache [id] has been placed on world X
    Finish MySQL DAO
    Add Interface for Other Plugins (Trackables / Lootables etc)
    Split the Things up to better Maintain it
    After Hooks are made for Log / Loot
    Rewrite Loot / FTF / Rares -> Make new Plugin
    Essentials Eceonomy
    More than one Normal Loot in box
    Add Multiworld enable / disable Support for Caches / Autocaches
    Add Limits for Autocaches per world (X,Z)

    Ideas:
    • add trackables? (add some interfaces for extensions) -> Will be another AddOn
    You gonna name it ;-)

    You can test it on our Server:
    mc.ktn.ch


    [​IMG]
     
  2. Offline

    MrChick

    I just tried it, it's awesome
     
    Thomas Bucher likes this.
  3. Offline

    Finer1

    Oh, thanks man !
     
  4. Offline

    kahlilnc

    you make great plugins.
     
  5. Offline

    Jeff

    lol awesome...but I prefer the real life geocache
     
  6. Offline

    steve m

    I'm getting an "Unknown Command" reply when I type in /geo find. I've already made a couple chests and have a compass in my inventory... please help! This plugin is a great idea!
     
  7. Offline

    Thomas Bucher

    The Chest you made via /geo create ? or you just placed random chests ?
    Btw, you cannot find your own chests... if you are the Owner, it will not "find" them ;-)

    Any Errors in the Logs? Permissions geocache.search you have ?

    Sincerely Thomas
     
  8. Offline

    Thomas Bucher

    Another Major Update added:
    - Autocreated Caches on new Chunks Loaded (GCXXXXX)
    - Set the Chance to spawn a Cache in 1/1000 in the config
    - Enable / Disable Spawning of Autocaches

    Sample Config:
    Code:
    neededspace: 75
    rarechance: 50
    enableautocaches: true
    autocachechance: 10
    broadcastnew: true
    
    Have more fun with less Work ;-)
     
  9. Offline

    zombiemann

    As an avid real world GeoCacher I LOVE this plug in. Thank you for taking the time to make this.

    TNLN,SL,TFTC :)
     
    svict4 likes this.
  10. Offline

    SeeD419

    Hmm I think it would be a lot better if it didn't look so command driven. I haven't tried this, I just read the OP...I might test this out though

    Also, right clicking with a compass would interfere with WorldEdit's compass /jumpto which is a big issue for us.
     
  11. Offline

    8ight

    I like the idea of this but every time i use the commands it says "upps something went wrong" what does this mean EDIT: I figured out it was a permissions issue so now it works =)
     
  12. Offline

    Thomas Bucher

    It it only Command Driven by now, i thought it is a big Overkill to interact with every Chest event. I guess 99% of the times someone open a Chest, its not GeoCache driven, so i Decided to keep it Commandbased.
    Maybe i can add a ChestListener and Do the Logstuff by open the Chest (i would also add a config var to enable / disable this)
    It would also be possible to check on rightklick with the compass if there is an active search, and if not.. get one.. (also config file enabled/disabled)

    I am sorry about that, but i see no "good" way to get around this. I guess world edit is on high prio for Events, so normal Users would not get a "interfere". If i have the Time, i will do some testing with this, to check if there is a alternate way if WoldEdit is loaded.

    Added Major Update. Plz update to Version 0.5
    Fixed alot of Bugs / Problem with unloaded Chunks etc.
    Added the Features Requested by SeeD419
    Added some minor tweeks and Configparameters
    See Firstpost.

    Sincerely
    Thomas

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

    TheOneHamster

    Hey hey!
    I ´m trying to get the plugin working with my server, but everytime i use an ingame command like "/geo find" i get something like this:

    Also it seems that the compass isnt working...

    Someone that encountered the same problem?
    Can anyone help?

    THX!
     
  14. Offline

    Thomas Bucher

    Which Version of Permissions are you using?
    Does it work without permission?
    Thnx Thomas
     
  15. Offline

    TheOneHamster

    I´m not using Permissions yet. I thought about getting the plugin, but I´m quite new at this whole bukkit-thing and haven´t got really deep into it yet ;)
     
  16. Offline

    Thomas Bucher

    I will try it without permissions. Stay tuned for an update.
     
  17. Offline

    TheOneHamster

    Now it works perfectly! Thank you so much! :)
     
  18. Offline

    rmb9797

    Is the compass supposed to point to the cache? If it does.. i have a problem but its not giving me errors. If it's not supposed to, could that be a feature in a new update, because that would make this plugin incredible :)
     
  19. Offline

    Thomas Bucher

    It doesnt. I implemented it, but it doesnt work ;-) i guess its an issue on the client or the server, but i will continue try make this happen.
    Greetings Thomas
     
  20. Offline

    Amrac

    Sooo great :)

    What is in the default list "lootables" and "lootablesrare"
     
  21. Offline

    Thomas Bucher

    Rares are 298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317
    Default Items are 262,265,280,287,288,289,336
    The Chance to get a rare is 1 to 100 * rarechange times.
    So if rarechance is 50 it rolls 50 times. if the result of the random 100 is 1 you get a rare.

    This means, you can get more than one rare..

    The Default loot you get allways a Stack of 30 of them. It is just rolled what of those you get.
    You can add the same thing more than once to the list, so it will drop more often..

    Hopes this explains what you d'like to know.

    Sincerely
    Thomas
     
  22. Offline

    rmb9797

    Ok, i just wanted to know, it is still very fun
     
  23. Offline

    GregRUS

    When you click few times on a chest - items inside are duped!
     
  24. Offline

    Thomas Bucher

    Ok. I will check that. ;-)
    Thnx for the Info
     
  25. Offline

    GregRUS

    BTW: It says: "You log this cache..." And everyone can click few times on it. And everytime it says "You log this cache..."
    After that there are chest full of stuff..
     
  26. Offline

    Thomas Bucher

    I am Sorry, but i am not abel to reproduce the problem.
    What item do you have in hand? Do you right klick or left klick the box?
    Do other klick while you just stand near?
    I need more Input, to reproduce this problem.

    Anyone else have the same Effect?

    Sincerely
    Thomas
     
  27. Offline

    GregRUS

    When I tested it without other players with the same plugins - everything worked fine.
    Tried to hold different items in my hands also empty hand too.
    Seems this problem can happen only if the server is overloaded with players...
     
  28. Offline

    Thomas Bucher

    I will try to reproduce this with some friends. I will check the source also twice.
    I hope i can reproduce it somehow.. Else it will be hard to fix.

    Greetings
    Thomas

    Version 0.5b is out.. the Dupe / Multiloot bug should be fixed..

    Sincerely
    Thomas

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

    VoiceofTreason

    I can only get the /geo command to work. I have compass in hand, no log errors, and several caches auto-created and none of the other commands work for me. I am not running permissions but it seemed permissions are not needed from an above post? It wasn't very clear to me if it was or wasn't, tbh.

    Thanks
     

Share This Page