[UNSUPPORTED] [INFO] interesting places 1.2: name areas in the world

Discussion in 'Inactive/Unsupported Plugins' started by grandseiken, Jan 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    grandseiken

    yo! what is this sick plugin

    this plugin lets you give names to different areas of your world. then when you wander about it'll tell you when you're arriving in different areas, as if you were playing world of warcraft or some nonsense. it also gives a /who command that tells you which named place everyone is in. as simple as that! it doesn't change the actual minecraft gameplay at all

    downloads - updated to 1.2!

    interest.jar
    interest_src.zip

    installation
    • put interest.jar in your plugins directory
    • create a subdirectory called interest within the plugins directory (might not even need to do this)
    • you shouldn't have to, but if place data isn't being saved you can manually create a file called places.txt within the interest subdirectory
    commands
    • /mark name creates an area called name at your current in-game location
    • /mark r:## name is the same as above, but the maximum radius of the area is limited by the ## value (rather than being potentially infinite)
    • /mark x:## y:## z:## name is the same as above, but the area is constrained to a certain distance along each axis (i.e., a cuboid). note that the x, y and z values count in both directions so the sides of the cuboid are actually double the axis value, centered on your position. each axis is optional - you can specify only one or two axes if you like
    • /unmark removes the nearest area
    • /nearest tells you which area you are in and gives the coordinates of its original marker (this is what /unmark will remove if you use it)
    • /who or /where lists all players and the names of the areas they're currently in
    • /who name (or /where name) gives the area and exact coordinates of the player called name
    the idea is you divide the world into areas by creating points. every time you use the /mark command, a point is created at your current location. at any given moment, whichever point you're closest to is your current area. this makes it very easy to create different areas - you don't need to mark the boundary or anything, just stand roughly in the middle of your house and type /name My House. then go to your farm and type /name My Farm. suddenly the world's split into two regions, and you'll know whether you're closer to Your House or Your Farm.

    if you need more complex shapes, you can mark two or more nearby points with the same name and then those areas will "join up" to become one big area.

    for the geometrically-inclined, this method partitions the world into a bunch of arbitrary polyhedra (whose faces are planes equidistant to a pair of marked points). however, it does mean that areas can be infinite - e.g., if you just create one area called My House then your entire world will be My House, since no matter where you are the closest place is My House. but you can venture out into the wildernesses and name them and then it makes a bit more sense UPDATE as of 1.1 you can use the radius option to limit the maximum distance at which you'll still be in a given area

    someone might have made something like this before. I don't know. it doesn't have permissions or anything cause I live on a cool server with cool people. you can change the source if you want that

    configuration file - supported as of 1.2

    for further customization, create a file called config.txt in the interest subdirectory with the following content
    Code:
    ops-only=0
    disable-who=0
    entering=##3entering ##f$1
    leaving=##3entering wilderness
    who-head=##e$1 player(s) online:
    who-line-place=##e+ ##f$1 ##e- ##f$2
    who-line-no-place=##e+ ##f$1 ##e- ##fwilderness
    these are the default values (i.e., same as if there were no config.txt). edit as you wish.
    • if ops-only is 1, only ops can use /mark and /unmark
    • if disable-who is 1, /who is disabled (/where still works) - in case of conflict
    • entering is the message displayed when you enter an area. $1 gives the name of the area
    • leaving is the message displayed when you leave an area. $1 (not used by default) gives the name of the area
    • who-head is the header of the /who command. $1 gives the number of players online
    • who-line-place is the line displayed for players who are currently in an area. $1 gives the player name, $2 gives the area name
    • who-line-no-place is the line displayed for players who are not currently in any area. $1 gives the player name
    double hash symbols (##) are substituted with § for colour codes. secret fact: this also works for area names now!
     
    madamage and Raws like this.
  2. Id like to request an update for the plugin regarding Craftbukkit 271+, multiple worlds are now supported and it would be greate if this plugin supports multiple worlds (eg: not having the same areas on both worlds)
     
  3. Offline

    Caziban

    You are a God. I've been looking everywhere for this. the perfect "icing on the cake" for my RPG server!
     
  4. Offline

    Anthemic

    I'm still experiencing quite a bit of lag when I enable this plugin.
     
  5. Offline

    Outlaw_Shadow

    I have no problems with this add-on, and I love it. I was wondering, though, if it was possible to add some kind of player zone logging. (i.e. someone /marks their house and goes away. Someone2 enters that zone, does whatever, and leaves. Someone then returns to see that he has been robbed, and massively grief'd. Log says Someone entered zone x: date-Time stamp, and Someone2 entered zone x: date-Time stamp) found a mod for what I was asking about. First and last sentences still stand though.

    Regardless, I really enjoy this mod!
     
  6. Offline

    NobodyOfNaught

    Any estimate on when the disable /who option is going to happen? I'm dying to install this but it's too dangerous on a PvP server.

    I love the simplicity of it simply being the nearest point, the maximum radius and chaining multiple points of the same name for something like a mountain range is all you need, please do not add complicated shapes.

    If people want that they can use worldguard regions (welcome messages are comeing soon)
     
  7. Offline

    Checksumfail

    Hey, I updated to bukkit build 323 and I'm now getting this error

    SEVERE: org.bukkit.Server.getWorlds()[Lorg/bukkit/World; (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.Server.getWorlds()[Lorg/bukkit/World;

    Interesting Places is the only mod that doesn't load so I'm pretty sure it's something to do with it, It's probably my favourite mod so I hope it gets fixed soon :(
     
  8. Offline

    Emalde

    Came to post this. Right now this plugin only supports coordinates, which gets messy when you're spanning across different worlds.
     
  9. Offline

    xxdilbertxx

    Yeah multi-world support would be nice
     
  10. Offline

    RenStrike

    Seconded!
     
  11. Offline

    Archelaus

    I've moved this into the submissions forum. Your title and thread don't meet the requirements. Please revise both and it will be moved back.
     
  12. Offline

    Azraeil

    Code:
    2011-02-21 17:21:42 [WARNING] Using the stupidly long constructor com.bukkit.seiken.interest.Interest(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of Interest to remove it! (Nothing is broken, we just like to keep code clean.)
    
    Here's another vote for multiworld support. I suppose I won't be able to use this plugin until then. :(
     
  13. Offline

    Stephen92

    will this work for any craftbukkit build im currently at 328.
     
  14. Offline

    niftyapple

    2011-02-22 16:52:03 [WARNING] Using the stupidly long constructor com.bukkit.sei
    ken.interest.Interest(PluginLoader, Server, PluginDescriptionFile, File, File, C
    lassLoader) is no longer recommended. Go nag the plugin author of Interest to re
    move it! (Nothing is broken, we just like to keep code clean.)
     
  15. Offline

    Aro2220.com

    Nice but there are a few reasons why I can't use this:

    1. No permissions. It says ops can use it but that's really buggy. I set my guy as an op and he still can't use it so I literally am having to edit the config.txt file and turn off ops only, make changes, then edit it and turn ops only back on.

    2. No world-edit interaction with cuboids. It's WAY too cumbersome to type in coordinates and stuff...and the approximations are not exact enough for my members homes. I really need to be able to select a cuboid using worldedit and then apply interesting places to that cuboid. That would be ideal.

    Which is too bad since this is such a fantastic idea.
     
  16. Offline

    Phaedrus

    this was a great plugin, but i think its been abandoned.

    worldedit/worldguard has welcome and farewell messages for regions now, so i guess there is little point to this plugin anymore.... :(
     
  17. Offline

    atlem

    cant get this workin in beta 1.3.. i use premissions tho mabe that is the problem??
    plz help, this plugin is great
     
  18. Offline

    Sifaus

    Is it possible to get names for chunks? By not giving coordinates, just typeing /mark chunk or something like that?
     
  19. Offline

    zergling50

    is this compatible with 1.3??????????
     
  20. Offline

    Raymond Doerr

    I'm currently using this in 1.3 and its working fine?

    Although, it's screwed up in multiworld.. if you walk into an area in the nether, for example, it'll display info from the default world as if you're there instead.

    For example, if "interests" tags area 10,0,10 as "My Home" in the default world, when you go to 10,0,10 in the nether it'll say "Now entering My Home", even though you're obviously not there.
     
  21. Offline

    asdaarg

    It appears to work fine for me. There are several features though I've been waiting for for some time, findMe integration, multiworld, cuboid selection and dynmaps integration. If it isn't going to be implemented any time soon, I might as well do it.
     
  22. Offline

    Arcwolf

    Would you be willing to make a small update to remove the constructor nag. Because according to the Opps I broke your plugin thread that issue will break plugins after tonight. Taking this little guy with it.

    http://forums.bukkit.org/threads/discussion-oops-i-broke-your-plugins.961/page-2#post-76625

    And after spending something on the order of 5 straight hours labeling the world. Yea that would blow!
     
  23. Offline

    Anthemic

    Abandonware. Sadness.
     
  24. Offline

    smartaleq

    I really like this plugin and would love it if the author continued to support it.

    edit: until the author returns, I recompiled the source without the constructor.

    I will remove this version if/when GrandSeiken returns. If he doesn't return I may fork and continue to update.
    New Link
     
  25. Offline

    Arcwolf

    <sigh>

    Sorry, the page (or document) you have requested is not available.

    Please check the address and try again.
     
  26. Offline

    atlem

    are you using premissions plugin ?
     
  27. Offline

    Maskur

    This is what I get on startup with bukkit 456

    Code:
    [SCHWERWIEGEND] Could not load plugins/interest.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.bukkit.seiken.interest.Interest.<init>()
            at java.lang.Class.getConstructor0(Class.java:2706)
            at java.lang.Class.getConstructor(Class.java:1657)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
    
     
  28. @smartaleq : your link doesn't work, but big thank you if can re-upload and if it's compatible with the new craftbukkit!
     
  29. Offline

    Dutchy

    Would love to see it updated! (remove TSLPC)
    --- merged: Feb 27, 2011 5:50 PM ---
    I've made a fork of this plugin and started updating it. You can follow it (and download the snapshots) on https://github.com/TuinCraft/Interest
    --- merged: Feb 27, 2011 6:21 PM ---
    I've updated this plugin and called it version 1.3.
    grandseiken, are you still interested in maintaining this plugin? Let me know if I should take over.
     
  30. Offline

    smartaleq

    This link may work. There may be issues with data saving. Just keep posting issues to this thread, I'll look at what it takes to update.
     
  31. Offline

    Arcwolf

    The version you released resets its data file every time the server is restarted. All marked locations are deleted.

    18:20:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-473-gb7e0fc1-b457jnks (MC: 1.3)

    version 1.3

    I think it might have something to do with the the Places method in the Places.java. When my personal modification of intersting places did the same thing it was a null being output for the plugin.getDataFolder();

    I dont know why it did that but

    BufferedReader reader = new BufferedReader( new FileReader( "plugins\\interest" + File.separator + Interest.DATA_FILE ) );

    was the only way I could fix it to work correctly. A hack job I know but that worked. I'd love to see how you go about fixing it.

    BufferedReader reader = new BufferedReader( new FileReader( plugin.getDataFolder() + File.separator + Interest.DATA_FILE ) );

    doesnt seem to work? duno why getDataFolder() returns a null. Perhaps you could shed some light on that.
     
Thread Status:
Not open for further replies.

Share This Page