Giter Club home page Giter Club logo

advancedreplay's People

Contributors

alex7892014 avatar cosmohdx avatar gq97a6 avatar iaiao avatar jumper251 avatar justindevb avatar rafael5gr2 avatar wincraftde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

advancedreplay's Issues

Player Joins Server when Recording is running

When a Recording is running and a Player joins the Server he will not be Part of the Replay.

I don't know if that is wanted or Bug, if its wanted that Players that join are not included in the Replay a Config Value therefore would be great.

Join Message Config Value

Since you recently added the config option to "add new players" and rejoining players are also getting recorded, could you add the option "join_message" as an extension to the existing "quit_message"?

Compiling plugin

Hi, I wish to know how to compile the plugin as there is no pom.xml. I understand there is a Spigot release but I still wish to compile the plugin myself.

Thank you!

Remove client sided blocks

Hi there! I'd love to use this plugin to help me out with replaying, and it would be great if the following were possible:

  1. Separate worlds for replays, or ability to set replay world where the area around the selected players is "pasted in" (for the case of only replaying 1 or multiple players, and would be complex) (continuation of #21)
  2. Ability to use the API to list replays & time created. As well as better docs (#18 cotd)
  3. Removal of the client sided blocks when replays are over, in the case that the replays are replays of minigames where blocks would be removed.

Thanks!

Feature request /replay startime <player> <seconds>

Feature request
/replay startime
Eg:
/replay startime playerX 5s #after 5 seconds will automatically stop playback and save
D:\Server\Paper1.12.2\plugins\AdvancedReplay\replays
playerX-day-month-year-hour-minute-second.replay
#day-month-year-hour-minute-second = return real time after stop

I think a lot of server admins will like this.
I personally use it for the anti-hack plugin NoCheatPlus
Hope you can add it <3

Duplicate entity UUID

Purpur 1.16.5
Client 1.17
Plugin version: 1.7
Client error:
[12:13:28] [Render thread/WARN]: Duplicate entity UUID 1c96a7e4-219e-3834-ad02-90558e484f6d: class_745['tomikcz987'/17469, l='ClientLevel', x=18.88, y=63.00, z=-5.38]

With 1.17 I can't see myself in replay or player that game already sees . This is due to change in 1.17

Items are real

If a recording captures a player throwing items on the ground and is then played back it shows the items being thrown on the ground. These are real items that get thrown onto the ground and anyone can pick them up.

Possible solution is to tag the items with a meta data and then listen to https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/EntityPickupItemEvent.html

and check if the metadata matches and cancel the pickup. Also add the items to a list to be despawned when the replay ends.

WARN about System.out/err.print

Paper 1.17.1-151
AdvancedReplay 1.6.6

Paper today changed their logger. On server start-up, the log shows (twice)

[08:11:09] [Server thread/WARN]: Nag author(s): '[Jumper251]' of 'AdvancedReplay' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).

error whilst recording for a couple of minutes

Hello, I've come acrost a couple of errors whilst recording for a bit.
the exeptions are always 71 and 22

this is one of the errors

[23:11:15] [Craft Scheduler Thread - 15/WARN]: [AdvancedReplay] Plugin AdvancedReplay v1.4 generated an exception while executing task 71
java.util.ConcurrentModificationException: null
        at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_211]
        at java.util.ArrayList$Itr.next(Unknown Source) ~[?:1.8.0_211]
        at me.jumper251.replay.replaysystem.recording.Recorder$1.run(Recorder.java:87) ~[?:?]
        at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[server.jar:git-Spigot-03bd4b0-6984fc4]
        at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [server.jar:git-Spigot-03bd4b0-6984fc4]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_211]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_211]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]

and this is the other one

[21:22:11] [Craft Scheduler Thread - 1/WARN]: [AdvancedReplay] Plugin AdvancedReplay v1.4 generated an exception while executing task 22
java.util.ConcurrentModificationException: null
        at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_211]
        at java.util.ArrayList$Itr.next(Unknown Source) ~[?:1.8.0_211]
        at me.jumper251.replay.replaysystem.recording.Recorder$1.run(Recorder.java:87) ~[?:?]
        at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81) ~[server.jar:git-Spigot-03bd4b0-6984fc4]
        at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) [server.jar:git-Spigot-03bd4b0-6984fc4]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_211]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_211]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]

The server is running
CraftBukkit version git-Spigot-03bd4b0-6984fc4 (MC: 1.14.1) (Implementing API version 1.14.1-R0.1-SNAPSHOT)

