Spigot VampireRevamp 1.0.BETA-11

Continuation of Vampire plugin with some new features.

  1. Mowstyl submitted a new resource:

    VampireRevamp - Continuation of Vampire plugin with some new features.

    Read more about this resource...
     
  2. I'm so glad someone is doing a vampire plugin for 1.15. I will be testing it shortly. I would suggest for the long-term survival of the project, make it open source and put the source on github so that if the time ever comes that you decide you don't want to deal with it anymore, someone else can pick up where you left off and keep it updated.

    EDIT: After testing, here is my opinion.

    Seems everything is working fine (what I've tested so far on Paper 1.15.2) except husks are still hostile to vampires. It would also be nice to be able to toggle each ability as I personally hate having jump boost on all the time. I need to get to bed so I will have to test further tomorrow. Thank you again for this, it was probably a lot of work. Are there any permissions to worry about? I didn't see any listed, but if there are permissions, might want to add them to the plugin description. Might also want to link to the Massivecraft Vampire page showing how to use the plugin or redo it in the description so new users can figure out how to play it.

    EDIT 2: /v nv, /v nv yes, and all other combinations don't seem to work. In other words, nightvision doesn't seem to work and there are no errors in the console or anything. (after a server restart when upgrading some other plugins, it seems to work now, very odd)

    EDIT 3: There may be some conflicts with the zenchantments plugin and this plugin with some enchantments that deal with speed and nightvision, but not entirely sure. Also, /v flask doesn't work (after a server restart when upgrading some other plugins, it seems to work now). Same with /v shriek (after a server restart when upgrading some other plugins, it seems to work now).

    EDIT 4: Alright, so after a server restart while doing plugin upgrades, it seems the commands work. Not sure why they were not working and somehow working now with no changes. Husks are still hostile to vampires though and it would still be nice to be able to toggle on/off the jump boost and speed.

    EDIT 5: Just realized a slight problem. The phantoms show up and attack vampires too. Making them non-hostile is one solution, another is maybe a coffin that vampires can sleep in during the day that will act like a bed.

    EDIT 6: Strays are also hostile to vampires.
     
    #4 MCRrrrrr, Feb 25, 2020
    Last edited: Feb 25, 2020
    • Useful Useful x 1
  3. does it work on 1.14.4
     
  4. In the config file you can specify the entities that aren't hostile to the player. Im working on a better description, for now the permission nodes are the same as in the old version. To be honest I haven't tested the flask yet, I totally forgot that command.
    Thank you for your opinion and testing, I'll think about how to do a "coffin" or something like that.
    The husks and phantoms will be probably added as a default non-hostile in the next version of the config file.
    I prefer to make all undead creatures non-hostile, leaving the others still hostile so the vampires still have to defend themselves from other creatures and do some PvE. I also prefer to disable the "wooden item extra damage". The undead thing has sense when thinking about vampire lore, the holy water too. But seriously, since when wooden items severely damage a vampire? Of course they die if you stab them with a stick in their heart, who doesn't die from that?
    I haven't changed the default settings to my likings to make the update from the massivecraft plugin less different.
    But thinking about it, adding new mobs to the ignore list is more an update than a change...
    Anyway, thank you very much.

    It should work, but I haven't tested it. If you encounter any problem just tell me and I'll do my best to fix it.
     
    • Like Like x 1
  5. I've added the permission nodes to the plugin description. When I have time I'll make a better page, right now I'm focused on fixing bugs while keeping backwards compatibility with the mconf.json, mlang.json and the player .json files from the old plugin.
     
  6. I'm currently trying to implement some sleep-related features.
    Right now I think I've managed to stop spawning phantoms for vampires unless they break the truce, but only works in Paper right now.
     
    • Like Like x 1
  7. Attempting to use /v command get an error:

    [09:11:56] [Server thread/INFO]: Bercilac issued server command: /v
    [09:11:56] [Server thread/ERROR]: [ACF] Exception in command: v
    [09:11:56] [Server thread/ERROR]: [ACF] java.lang.reflect.InvocationTargetException
    [09:11:56] [Server thread/ERROR]: [ACF] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [09:11:56] [Server thread/ERROR]: [ACF] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    [09:11:56] [Server thread/ERROR]: [ACF] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [09:11:56] [Server thread/ERROR]: [ACF] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    [09:11:56] [Server thread/ERROR]: [ACF] at co.aikar.acf-paper.RegisteredCommand.invoke(RegisteredCommand.java:152)
    [09:11:56] [Server thread/ERROR]: [ACF] at co.aikar.acf-paper.BaseCommand.executeCommand(BaseCommand.java:576)
    [09:11:56] [Server thread/ERROR]: [ACF] at co.aikar.acf-paper.BaseCommand.execute(BaseCommand.java:512)
    [09:11:56] [Server thread/ERROR]: [ACF] at co.aikar.acf-paper.RootCommand.execute(RootCommand.java:99)
    [09:11:56] [Server thread/ERROR]: [ACF] at co.aikar.acf-paper.BukkitRootCommand.execute(BukkitRootCommand.java:79)
    [09:11:56] [Server thread/ERROR]: [ACF] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
    [09:11:56] [Server thread/ERROR]: [ACF] at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:723)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1658)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1498)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:895)
    [09:11:56] [Server thread/ERROR]: [ACF] at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828)
    [09:11:56] [Server thread/ERROR]: [ACF] at java.base/java.lang.Thread.run(Thread.java:834)
    [09:11:56] [Server thread/ERROR]: [ACF] Caused by: java.lang.NoSuchMethodError: 'void org.bukkit.command.CommandSender.sendMessage(net.md_5.bungee.api.chat.BaseComponent[])'
    [09:11:56] [Server thread/ERROR]: [ACF] at com.clanjhoo.vampire.cmd.CmdVampire$CmdVampireSet.onHelp(CmdVampire.java:417)
    [09:11:56] [Server thread/ERROR]: [ACF] ... 26 more
     
  8. /v flask doesn't work, just loosing hp
     
  9. At some moment /v offer starts to say that you are too far from anybody
     
  10. 29.03 13:03:18 [Server] ERROR Couldn't parse mconf.json. Resetting to defaults! 29.03 13:03:18 [Server] WARN java.lang.NullPointerException 29.03 13:03:18 [Server] WARN at com.clanjhoo.vampire.json.MConfDeserializer.deserialize(MConfDeserializer.java:91) 29.03 13:03:18 [Server] WARN at com.clanjhoo.vampire.json.MConfDeserializer.deserialize(MConfDeserializer.java:26) 29.03 13:03:18 [Server] WARN at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69) 29.03 13:03:18 [Server] WARN at com.google.gson.Gson.fromJson(Gson.java:887) 29.03 13:03:18 [Server] WARN at com.google.gson.Gson.fromJson(Gson.java:825) 29.03 13:03:18 [Server] WARN at com.clanjhoo.vampire.entity.MConf.load(MConf.java:52) 29.03 13:03:18 [Server] WARN at com.clanjhoo.vampire.VampireRevamp.onLoad(VampireRevamp.java:85) 29.03 13:03:18 [Server] WARN at net.Lenni0451.SpigotPluginManager.utils.PluginUtils.loadPlugin(PluginUtils.java:235) 29.03 13:03:18 [Server] WARN at net.Lenni0451.SpigotPluginManager.utils.PluginUtils.loadPlugin(PluginUtils.java:190) 29.03 13:03:18 [Server] WARN at net.Lenni0451.SpigotPluginManager.commands.subs.Reload_Sub.execute(Reload_Sub.java:34) 29.03 13:03:18 [Server] WARN at net.Lenni0451.SpigotPluginManager.commands.PluginManager_Command.lambda$0(PluginManager_Command.java:103) 29.03 13:03:18 [Server] WARN at net.Lenni0451.SpigotPluginManager.commands.PluginManager_Command.onCommand(PluginManager_Command.java:113) 29.03 13:03:18 [Server] WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) 29.03 13:03:18 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) 29.03 13:03:18 [Server] WARN at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:752) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1825) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1633) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) 29.03 13:03:18 [Server] WARN at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) 29.03 13:03:18 [Multicraft] Skipped 10 lines due to rate limit (30/s) 29.03 13:03:18 [Server] INFO Ⓛ [MOJ|Putin] Рыцарь chavabrik : Че это за шары блин 29.03 13:03:20 [Server] WARN [VampireRevamp] Task #42698 for VampireRevamp v1.0.BETA-3 generated an exception 29.03 13:03:20 [Server] INFO java.lang.NullPointerException: null 29.03 13:03:20 [Server] INFO at com.clanjhoo.vampire.ListenerMain$1.run(ListenerMain.java:146) ~[?:?] 29.03 13:03:20 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-143] 29.03 13:03:20 [Server] INFO at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:452) ~[patched_1.15.2.jar:git-Paper-143] 29.03 13:03:20 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1185) ~[patched_1.15.2.jar:git-Paper-143] 29.03 13:03:20 [Server] INFO at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[patched_1.15.2.jar:git-Paper-143] 29.03 13:03:20 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1112) ~[patched_1.15.2.jar:git-Paper-143] 29.03 13:03:20 [Server] INFO at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934) ~[patched_1.15.2.jar:git-Paper-143] 29.03 13:03:20 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
     
  11. Code (Java):
    03.04 11:22:42 [Server] INFO [VampireRevamp] Loading VampireRevamp v1.0.BETA-3
    03.04 11:22:42 [Server] ERROR Couldn't parse mconf.json. Resetting to defaults!
    03.04 11:22:42 [Server] WARN java.lang.NullPointerException
    03.04 11:22:42 [Server] WARN at com.clanjhoo.vampire.json.MConfDeserializer.deserialize(MConfDeserializer.java:91)
    03.04 11:22:42 [Server] WARN at com.clanjhoo.vampire.json.MConfDeserializer.deserialize(MConfDeserializer.java:26)
    03.04 11:22:42 [Server] WARN at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:69)
    03.04 11:22:42 [Server] WARN at com.google.gson.Gson.fromJson(Gson.java:887)
    03.04 11:22:42 [Server] WARN at com.google.gson.Gson.fromJson(Gson.java:825)
    03.04 11:22:42 [Server] WARN at com.clanjhoo.vampire.entity.MConf.load(MConf.java:52)
    03.04 11:22:42 [Server] WARN at com.clanjhoo.vampire.VampireRevamp.onLoad(VampireRevamp.java:85)
    03.04 11:22:42 [Server] WARN at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins(CraftServer.java:363)
    03.04 11:22:42 [Server] WARN at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:234)
    03.04 11:22:42 [Server] WARN at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:885)
    03.04 11:22:42 [Server] WARN at java.lang.Thread.run(Thread.java:748)
     
  12. Hi !
    Nice plugin but i found bug. When I change something in my mconf it all goes back to its original form.
     
  13. Yeah, and the Altar Of Darkness don't work.
     
  14. Hey,

    On my 1.15.2 server I am attempting to use this but keep receiving an internal error when using "/v". Are there any known plugins that conflict with this plugin? If not, any idea what else might be the issue?
     
  15. As an additional note to this I've noticed that in the configuration it defaults to "enabled: false" and despite my attempts at saving it as "true" it will instead rewrite it back to false upon a server start.
     
  16. Sorry for the late reply. Things are weird lately due to this Covid thing.
    I'm working on all the issues you've told me to fix them, expect them fixed during the next week.
     
  17. Ok, thank you.