Coder Social home page Coder Social logo

dynmap-towny's Introduction

Webserver-Plugin for Bukkit (minecraft server mod) that provides HTTP1.1 Service to other Plugins

This Plugin will provide a Webserver, so other Plugin-Developers can use this one instead of program their own, to avoid multiple Webservers running and eating ressources and tcp ports.

dynmap-towny's People

Contributors

kobata avatar mikeprimm avatar norbipeti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dynmap-towny's Issues

Infowindow is annoying

YAML keeps messing up my HTML code, and it breaks everything. It would be better if it was a separate file.

Server Crashes On Player Join

Whenever A player joins, my server crashes. I have tested the 2 newest versions and they return the attached file. The version I am using is 1.15.2 on a paper server (build 118).

Log:
latest.log

Thank You!

[IDEA] Our claims on the map may appear as our flags.

It would be great if we could show national flags on the map equal to the demand size on the religion map. Also, the transparency of this flag can increase as you move away from the map and decrease as you get closer.
flag

Changing Nation Color

Hi There,

After moving to dynmap 0.25 and Dynmap-Towny 0.11 (Dev Build) i still cannot get my nations to have cutstom colors. I have all the town i want visible there but they are all the same color rather than being a different color based on nation. How do i make this so on these versions ?

here is my current Dynmap-Towny config.
http://pastie.org/2920825

Cheers Spidi

errors in 1.4.6

i get the follwing errors in 1.4.6

2012-12-21 15:13:00 [INFO] [TownyChat] Enabling TownyChat v0.35
2012-12-21 15:13:00 [INFO] [Dynmap-Towny] Enabling Dynmap-Towny v0.30
2012-12-21 15:13:00 [INFO] [Dynmap-Towny] initializing
2012-12-21 15:13:00 [SEVERE] Error occurred while enabling Dynmap-Towny v0.30 (Is it up to date?)
java.lang.NullPointerException
at org.dynmap.bukkit.DynmapPlugin.getMarkerAPI(DynmapPlugin.java:842)
at org.dynmap.towny.DynmapTownyPlugin.activate(DynmapTownyPlugin.java:868)
at org.dynmap.towny.DynmapTownyPlugin.onEnable(DynmapTownyPlugin.java:849)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:278)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:260)
at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)

Unclear licensing

I did fork this project to do some heavy customization and want to do this under an open source license. Since this repository has no LICENSE file its unclear to me what the original license is. I assume it is also an Apache license, since all your other Dynmap stuff is licensed with that license?

Could not load

2012-08-24 04:50:35 [SEVERE] Could not load 'plugins/Dynmap-Towny.jar' in folder 'plugins'
org.bukkit.plugin.UnknownDependencyException: Towny
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222)
at org.bukkit.craftbukkit.CraftServer.(CraftServer.java:198)
at net.minecraft.server.ServerConfigurationManagerAbstract.(ServerConfigurationManagerAbstract.java:50)
at net.minecraft.server.ServerConfigurationManager.(SourceFile:11)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

Null pointer exception on load

05:38:59 [WARNING] Task of 'Dynmap-Towny' generated an exception
java.lang.NullPointerException
at org.dynmap.markers.impl.MarkerAPIImpl$AreaMarkerUpdated.(MarkerAPIImpl.java:150)
at org.dynmap.markers.impl.MarkerAPIImpl.areaMarkerUpdated(MarkerAPIImpl.java:660)
at org.dynmap.markers.impl.AreaMarkerImpl.setCornerLocations(AreaMarkerImpl.java:306)
at org.dynmap.towny.DynmapTownyPlugin.handleTown(DynmapTownyPlugin.java:682)
at org.dynmap.towny.DynmapTownyPlugin.updateTowns(DynmapTownyPlugin.java:741)
at org.dynmap.towny.DynmapTownyPlugin.access$000(DynmapTownyPlugin.java:44)
at org.dynmap.towny.DynmapTownyPlugin$TownyUpdate.run(DynmapTownyPlugin.java:274)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:510)
at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)

Configuration:

Dynmap-Towny configuration

update:
period: 300
layer:
name: Towny
hidebydefault: false
layerprio: 2
minzoom: 0
showShops: false
showArenas: false
showEmbassies: false
showWilds: false
visibility-by-town: true
visibility-by-nation: true
infowindow:

%regionname% (%nation%)
Bürgermeister %playerowners%
Einwohner %playermanagers%

regionstyle:
strokeColor: '#FF0000'
strokeOpacity: 0.8
strokeWeight: 3
fillColor: '#FF0000'
fillOpacity: 0.35
homeicon: blueflag
capitalicon: king
fillColorShops: '#0000FF'
fillColorArenas: '#FF00FF'
fillColorEmbassies: '#00FFFF'
fillColorWilds: '#00FF00'
visibleregions: []
hiddenregions: []
custstyle:
customregion1:
strokeColor: '#00FF00'
y: 64
customregion2:
strokeColor: '#007F00'
y: 64
nationstyle:
Myrkonia:
strokeColor: '#09BD00'
fillColor: '#09BD00'
homeicon: greenflag
Telnarok:
strokeColor: '#0000FF'
fillColor: '#0000FF'
homeicon: blueflag
none:
homeicon: redflag