Plugins i am running on the server are:

  • LuckPerms,
  • WorldEdit,
  • CrisTreeCapitator,
  • BetterShulkerBoxes,
  • AdvancedReplay,
  • Multiverse-Core,
  • ProtocolLib,
  • Multiverse-Inventories

Spruce wood issue

Anytime I start a recording then place down spruce wood, then stop it and play it, it shows that I placed down oak wood. When I leave the replay it actually becomes oak wood.

Auto record

Is it possible to configure a system with this plugin that automatically record a player from the moment they join, for security purposes, I mean like if several players join at once the plugin will start multiple recordings on these players from the moment they join until the max allotted time of the recording is reached?

API documentation and general usability

I and another developer were considering using the AdvancedReplay API. Specifically, we're looking to start and stop replays. However, we have some questions and concerns.

  • The updates section on the SpigotMC resource page notes 'API changes' in some updates, and git history confirms some of these are breaking. Are you willing to commit to semantic versioning in order to guarantee API stability? Most prominent public libraries follow semver and therefore avoid breaking changes in the same major version.
  • Will the project use a build system such as maven or gradle anytime soon? It's likely we'll use jitpack, but it is still preferable for dependencies to have build metadata.
  • ReplayAPI isn't documented. Will you document public methods, including their parameters and effects?
  • We want to be sure we don't advertise a hook with a plugin which might cause problems for users. Your package com.comphenix.protocolwrapper is outside the AdvancedReplay namespace, and therefore may cause conflicts with other plugins making the same mistake. Could you look into relocating this?

Feature requests

Spigot 1.13.2 final
AdvancedReplay 1.3.4

Please consider:

  • Auto-track. If a recording is focused on a single player, it would be nice if replay followed the player through teleportations. Use case: I recorded a biome-tour, which traversed through 20 points in selected biomes, defined by ServerTutorialPlus. But AdvancedReplay does not follow the player in the recording, so I have to try to keep up with timed teleportations. Not ideal.
  • /replay list should display date and time. Of course, columnar text would be best, with a little extra spacing to make it readable, and without the hyphens or "Date:" (the second block).
>replay list
[17:47:13 INFO]: [Replay] Available replays: (2) | Page: 1/1
[17:47:13 INFO]:  bt-1 - Date: 2019-05-21 17:27:08
[17:47:13 INFO]:  bt-547 - Date: 2019-05-21 17:35:09
>replay list
[17:47:13 INFO]: [Replay] Available replays: (2) | Page: 1/1
[17:47:13 INFO]: 2019-05-21 17:27:08   bt-1
[17:47:13 INFO]: 2019-05-21 17:35:09   bt-547
  • Allow use of item barrier. Use case: I configured the leave item as
items:
  leave:
    id: BARRIER

Unfortunately, selecting it in the hotbar resulted in an error message (in red):
You're not allowed to acquire Barrier.

Replays Randomly freeze after about a minute

So I am having this issue that after about 60s depending on the replay the replay just freezes, I dont get any error message neither when recording nor when replaying, I am recording between 6 and 8 players at a time, I store it in mysql and my config looks like this:

general:
  max_length: 3600
  record_on_startup: false
  save_on_stop: false
  use_mysql: true
  use_offline_skins: true
  quality: high
  cleanup_replays: -1
  hide_players: false
  add_new_players: true
  update_notifications: true
  death_message: '&6{name} &7died.'
  quit_message: '&6{name} &7left the game.'
  join_message: '&6{name} &7joined the game.'
replaying:
  world:
    reset_changes: false
recording:
  blocks:
    enabled: true
    real_changes: true
  entities:
    enabled: true
    items:
      enabled: true
  chat:
    enabled: false
    format: '&r<{name}> {message}'
Example Replay:
id: Bedwars-14
creator: CONSOLE
duraction: 14995
time: 1633896354757
bin: https://www.mediafire.com/file/4znn4kw3dt9qbxz/replays-data_%25281%2529.bin/file

I replay it on a different server by loading the map and then starting the replay with a plugin I made myself

relevant plugins:

Slime world manager
Bedwars1058
Proctolib
Skin Restorer
idk dont think any others could have any effects, if anything most likely Slime world manager

Quickest responce will be over Discord: TrixxTraxx#8555

Replays don't save when /stop command used

My server automatically starts recording when it starts, and should save when it is stopped (happens routinely throughout the day). This isn't working, and I'm left with replays claiming to be 0 seconds long, and not doing anything.

ItemJoin incompatibility

Spigot 1.13.2
ProtocolLib 4.4.0-b425
Multiverse-Core 3.0.0-b761
Multiverse-Portals 3.0.0-b790
ItemJoin 5.0.4-b228
AdvancedReplay 1.3.3
Test server, with bleeding-edge plugins. I was the only player. I was OP, but also explicit replay.* permissions granted. There is a single ItemJoin control in (0-based) inventory hotbar slot 8.

