Giter VIP home page Giter VIP logo

dynmap-griefprevention'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-griefprevention's People

Contributors

mikeprimm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynmap-griefprevention's Issues

Nag author: 'mikeprimm' of 'Dynmap-GriefPrevention' about the following

[Server thread/ERROR]: Nag author: 'mikeprimm' of 'Dynmap-GriefPrevention' about the following: This plugin is not properly shutting down its async tasks when it is being shut down. This task may throw errors during the final shutdown logs and might not complete before process dies.

Console spam -> Server Crash

It spamed this 11 times (All of the log is attached) followed by a server crash + restart.

2020-04-04-16.log
:

[16:33:49] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH - git-Paper-155 (MC: 1.15.2) ---
[16:33:49] [Paper Watchdog Thread/ERROR]: The server has not responded for 10 seconds! Creating thread dump
[16:33:49] [Paper Watchdog Thread/ERROR]: ------------------------------
[16:33:49] [Paper Watchdog Thread/ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[16:33:49] [Paper Watchdog Thread/ERROR]: ------------------------------
[16:33:49] [Paper Watchdog Thread/ERROR]: Current Thread: Server thread
[16:33:49] [Paper Watchdog Thread/ERROR]: PID: 23 | Suspended: false | Native: true | State: RUNNABLE
[16:33:49] [Paper Watchdog Thread/ERROR]: Stack:
[16:33:49] [Paper Watchdog Thread/ERROR]: java.io.WinNTFileSystem.getBooleanAttributes(Native Method)
[16:33:49] [Paper Watchdog Thread/ERROR]: java.io.File.exists(Unknown Source)
[16:33:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_15_R1.WorldNBTStorage.getPlayerData(WorldNBTStorage.java:216)
[16:33:49] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_15_R1.CraftOfflinePlayer.getData(CraftOfflinePlayer.java:196)
[16:33:49] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_15_R1.CraftOfflinePlayer.getBukkitData(CraftOfflinePlayer.java:200)
[16:33:49] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_15_R1.CraftOfflinePlayer.getName(CraftOfflinePlayer.java:58)
[16:33:49] [Paper Watchdog Thread/ERROR]: me.ryanhamshire.GriefPrevention.GriefPrevention.lookupPlayerName(GriefPrevention.java:3203)
[16:33:49] [Paper Watchdog Thread/ERROR]: me.ryanhamshire.GriefPrevention.Claim.getOwnerName(Claim.java:688)
[16:33:49] [Paper Watchdog Thread/ERROR]: com.samoatesgames.griefpreventiondynmap.GriefPreventionDynmap.formatInfoWindow(GriefPreventionDynmap.java:331)
[16:33:49] [Paper Watchdog Thread/ERROR]: com.samoatesgames.griefpreventiondynmap.GriefPreventionDynmap.createClaimMarker(GriefPreventionDynmap.java:290)
[16:33:49] [Paper Watchdog Thread/ERROR]: com.samoatesgames.griefpreventiondynmap.GriefPreventionDynmap.updateClaims(GriefPreventionDynmap.java:227)
[16:33:49] [Paper Watchdog Thread/ERROR]: com.samoatesgames.griefpreventiondynmap.GriefPreventionDynmap.access$000(GriefPreventionDynmap.java:26)
[16:33:49] [Paper Watchdog Thread/ERROR]: com.samoatesgames.griefpreventiondynmap.GriefPreventionDynmap$1.run(GriefPreventionDynmap.java:115)
[16:33:49] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84)
[16:33:49] [Paper Watchdog Thread/ERROR]: org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452)
[16:33:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1185)
[16:33:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430)
[16:33:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1112)
[16:33:49] [Paper Watchdog Thread/ERROR]: net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934)
[16:33:49] [Paper Watchdog Thread/ERROR]: java.lang.Thread.run(Unknown Source)
[16:33:49] [Paper Watchdog Thread/ERROR]: ------------------------------
[16:33:49] [Paper Watchdog Thread/ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[16:33:49] [Paper Watchdog Thread/ERROR]: ------------------------------

Consloe error

Anyone have any idea what this is?

10:03:21 PM [22:03:21 WARN]: [Dynmap-GriefPrevention] Task #41 for Dynmap-GriefPrevention v0.70 generated an exception
10:03:21 PM java.lang.NoSuchMethodError: me.ryanhamshire.GriefPrevention.Claim.getUUID()Ljava/util/UUID;
10:03:21 PM at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.handleClaim(DynmapGriefPreventionPlugin.java:220) ~[?:?]
10:03:21 PM at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.updateClaims(DynmapGriefPreventionPlugin.java:278) ~[?:?]
10:03:21 PM at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.access$100(DynmapGriefPreventionPlugin.java:42) ~[?:?]
10:03:21 PM at org.dynmap.griefprevention.DynmapGriefPreventionPlugin$GriefPreventionUpdate.run(DynmapGriefPreventionPlugin.java:109) ~[?:?]
10:03:21 PM at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) ~[craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]
10:03:21 PM at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]
10:03:21 PM at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]
10:03:21 PM at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]
10:03:21 PM at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]
10:03:21 PM at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]
10:03:21 PM at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.2-1-ga6e0bfd-b3095jnks]