dynmap visibility

visibility-by-town: true
visibility-by-nation: true

Do not display players
Towny: 84.0.10
Dynmap-Towny: 0.50

Not All Towns Being Rendered

For some reason not all towns on our server are being displayed on our Dynmap. Claimed areas both large and small, both in and out of nations are not being rendered at all.

No errors are being generated and Towny itself is working as intended as far as we know.

Our DynMap can be seen here...

http://thewatershed.provisionhost.com:8123/

Our Capital City which is the largest area and encompasses most of the central continent is missing as well as a very small towns only a few chunks in size. There are 5 towns missing from the map at this particular moment.

Grids for claiming land

Is there a way I can turn on a 16x16 grid. It will help me with buying and claiming plots from towny. Does anyone know?

async error when hooked into dynmap

now i get this error and the towny chat peps say this would be on your side i have version .3

2012-12-21 15:16:14 [SEVERE] Could not pass event AsyncPlayerChatEvent to TownyChat v0.35
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
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:459)
at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:903)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:853)
at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_6.NetworkManager.i(NetworkManager.java:208)
at net.minecraft.server.v1_4_6.NetworkManager.c(NetworkManager.java:344)
at net.minecraft.server.v1_4_6.NetworkReaderThread.run(SourceFile:93)
Caused by: java.lang.NullPointerException
at org.dynmap.bukkit.DynmapPlugin.postPlayerMessageToWeb(DynmapPlugin.java:934)
at com.palmergames.bukkit.TownyChat.channels.StandardChannel.chatProcess(Unknown Source)
at com.palmergames.bukkit.TownyChat.listener.TownyChatPlayerListener.onPlayerChat(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 9 more

Towns with holes don't display propperly

If you create a town and form a loop with claimed land, dynmap shows the unclaimed interior land as claimed. The tiles properly report themselves as unclaimed in game.

Visible Plots (Price, Owner)

http://macemadunusus.no-ip.org:25566/ (My Dynmap)

I have a somewhat large suggestion regarding the Dynmap-Towny plugin. My suggestion is simply to add some more customization or visibility options into Dynmap-Towny.

As we all know, in towny it is possible to setup multiple plot types or even make plots for sale. Those plots can then be bought by players to build on. However, in dynmap it does not show a difference between those plots and the rest of the unowned/not for sale plots in the rest of the city.

My suggestion would be to simply be to add such a functionality. This functionality would be similar to the Embassy, Shop, Arena and Wilderness plot options already available. Simply adding one that is For Sale, or Owned.

The other part of the suggestion for Owned plots would be a way to display the name of the user who owns the plot. Many players have looked to the dynmap to find an empty plot, their friends plot, or even their plot if they went exploring around a city. I think it would be easier, instead of adding a click-able info box, to add a text box that displays as a separate layer on top of the towny plots with just the owners name. Like every layer, you can set a zoom distance visbility or even the style of the text box (Such as black, 50% transparent background, light grey text).

For the plot types, I would also love to see a way of separating it from the style of the town itself. Right now, the opacity or visibility of the plot types are reliant on the town. I would like to be able to not show the standard town plots (0 opacity) but still be able to show the Shop/Embassy/Arena/Wilderness/For Sale/Owned plots.

I believe such additional customization would make the Dynmap-Towny addon plugin much greater than it already is, and provide even more awesome customization functionality to dynmap. I hope that there is a way to do it, if there is good luck and thank you for your hard work!

Restricting Dynmap Chat to Game

This plugin appears to be impeding the ability of Dynmap chats to be sent to the game. I know it is supposed to block out MOD and ADMIN chats from being displayed on the dynmap, but it appears to also be blocking dynmap chats from getting in game.

Dynmap-Towny town colors on map fix

Hi,

I noticed that, after changing the town color in my town, this doesn't change in the dynmap.

All towns are red.

I checked the config but everything is enabled to use custom colors.

I didn't check fot nation colors.

? Dynmap does not have player-info-protected enabled

I'm sorry, but I couldn't find such variable anywhere. What is this and how exactly can it be fixed?

2012-12-17 17:34:05 [INFO] [Dynmap-Towny] Dynmap does not have player-info-protected enabled - visibility-by-town will have no effect
2012-12-17 17:34:05 [INFO] [Dynmap-Towny] Dynmap does not have player-info-protected enabled - visibility-by-nation will have no effect

Open towns

Please add support so that in dynmap it displays the towns open status.

This is a toggle feature (/town toggle )

your already supporting the other toggles: (well most of them)
explosion - yes
fire - yes
mobs - yes
public - yes
pvp - yes
taxpercent - no
open - no

I personally don't care about taxpercent support but someone else might.

Severe startup delay and lag

Hi there!

it seems Dynmap-Towny has issues with the latest Towny versions, or in general, I have no idea. A week ago the lag started. Removing Towny or Dynmap-Towny fixes the issue, I tracked it down using NoLagg, Dynmap runs some timers, but without Dynmap-Towny I am on about 3% usage, with Dynmap-Towny I have 30-60% usage with nothing happening at all oO

Oh and startup is back down to 20s from 40s with Dynmap-Towny oO

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.