/replay start x1 playerName

Recorded a track of myself

  • Moved through MV portal to transport to a second MV world
  • Used DeluxeMenus to transport to a third MV world
  • Used DeluxeMenus to transport to the original world and location

/replay stop x1

Replay file was saved.

/replay play x1

Replay starts

  • Replay controls are displayed
  • I watch recorded version of myself move through MV portal
  • I teleport to recorded version of myself, using AR controls
  • Upon reaching the second world, the AR leave control is overwritten by the ItemJoin control, and I cannot leave the recording
  • At that point, the AR controls are not linked to the AR system; they are just items in the inventory hotbar, and can be dropped

I disconnected and reconnected to the server, to try to regain control and leave the recorded session. That was probably successful, since the AR controls were not active, but the AR controls remained in the inventory, as items unrelated to AR.

During the entire session, no errors were reported in-game or in console/log.

Feature request: Please implement /replay leave as a command. See #3

Error when playing a replay that was started recording with 0 players on the server

Hey,

a get an error when playing a replay that was started with 0 players on the server.

That in my case happens because i start a replay directly via API when the server starts up.
I use the "add_new_players" config value also.

The error is because you directly use the data action key 0 which, dont exists when first starting a replay and players afterwards join.

issuereplay1

Feature Get Replay Time while Recording

It would be a nice to have an API Call to get the current Time of a Replay while Recording.

In my case I want to use it to log the current Time of a Recording when the AntiCheat is detecting a Player potentially is cheating.

Ignore

Ignore

When I am trying to make my servers anticheat or an admin start recording the suspected user, the plugin can't record more than one replay per user. Maybe make it so the replays are ordered like REPLAY-{USER}-YYYY-MM-DD:Time or something like that.

replays compatible with replay mod

Is it possible to produce replay files compatible with replay mod? I would like to use the more advanced key frame and encoding features present in that software but I would also like to record on a server.

some entities aren't recorded correctly

tested on a fresh install of Paper 1.17.1-327 with the latest ProtocolLib (4.7.0) and AdvancedReplay 1.7, no other plugins

when using the option to record entities, some mobs (short for mobiles) either do not show up in the recording entirely or they show as different mobs. this happens every time, i have recorded videos to demonstrate (me spawning the mobs in in real time vs me watching the replay).

i've made a list of all the mobs i found to be bugged:

[original mob on the left, appeared mob on the right]
Husk = Evoker
Magma cube = Parrot
Pufferfish = Pig
Sheep = (none/invisible)
Shulker = (none/invisible)
Silverfish = (none/invisible)
Ravager = Pig
Skeleton = (none/invisible)
Slime = (none/invisible)
Skeleton horse = (none/invisible)
Salmon = Pig
Rabbit = Witch
Spider = (none/invisible)
Squid = Trader llama
Stray = Blaze
Strider = Pig
Zoglin = Pig
Zombie = (none/invisible)
Zombie horse = Fox
Zombie villager = (none/invisible)
Zombie piglin = Mule

Feature Request: Timed Replay

  • Add a feature so there can be an optional argument that will define how long it records for instead of waiting for manual stop or waiting to reach the limit. This is useful for automation in things like anticheats.

Error With Spectating Players a Different World

[23:04:38 ERROR]: Could not pass event PlayerTeleportEvent to AdvancedReplay v1.6.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:325) ~[server.jar:1_8_R3]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[server.jar:1_8_R3]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:1_8_R3]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[server.jar:1_8_R3]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.teleport(CraftPlayer.java:570) ~[server.jar:1_8_R3]
at org.bukkit.craftbukkit.v1_8_R3.entity.CraftEntity.teleport(CraftEntity.java:253) ~[server.jar:1_8_R3]
at me.jumper251.replay.listener.ReplayListener.onClick(ReplayListener.java:141) ~[?:?]
at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:323) ~[server.jar:1_8_R3]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[server.jar:1_8_R3]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:1_8_R3]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:569) ~[server.jar:1_8_R3]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1958) ~[server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:17) ~[server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:1) ~[server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:34) ~[server.jar:1_8_R3]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_282]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SystemUtils.java:11) [server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:907) [server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:371) [server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:819) [server.jar:1_8_R3]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:720) [server.jar:1_8_R3]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
Caused by: java.lang.IllegalArgumentException: receiver cannot be NULL.
at com.comphenix.protocol.injector.PacketFilterManager.sendServerPacket(PacketFilterManager.java:751) ~[?:?]
at com.comphenix.protocol.injector.PacketFilterManager.sendServerPacket(PacketFilterManager.java:740) ~[?:?]
at com.comphenix.packetwrapper.AbstractPacket.sendPacket(AbstractPacket.java:63) ~[?:?]
at me.jumper251.replay.replaysystem.utils.entities.PacketNPCOld.despawn(PacketNPCOld.java:143) ~[?:?]
at me.jumper251.replay.listener.ReplayListener.onTeleport(ReplayListener.java:177) ~[?:?]
at sun.reflect.GeneratedMethodAccessor1190.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_282]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_282]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:323) ~[server.jar:1_8_R3]
... 27 more