<div showing up in information box's.

Hello, I today installed this and while its a fairly fresh install. Was just woundering if I may have done something incorrect.

My map can be found at:
http://survival.torchwoodserver.org:1564

For some reason, administrator claims don't so it. But when I click on a regular players claim, it shows "for example":

div class="infowindow">Claim Owner: sentheticangel
Permission Trust:
Trust: doomtraininc
Container Trust:
Access Trust:

Now I looked at the config, and it looks completely fine. So I'm a bit stumped. I also looked at the source code from the web page, and its missing the "<" before div even though it does exist in the config file.

I also tried it on two other web browser, FireFox, and Google Chrome. In addition to my main web browser "Opera".

Also, just another slight issue. This is not with greif prevention but since you work on them both I figured, why not ask.

When I go into surface view. 90% of it is all black. ...Its fine on flat view, but surface view doesn't show very much if anything. Is there something set wrong with my config? I have it on the hires render.

Thank you for your help! I enjoy this map very much.

~Flash619

Dynmap-Griefprevention bug with 1.6.1

I switched to a new map and did /dynmap purgeworld to all worlds i had. Here the error I get:

2013-07-03 12:40:53 [WARNING] [Dynmap-GriefPrevention] Task #47 for Dynmap-GriefPrevention v0.40 generated an exception
java.lang.ClassCastException: me.ryanhamshire.GriefPrevention.ClaimArray cannot be cast to java.util.ArrayList
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.updateClaims(DynmapGriefPreventionPlugin.java:239)
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.access$000(DynmapGriefPreventionPlugin.java:34)
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin$GriefPreventionUpdate.run(DynmapGriefPreventionPlugin.java:94)
at org.bukkit.craftbukkit.v1_6_R1.scheduler.CraftTask.run(CraftTask.java:58)
at org.bukkit.craftbukkit.v1_6_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:518)
at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:235)
at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:481)
at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:413)
at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582)

Update to 1.14

Is this plugin even updated anymore? :o

Would love to use it on mc 1.14.*

Update of the regions does not work

The update of the regions does not work, it is displayed correctly during their creations but then if it is modified, on DynMap the change is taken into account only after a restart of the server.

[Request] Last seen option for pop-up baloon

Last Seen is tracked by GriefPrevention, In the mysql database its in a row lastlogin to calculate when they were last seen. Essentials records this data too.

To give the ability to search for abandoned claims.

griefprevention-dynmap incompatible

[16:23:58] [Server thread/WARN]: [Dynmap-GriefPrevention] Task #54 for Dynmap-GriefPrevention v0.90 generated an exception
java.lang.NullPointerException
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.handleClaim(DynmapGriefPreventionPlugin.java:229) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.updateClaims(DynmapGriefPreventionPlugin.java:279) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.access$000(DynmapGriefPreventionPlugin.java:33) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin$GriefPreventionUpdate.run(DynmapGriefPreventionPlugin.java:104) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-4460863-262c777]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-4460863-262c777]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot.jar:git-Spigot-4460863-262c777]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-4460863-262c777]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-4460863-262c777]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-4460863-262c777]
at java.lang.Thread.run(Thread.java:722) [?:1.7.0]

[Request] Claim ID

The option to show the claim ID in the info window.
This could be used to pass this ID as a variable into another web app to sell a claim or transfer it to another player via a web UI.

[Request] Player based infowindow & onhover option

Being able to set custom player based infowindow's would give more customization for each plot, I could pull any data from that players statistics, Their latest Forum posts, Custom house banners etc or Have it so they could set a message for all their claims.

To add to this an option to show the info window on-hover would be a simple option that might be worth trying out.

hide individual admin claims

as requested per pm...
the option to hide individual admin claims on dynmap.
grief prevention should now offer unique identifier for claims (imo).

