[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

    • 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.

    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
    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

    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
    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 /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
      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

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

    /geo info
    /geo info cachename

    If you are in a Range of 3 Blocks write

    /geo log <Your Logmessage for that Cache>
    Now loot the Chest
    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
    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

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

    Example Configs:
    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

    rarechance: 70
    lootstacksize: 20
    thislootonly: true
    debug: true
    - 91,5
    - 89,5
    - 57,2
    ftfmessage: FTF!! You are the first. You get some Extra Loot!!
    message: You get some Goodies, open the Box now
    rarechance: 70
    lootstacksize: 20
    debug: true
    - 91,5
    - 89,5
    - 57,2
    GeoCacherLootBOSEconomy | GeoCacherLootiConomy:
    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

    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)

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

    You can test it on our Server:

  2. Offline


    Thank you! Tomorrow I will post here is this fix works :D
  3. Offline


    Best. Thing. EVAR. I love you.
    Glitch I found tho. If your find a chache with out having /geo find for that one yet, you can open the chest with out doing a log and get items. Then, you can /geo find, click it again, it will log, and the click it again, and get MORE items.
  4. Offline

    steve m

    Hey thanks for the quick response! I placed it using /geo create, I figured I couldn't find my own chests but my roomate on his game couldn't locate it, he was getting the 'unknown' response too, although he is also an admin on the server so maybe that is a factor?

    I think it probably has to do with permissions though, Ive never been able to find documentation that explains how it works properly, so I've just ignored it Im also getting a SEVERE: Could not pass event Player_Interact error that refers to permissions... I didnt see any instructions in your post so again I ignored it.

    I would love it if you could quickly describe how to work with permissions or point me to where I can read up on it! Thanks!
  5. Offline

    Thomas Bucher

    Did you use the latest Version ? 0.5b There this should not happen anymore.

    If you do not use Permission, remove the Permission.jar from the plugin dir. If it is Loaded, it will use it..
    At Server up, you see in the Log, if it uses Permission or not.
    Can you send me the Error Log? (Start a Conversation) Thnx

    Just right click with the Compass doesnt work either?
    You have the newest Version 0.5.b?
    Can you tell me step by step what you are doing?
    Thnx Thomas
  6. Offline


    You think we could get BOSEcon support for rewards, that way a player could get currency as well for finding them?
  7. Offline

    Thomas Bucher

    Someone likes to Test the GeoCacher plugin with iConomy or BOSEconomy Support?
    PM Me, i send you the link for a Beta-Test

    Thank you
  8. Offline


    This mod is awesome, but is there any way of choosing what and how much people find?
  9. Offline

    Thomas Bucher

    Yes, it is all stored in the Configfile.
    added -> lootables: <list of lootables in the box (one of them is in 30 pcs)>
    added -> lootablesrare: <list of rares there is a Chance that one of these spawns in the chest
    those are list, and can be defined in the config.

    Sincerely Thomas
  10. Offline


    I don't see anything like that in my config file. But I know it's the latest version, as I can set the searchtool.
  11. Offline

    Thomas Bucher

    List dont get autocreated.
    Just add the var and the list you like

    and you will get dirt stone and cobble as loot

    Greetings Thomas
  12. Offline


    Doesn't appear to work. I did this:

    Console errors.
  13. Offline


    AWESOME! (btw suggestion: iconomy)
  14. Offline

    Thomas Bucher

    iConomy is in Betatesting, next release will have BOSEconomy and iComony support.
  15. Offline


    Changed it to
    lootables: 4,5,35,17,272,273,274,275,65,295,296,338
    lootablesrare: 265,266

    But I'm still finding things like bricks and diamond helmets in the chests. Help?

    EDIT: Would it also be a problem to edit the AMOUNT of the item you get in a chest? It would be cool to find 16 cobblestone, or 4 wheat, or 8 string..
  16. Offline

    Thomas Bucher

    I will investigate this, maybe i screwed it up. I will fix this in version 0.6 and add some default in the configfile.

    Maybe i add an amount thing also.
  17. Offline


    Am I missing something? I joined your test server, bought a compass, typed /geo find and was told to find the NearTheThief cache, but Right Clicking with the compass does absolutely nothing!

    No client mods, no texture packs, Ubuntu 10.10
  18. Offline


    great plugin, works like a charm and makes a lot of fun.

    what about a dynmap addon to see caches on the dynmap :)

    thanx for sharing!

  19. Offline

    Thomas Bucher

    Fixed it Sorry. I Disabled Searchtool and fixed it to Compass.. There is a Problem with that..
  20. Offline


    Okay, I tested it now and I must say, this plugin has amazing potential. I'm looking forward to the Web UI, how's it coming along?
  21. Offline

    Thomas Bucher

    A very first Version of the GeoCacher Stats Webpage can be viewed at our Homepage -> Geocache Stats in the Menu

    This is a Screeny of the Page ->
    Right at the Moment, the webkey creation is still disabled, so no personal logfile browsing or personal stats are viewable.

    Atm there is only the Global Caching Statistics which may be of interest.

    Feedback as allways welcome.

    Sincerely Thomas
  22. Offline

    steve m

    So how does the Auto-generation of caches work? Are they spawned in a certain radius of the player, and if so how far?
  23. Offline

    Thomas Bucher

    Yes and No ;-)
    The Pluggin roles to place a Cache if it sees a Chunk the first time. Chunkload are driven by Players move around.
    So that is the Certain Radius.. All chunks loaded..

    Means, if you explore new Areas in a World, every Chunk that gets generated will be rolled to get a new Cache.
    This are the Steps for Cache placing:
    1.) Roll the Chunk to get a Cache (default 20/1000)
    2.) Roll a position on the Chunk
    3.) Check if there is Grass or Dirt on that Position
    4.) Check if this position is at least the defined minrange from all the other Caches.
    5.) Place the Cache and Broadcast the Announcement.

    The chunklist.data contains all the Chunks the Plugin has allready seen.
    If you remove this File, it will Reroll all Chunks again, as it thinks, they got never Rolled.

    Hope this explains how it is done.


    New Update release, see Posting 1.


    The Webpage has a First Alphastage..

    You can check it out here:
    Geocache Stats Pages

    You can login as
    user: Server
    password: demodemo

    Would be great to get some Feedback.

    Sincerely Thomas

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

    steve m

    Cool! I was mostly just wondering if they can spawn deep underground or like flying in the sky or something, the ones ive seen being auto generated are always just on the surface so far
  25. Offline

    Thomas Bucher

    With the new Version there is an option "Betterhide" you will have to Dig then 1-3 Fields deep.

    Greetz Thomas
  26. Offline


    This is awesome! I love geocaching!
  27. Offline


    If i want to disable Geocache for a moment, how can i remove all the chest?

    What is the syntax to use for "lootables" and "lootablesrare"?
  28. Offline

    Thomas Bucher

    The Chests will stay in place, but without any function. they can be smashed. However, if you reenable Geocache, they will be Fixed, if the Chunk gets loaded or the Cache is selected to be searched.

    I cannot remove all the Boxes on a Disable. Some Chunks may not be loaded by the Server. If you would have a lot of Caches like > 1000, it will be crititcal to load all those chunks, just to remove the Chests. Like it is on Startup for Fixing them.

    Well this seems to be still buggy. I end up with Defaults myself all the time. I am currently trying to solve this Problem, I will post an Update with the Syntax of them (I guess i have a typo in the Code somewhere)

  29. I dont get it.
  30. Offline

    Thomas Bucher

    Sorry, i dont get i neither.. What excatly you dont get??

    Greetz Thomas
  31. Offline


    Small request: Can there be an option in the config file for the color of the string when broadcasting new geocaches?

    Absolutely great plugin and looking forward to your future developments.

Share This Page