ConcurrentModificationException: null

https://gist.github.com/nicuch/009720030da1f831a0c4d630e0c37bfd
I got this error in the console, when there was no record.
https://github.com/Jumper251/AdvancedReplay/blob/master/src/me/jumper251/replay/replaysystem/recording/Recorder.java#L87
I sometimes ask myself why people don't update their java... and still support old Java 6 methods like Iterator. The List<?> itself is already an iterator in java 7. Please for the sake of less errors, drop support for java under version 8.

MySQL - Add "server" string to mysql.yml

Looking for an option in the MySQL config that lets you define the server name so that there couldn't be name conflicts if your exporting your data to a database multiple servers use.

Example:

host: localhost
username: username
database: database
password: password
server: "survival"

Class not a depend, softdepend or loadbefore

Got this when starting a recording

[Server thread/WARN]: [AdvancedReplay] Loaded class com.comphenix.protocol.events.PacketListener from ProtocolLib v4.5.1 which is not a depend, softdepend or loadbefore of this plugin.

Paper 333
ProtocolLib 4.5.1
Advanced Replay 1.5.2

NullPointerException when enabling MySQL Connection

Hi there,
every time I want to enable mysql Support in the config settings, there comes a NullPointerException :(

The mysql config data works correct but obviously there is an error in your MySQL part if I'm right ๐Ÿ˜ž
Maybe you can help me? ๐Ÿ˜„

java.lang.NullPointerException
        at me.jumper251.replay.database.MySQLDatabase.update(MySQLDatabase.java:74) ~[?:?]
        at me.jumper251.replay.database.MySQLService.createReplayTable(MySQLService.java:26) ~[?:?]
        at me.jumper251.replay.filesystem.ConfigManager.loadData(ConfigManager.java:124) ~[?:?]
        at me.jumper251.replay.filesystem.ConfigManager.loadConfigs(ConfigManager.java:87) ~[?:?]
        at me.jumper251.replay.ReplaySystem.onEnable(ReplaySystem.java:52) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8-R0.1-SNAPSHOT-latest.jar:git-Spigot-db6de12-18fbb24]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
       ```

java.io.OptionalDataException when playing replay

Hi,

We are getting this exception with some replays when playing them with /replay play <name of the replay>.

It starts to load the replay, but fails after telling the player "Loading replay...".

The server is running PaperSpigot 1.8.8 version and we are using the latest 1.6.4 version of the AdvancedReplay.

[19:52:53 WARN]: java.io.OptionalDataException
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1670)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:483)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:441)
[19:52:53 WARN]:        at java.util.HashMap.readObject(HashMap.java:1410)
[19:52:53 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[19:52:53 WARN]:        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[19:52:53 WARN]:        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[19:52:53 WARN]:        at java.lang.reflect.Method.invoke(Method.java:498)
[19:52:53 WARN]:        at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1184)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2257)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2148)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1647)
[19:52:53 WARN]:        at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2366)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2290)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2148)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1647)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:483)
[19:52:53 WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:441)
[19:52:53 WARN]:        at me.jumper251.replay.filesystem.saving.DefaultReplaySaver$1.getValue(DefaultReplaySaver.java:77)
[19:52:53 WARN]:        at me.jumper251.replay.filesystem.saving.DefaultReplaySaver$1.getValue(DefaultReplaySaver.java:1)
[19:52:53 WARN]:        at me.jumper251.replay.utils.fetcher.Acceptor.run(Acceptor.java:17)
[19:52:53 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[19:52:53 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[19:52:53 WARN]:        at java.lang.Thread.run(Thread.java:748)
[19:52:53 WARN]: Exception in thread "pool-34-thread-2"
[19:52:53 WARN]: java.lang.NullPointerException
[19:52:53 WARN]:        at me.jumper251.replay.commands.replay.ReplayPlayCommand$1.accept(ReplayPlayCommand.java:43)
[19:52:53 WARN]:        at me.jumper251.replay.commands.replay.ReplayPlayCommand$1.accept(ReplayPlayCommand.java:1)
[19:52:53 WARN]:        at me.jumper251.replay.utils.fetcher.Acceptor.run(Acceptor.java:17)
[19:52:53 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[19:52:53 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[19:52:53 WARN]:        at java.lang.Thread.run(Thread.java:748)

chat not show

when im testing/ using it the chat stuff wont show up

com.mojang.authlib.exceptions.AuthenticationException: null

I think it's yours.

[12:21:00 WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@6088f981[id=8bf5674b-ce06-30b7-8171-9c2842105e06,name=MHF_ArrowRight,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: null
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:118) ~[patched_1.17.1.jar:git-Purpur-1428]
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:98) ~[patched_1.17.1.jar:git-Purpur-1428]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:193) ~[patched_1.17.1.jar:git-Purpur-1428]
at com.destroystokyo.paper.profile.PaperMinecraftSessionService.fillGameProfile(PaperMinecraftSessionService.java:38) ~[patched_1.17.1.jar:git-Purpur-1428]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:186) ~[patched_1.17.1.jar:git-Purpur-1428]
at com.destroystokyo.paper.profile.PaperMinecraftSessionService.fillProfileProperties(PaperMinecraftSessionService.java:31) ~[patched_1.17.1.jar:git-Purpur-1428]
at net.minecraft.world.level.block.entity.SkullBlockEntity.lambda$updateGameprofile$2(SkullBlockEntity.java:157) ~[app:?]
at net.minecraft.Util.ifElse(Util.java:397) ~[app:?]
at net.minecraft.world.level.block.entity.SkullBlockEntity.lambda$updateGameprofile$5(SkullBlockEntity.java:154) ~[app:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Error with mysql

When I enable MySQL I get this error:
[17:11:24 WARN]: org.apache.commons.lang.UnhandledException: Plugin AdvancedReplay v1.6.6 generated an exception while executing task 51
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.NullPointerException
at me.jumper251.replay.database.MySQLDatabase.update(MySQLDatabase.java:74)
at me.jumper251.replay.database.utils.AutoReconnector.run(AutoReconnector.java:24)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more

Here is my MySQL file:
host: localhost:3306
username: admin
database: replays
password:
prefix: 'replay'

Swim Animation

Swim Animations are not properly recorded. Instead of a swimming animation it just shows a player walking

1.17.1 Compatability - Video Viewing Issue

I am playing on 1.17.1. I am able to use /replay fine. I can record replays. I can see info on the replay, but I am unable to rewatch the replay. See console errors below.

/replay play test
"[Fri, 16. Jul 2021 09:05:51 GMT WARN] Task #103277 for AdvancedReplay v1.6.4 generated an exception"

/replay start test2
"[Fri, 16. Jul 2021 09:06:13 GMT ERROR] [AdvancedReplay] Unhandled exception occured in onPacketSending(PacketEvent) for AdvancedReplay
[Fri, 16. Jul 2021 09:06:13 GMT ERROR] Parameters:
net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy@3902a76d[
a=[12227]
]
[Fri, 16. Jul 2021 09:06:17 GMT ERROR] [AdvancedReplay] Unhandled exception occured in onPacketSending(PacketEvent) for AdvancedReplay
[Fri, 16. Jul 2021 09:06:17 GMT ERROR] Parameters:
net.minecraft.network.protocol.game.PacketPlayOutEntityDestroy@5eb9bb58[
a=[12169]
]"

Plugin is incompatible with 1.8.8

The plugin seems to require a later version of java (java 11?) however on legacy versions of Minecraft a lot of servers still run on Java 8 since that was the version of java for the time.

[22:26:17 ERROR]: Could not load 'plugins/Replay.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/jumper251/replay/ReplaySystem has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:331) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:254) [patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:293) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:202) [patched.jar:git-PaperSpigot-"4c7641d"] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched.jar:git-PaperSpigot-"4c7641d"] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292] Caused by: java.lang.UnsupportedClassVersionError: me/jumper251/replay/ReplaySystem has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_292] at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_292] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_292] at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_292] at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_292] at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_292] at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_292] at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_292] at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_292] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[patched.jar:git-PaperSpigot-"4c7641d"] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292] at java.lang.Class.forName0(Native Method) ~[?:1.8.0_292] at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_292] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:65) ~[patched.jar:git-PaperSpigot-"4c7641d"] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[patched.jar:git-PaperSpigot-"4c7641d"] ... 6 more

Feature request: Chat recording

I know chat can be recorded in a way, using the config, but is there any way to record all server chat and not only players using the format in the config? Including prefixes, server announcements like bans and stuff, just all of it? Thanks.

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.