Error with spigot 1.8

The error is as follows:
[11:50:47 INFO]: [Dynmap-GriefPrevention] Enabling Dynmap-GriefPrevention v0.70
[11:50:47 INFO]: [Dynmap-GriefPrevention] initializing
[11:50:47 ERROR]: [Dynmap-GriefPrevention] Plugin Dynmap-GriefPrevention v0.70 h
as failed to register events for class org.dynmap.griefprevention.DynmapGriefPre
ventionPlugin$GPListener because me/ryanhamshire/GriefPrevention/events/ClaimCre
atedEvent does not exist.
[11:50:47 INFO]: [Dynmap-GriefPrevention] version 0.70 is activated
//Some other stuff loads
[11:50:49 WARN]: [Dynmap-GriefPrevention] Task #47 for Dynmap-GriefPrevention v0
.70 generated an exception
java.lang.NoSuchMethodError: me.ryanhamshire.GriefPrevention.Claim.getUUID()Ljav
a/util/UUID;
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.handleClaim(Dy
nmapGriefPreventionPlugin.java:220) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.updateClaims(D
ynmapGriefPreventionPlugin.java:278) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.access$100(Dyn
mapGriefPreventionPlugin.java:42) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin$GriefPreventio
nUpdate.run(DynmapGriefPreventionPlugin.java:109) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java
:71) ~[spigot_server.jar:git-Spigot-47b1dff-f233e7d]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHea
rtbeat(CraftScheduler.java:350) [spigot_server.jar:git-Spigot-47b1dff-f233e7d]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:6
94) [spigot_server.jar:git-Spigot-47b1dff-f233e7d]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:3
16) [spigot_server.jar:git-Spigot-47b1dff-f233e7d]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:6
23) [spigot_server.jar:git-Spigot-47b1dff-f233e7d]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java
:526) [spigot_server.jar:git-Spigot-47b1dff-f233e7d]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]

error while starting up

[18:11:36] [Server thread/WARN]: [Dynmap-GriefPrevention] Task #120 for Dynmap-GriefPrevention v0.80 generated an exception
java.lang.NullPointerException
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.handleClaim(DynmapGriefPreventionPlugin.java:212) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.updateClaims(DynmapGriefPreventionPlugin.java:268) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin.access$000(DynmapGriefPreventionPlugin.java:33) ~[?:?]
at org.dynmap.griefprevention.DynmapGriefPreventionPlugin$GriefPreventionUpdate.run(DynmapGriefPreventionPlugin.java:100) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot.jar:git-Spigot-c46583f-0643caa]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot.jar:git-Spigot-c46583f-0643caa]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot.jar:git-Spigot-c46583f-0643caa]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-c46583f-0643caa]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot.jar:git-Spigot-c46583f-0643caa]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot.jar:git-Spigot-c46583f-0643caa]
at java.lang.Thread.run(Thread.java:722) [?:1.7.0]

Does not specify API-version

When I try and load I get this error:
16.11 09:03:45 [Server] WARN Plugin Dynmap-GriefPrevention v0.80 does not specify an api-version.

looking for compatible version

I found it's always difficult to find a compatible version, that is: compatible to the installed dynmap AND griefprevention version. I even tried to compile the fork from eccentricdevotion (can't open a new issue there), but that fails with "Failure to find org.bukkit:bukkit:jar:1.8-R0.1-SNAPSHOT". As the bukkit-repo has no reference for 1.8 or higher, I understand that this could not work.
At the moment I'm running GriefPrevention v9.9, so I think even eccentricdevotion's version will not run on my server. Could someone help me to getting the compile working? I'm no expert in programming (yet), but I'm eager to learn!

Dynmap freezes after installing Dynmap-GriefPrevention

I downloaded the plugin. Placed it in my plugins folder and installed it using Plugman. I reloaded Dynmap and then refreshed my page. So, I saw the 'GriefPrevention' marker but, there are no regions showing. I tried to navigate but, it froze.

I am using Dynmap v2.2-1118, GriefPrevention v13.6 and Dynmap-GriefPrevention v0.80, which I temporarily disabled. Please help, thanks!

Console error

On server load:
http://pastebin.com/qus6mN3W

The task number is always in the 40's and is usually 42,43,44, or 45

CraftBukkit version git-Bukkit-1.7.9-R01-10-g8688bd4-b3092jnks (MC: 1.7.9) (Implementing API version 1.7.9-R0.2)

Dynmap-GriefPrevention version 0.70

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.