V10WorldMap
V10WorldMap
This is a fork of BoxxWorldMap originally developed by DrAgonmoray.
This product includes GeoLite data created by MaxMind, available from http:www.maxmind.com/.
Features
- Real world map
- Hosted on your own serverl!
- Optional player list
- GeoIP location mapping
- Ability to show players that are currently online OR all players that are online or offline.
- Automatic map refreshing - Live data!
Installation
- Download BukkitHTTPD, and place it in your plugins folder.
- Download V10WorldMap and place it in your plugins folder, too.
- Run your server so that the BukkitHTTPD and V10WorldMap files generate and GeoLiteCity.dat will download+install. Stop your server again.
- Configure BukkitHTTPD and V10WorldMap how you like it.
- Forward port 8107 (or whatever port you have BukkitHTTPD on).
- Enjoy!
Usage
- Navigate to http://YOUR-SERVER-IP:8107/worldmap/ (you may have changed the default port of BukkitHTTPD to something other than 8107...)
- Observe the map. :D
Configuration
downloads
autoDownload
true if you want it to download and install the GeoLiteCity.dat file for you (if not present) - false otherwise.
databaseURL
The URL for the GeoLiteCity.dat file. GeoLiteCity.dat.gz and GeoLiteCity.dat.xz are supported, too.
settings
showOfflinePlayers
true if you want to have it to show offline players, too. See [url here] for more information.
offlinePlayerLimit
The maximum number of offline players to show. Please note that offline players which don't log onto your server again will take a place forever. See settings/players for more information.
showSidebar
true if you want it to show the sidebar. The sidebar shows the amount of players online as well as their names.
players
This stores the offline players (formatting: PlayerName§§latitude§§longitude). Don't change anything here if you don't know what you are doing! If you have offline players who don't join your server again and want to have their entries free for other players remove their entries.
Permissions
There's just one node: v10worldmap.invisible
Players who have this node won't be shown at the map (but still at the online list). It defaults to false, so normally no user has it.
FAQ
What is BukkitHTTPD?
BukkitHTTPD basically creates a website hosted on your Bukkit server that is accessible from web browsers! This allows you to create websites for your server without renting from a web/VPS provider. V10WorldMap uses BukkitHTTPD to let the map be hosted on your own server.
I can't see my map!
- Make sure your BukkitHTTPD is configured correctly.
- Make sure you typed in the map URL correctly
- Make sure that if you change your BukkitHTTPD port, you change it in the URL. The default is 8107.
- Check that your server is online.
- Check your configurations
- Look for any errors in the Bukkit console or logs.
- If all else fails, ask for help.
Do I have to use BukkitHTTPD
Yes. And no, I will not support JSONAPI as BoxxWorldMap did. DON'T ASK FOR THAT!
Did you copy BoxxWorldMap/reuse it's codes?
This is a fork, so: Yes.
Examples
http://liftcraft.zapto.org:8107/worldmap/
Want your server added to the list? Just tell me... :)
Credits
- DrAgonmoray for creating BoxxWorldMap.
- maxmind.com for the GeoIP Java library and GeoLight City.
- Google for the Javascript Maps API.
- Tukaani for XZ as well as the java implementation of it.
Could you possibly update this to the latest version of the game please? I'd be really grateful for that
Good bye everyone!
@Ceees2 It gets the players location (real world, not in-game!) with the help of their IPs and GeoLight City and prints it on a real-world map with the help of googles Javascript Maps API.
@V10lator
Can you explain me what it does first? As you said it isn't like dynmap.
@Ceees2 As I don't run a MC server for myself and no user here gives me a link to show there's nothing I can do, sorry. :(
But why not give it a test-run? If you choose to keep it please remember about the death example here.
Any examples that work?
@QBcrusher You shouldn't use it over dynmap. This is something completely different: Dynmap shows the in-game map, this shows the real-world map.
im not trying to be rude in anyway possible, im just curious, why should i use this over dynmap?
@domdomegg Should work. If not tell me what's broken.
1.3.2 Support?
@kutzki When you tell me what needs to be updated... :P
When will this be updated? :(
@Lucariatias It wasn't there when I tried it (and I tried it for around 1 hour). But the next day it was, so I added it to the description (as you may have noticed). ;)
@V10lator
It's still there... Did you try to view it on a restart or something?
@V10lator
Yes!
@xvilo Are you connecting from localhost?
In the latest recommanded build for 1.3.1 (build #2317) I get this error: Do you have any solution?
2012-08-12 22:07:19 [INFO] xvilo[/127.0.0.1:3344] logged in with entity id 381 at ([world] -206.73556019281634, 67.45003264296544, 222.39929302177558) 2012-08-12 22:07:19 [SEVERE] Could not pass event PlayerJoinEvent to V10WorldMap org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:161) at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92) at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121) at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41) at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at de.V10lator.V10WorldMap.VWMListener.onPlayerJoin(VWMListener.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 14 more
@Lucariatias Did you mean days or seconds? The link isn't available... ;)
@V10lator
We have ours up at http://liftcraft.zapto.org:8107/worldmap/ It's our production server but if we don't get enough donations (which is probable at the rate we're going) it'll go down in around 24 days :( Still, while it's there peeps can have a look if they want. There's a LOT of players on it ;3
Great plugin for international servers. Thank you :D