[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

    Thomas Bucher

    With Version 1.6 Now the Compass shows in the Direction of the Cache !!
     
  3. Offline

    saturnine_nl

    I like this plugin.
    I have a question though ... I run a multiworld server and I want to enable geocache on 1 of my worlds.
    This world isnt the default start world. Is there a way to set a default world in the config files. Because
    I dont want to manualy have to rename all the World= inside the geocache data files.

    greetings Sat
     
  4. Hello Thomas! Would it be possible that you add an option so players can modify their own autolog message?
    thx
     
  5. Offline

    Thomas Bucher

    Autocaches are on all Worlds.
    I am sick in bed with antibioticas, and not ble to add this soon.

    I will make an update once i am able to do so.

    Thomas

    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

    A Custom message can be posted on autolog vie /geo message cachename add your message here

    Sincerly Thomas

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

    saturnine_nl

    I hope you get well soon. And I dont mind to wait untill you do.

    [edit]
    I was thinking about a request for the update, wich wouldnt be that hard to build in to.
    could the geocache broadcast line be :New geocache [id] has been placed on world X
    [/edit]
     
    kahlilnc likes this.
  7. Offline

    kahlilnc

  8. Offline

    blackbinary

    dos this plugin work with build 860?
    the autocreated chests are allway emty.

    this is my config:

    Code:
    mysqlusername: cacher
    usehelp: true
    autocachechance: 20
    mysqlport: 3306
    betterhide: true
    debug: false
    neededspace: 75
    searchtool: 345
    broadcastnew: true
    norangecheckforcustoms: false
    mysqlpassword: changeme
    underwatercaches: false
    autologenabled: true
    betterhidechance: 70
    broadcastcolor: 2
    enableautocaches: true
    mysqlhostname: localhost
    autogetnewenabled: true
    usemysql: false
    betterhidedeep: 10
    message: Bla bla Test
    lootables: 4,5,35,17,272,273,274,275,65,295,296,338
    lootablesrare: 265,266
     
  9. Offline

    kahlilnc

    860? or 928?
     
  10. Offline

    blackbinary

    is there somthing in my yml wrong ?
     
  11. Offline

    kahlilnc

    Did you add any of the addons?
     
  12. Offline

    blackbinary

    yes, i have many plugins on my server i will try it on a plain Bukkit server and report again
     
  13. Offline

    Thomas Bucher

    ADDONS: (You need this to get some loot at all!!)
    Default Loot:
    Download the LootPlugin 0.1a <- 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
     
    kahlilnc likes this.
  14. Offline

    kahlilnc

    YOUR BACK. Hip Hip Hurray, nice to know you got better. :D
     
    Thomas Bucher likes this.
  15. Offline

    blackbinary

    Okay now it works but i have some other Questions, sorry ^^

    I have a Loottable like this :
    Code:
    lootables:
    - 14,5
    - 15,5
    - 263
    - 262,32
    - 349,2
    - 351,4
    - 46,2
    - 19,5
    - 30,2
    - 340
    - 277
    lootablesrare:
    - 264,4
    - 282,2
    - 278,1
    - 310
    - 311
    - 312
    - 313
    - 277
    - 51,4
    Now i get only one Item from the Loottable. - Thats just fine for the rar Items.
    BUT is there a Way to randomy select 2-3 Items from the normal list? not only just 1.

    For example with this list a Player finds a Chache and get randomly 3 Items on the list with there Amount :
    - 30,2
    - 263
    - 262,32


    2nd,
    Is there a Way to Support the Economy-System of Essentials?

    Thank you very mutch !
    Black
     
  16. Offline

    Thomas Bucher

    1.) Nope there is no such option atm. I Add this to the Todo-List
    2.) I will check it out, and if i find the time, i will make an addon for that as well. (Add to Todos)
     
    blackbinary likes this.
  17. Been long since I looked at this, had too many issues back then.

    Would like to give it a try. I see multiworld support, but how do I enable/disable this plugin per world? I want to enable it in our scratch worlds, not in our main world.
     
  18. Offline

    Thomas Bucher

    This is not possible yet.
    I still need to implement that.
    Its on the Todo-List
    Sadly i was very sick, and wasnt able to work for > 5 weeks. And now i have a lot of todos.

    I will implement asap.

    Sincerely Thomas
     
  19. Offline

    BafTac

    very nice Mod!
    unfortunately I cannot creat a Multi Cache :(
    I tried it with /geo hide (because of: "MultiCaches now possible. use /geo hide option and /geo message") but there still nothing happens :(

    I also fail when im trying to start a webpage.
    I downloaded the webpage sources but i dont know where i have to put the files.. I am running the server on my own pc..

    maybe you can help me!?

    BafTac,
    Ps: sorry for my bad english
     
  20. Offline

    Thomas Bucher

    with /geo hide, you hide the Cache from the List of Caches, witch can be found.
    hidden Caches can only be targeted by /geo find thecachename
    So you can add a message on any cache with /geo message
    witch points to the next cache, which is hidden.
    A message like: Find your next Waypoint with /geo find HGJWayPoint34
    So you can make Chains / Multicaches.

    The Webpages is plain php. you need a Webserver like apache with php enabled. put the packed dir in the wwwroot and access it, after you adjusted the config.

    Sincerely Thomas
     
  21. Offline

    BafTac

    thanks!

    Yesterday I had a little discussion with my friend about this mod and we got some ideas how you can make this mod better:

    1) Its a nice idea that everyone who finds a cache will get some goodies but we think that iron ingots, diamonds or something else is too good because than you only will go caching instead of mining. Because of this we set that everyone only get a Sponge (like a trophy). Our idea is that you maybe create two items ( a golden and a normal trophy) and the possibility to set that the FTF will get the golden trophy and everyone who finds the cache too will get the normal trophy. And than you can place this trophys in your house and the others can see how much caches you found.

    2) Do you think that it is possible to create different types of size like small, normal and big.
    I think so:
    small: a chest like a slap
    normal: a normal chest
    big: a double chest

    3) Is it possible to create a list with all placed caches with the name of the owner and that you can see this list with /geo show cachelist or something else?


    I hope you can understand everything and maybe you set one (or more?) of my ideas on your To-Do-List!?

    Sincerely BafTac
     
    Thomas Bucher likes this.
  22. Offline

    saturnine_nl

    suggestion/question : is it possible to add a config and check for a x-z limit , aka caches are only created within the limit.

    I run a rented server with map limits, if a player is exploring near the border, often the caches are created on the unreachable site of the border. If this happens I have to 'hack' the cache a little so it thinks the player already found the cache.

    I really like this plugin and its one of the most favorite activities among my users. Keep up the good work.

    Greetings Sat
     
  23. Offline

    Thomas Bucher

    It is.
    I am still very busy atm, but i add it to the todo list. I will Add this with the world-limit support
    Sincerely Thomas
     
  24. Offline

    saturnine_nl

    I am not a kid with the patience of a goldfish ... So I'll see it when its done ;)
     
  25. Offline

    blackbinary

    please please support essentials and support more than one normal loot
    ;)
     
  26. Offline

    Asphodan

    Code:
    13:44:00 [INFO] [GeoCacher] Fixed Cache  'GC21556' it was not a Chest somehow!!!
    13:44:48 [INFO] [GeoCacher] Fixed Cache  'GC72342' it was not a Chest somehow!!!
    13:45:05 [INFO] [GeoCacher] Fixed Cache  'GC85461' it was not a Chest somehow!!!
    13:46:06 [INFO] [GeoCacher] Fixed Cache  'GC51137' it was not a Chest somehow!!!
    13:46:06 [INFO] [GeoCacher] Fixed Cache  'GC4021' it was not a Chest somehow!!!
    13:46:06 [INFO] [GeoCacher] Fixed Cache  'GC14445' it was not a Chest somehow!!!
    13:46:06 [INFO] [GeoCacher] Fixed Cache  'GC87785' it was not a Chest somehow!!!
    13:46:06 [INFO] [GeoCacher] Fixed Cache  'GC45341' it was not a Chest somehow!!!
    
    Lots of this, even on startup.
    @thomas Butcher
     
  27. Offline

    Thomas Bucher

    This happens, if you recreate a world... Or if a World doesn't get saved etc..
    If will recreate all the Cache not found in the World...

    If you want to start over, remove all the .gc Files in the plugins/GeoCacher directory. Also you may wanna delete the chunklist file, to regenerate new Caches on new Areas..

    Sincerely Thomas
     
  28. Offline

    Thomas Bucher

  29. Thanks for the reply! Get well soon! ;)
     
  30. Offline

    sabik

    Hi I'm Team Sabik from Denmark and I love both worlds. I have been geocaching since 2004. And discovered Minecraft for 2 weeks ago. This mod sounds really nice, is there a server where i can trye this ?

    -Team Sabik/SabikDK
     

Share This Page