Bukkit ProtocolSupportStuff 2.1.0

A plugin that does... stuff, I guess. Disable MC versions, remap items, pre-1.9 PvP and much more!

  1. MrPowerGamerBR submitted a new resource:

    ProtocolSupportStuff - A plugin that does... stuff, I guess. Disable Minecraft versions (even the current server version

    Read more about this resource...
     
  2. You realize this is 890 KB... right?
     
  3. ...and what?

    You realize this plugin is made using Kotlin and, because of that, it includes the Kotlin runtime... right?
     
  4. If someone is interested. A config to change concrete to wool, and glazed terracotta to stained clay:
    Code (Text):
    blocks:
      remap1:
        from: Concrete
        to: Wool
        before: Minecraft 1.12
      remap2:
        from: white glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 0
      remap3:
        from: white glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 0
      remap4:
        from: white glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 0
      remap5:
        from: white glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 0  
      remap6:
        from: orange glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 1
      remap7:
        from: orange glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 1
      remap8:
        from: orange glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 1
      remap9:
        from: orange glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 1    
      remap10:
        from: magenta glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 2
      remap11:
        from: magenta glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 2
      remap12:
        from: magenta glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 2
      remap13:
        from: magenta glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 2    
      remap14:
        from: light blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 3
      remap15:
        from: light blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 3
      remap16:
        from: light blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 3
      remap17:
        from: light blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 3    
      remap18:
        from: yellow glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 4
      remap19:
        from: yellow glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 4
      remap20:
        from: yellow glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 4
      remap21:
        from: yellow glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 4    
      remap22:
        from: lime glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 5
      remap23:
        from: lime glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 5
      remap24:
        from: lime glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 5
      remap25:
        from: lime glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 5    
      remap26:
        from: pink glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 6
      remap27:
        from: pink glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 6
      remap28:
        from: pink glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 6
      remap29:
        from: pink glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 6    
      remap30:
        from: gray glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 7
      remap31:
        from: gray glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 7
      remap32:
        from: gray glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 7
      remap33:
        from: gray glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 7    
      remap34:
        from: silver glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 8
      remap35:
        from: silver glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 8
      remap36:
        from: silver glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 8
      remap37:
        from: silver glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 8
      remap38:
        from: cyan glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 9
      remap39:
        from: cyan glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 9
      remap40:
        from: cyan glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 9
      remap41:
        from: cyan glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 9    
      remap42:
        from: purple glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 10
      remap43:
        from: purple glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 10
      remap44:
        from: purple glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 10
      remap45:
        from: purple glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 10    
      remap46:
        from: blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 11
      remap47:
        from: blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 11
      remap48:
        from: blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 11
      remap49:
        from: blue glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 11
      remap50:
        from: brown glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 12
      remap51:
        from: brown glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 12
      remap52:
        from: brown glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 12
      remap53:
        from: brown glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 12
      remap54:
        from: green glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 13
      remap55:
        from: green glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 13
      remap56:
        from: green glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 13
      remap57:
        from: green glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 13
      remap58:
        from: red glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 14
      remap59:
        from: red glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 14
      remap60:
        from: red glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 14
      remap61:
        from: red glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 14
      remap62:
        from: black glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 0
        toData: 15
      remap63:
        from: black glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 1
        toData: 15
      remap64:
        from: black glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 2
        toData: 15
      remap65:
        from: black glazed terracotta
        to: stained clay
        before: Minecraft 1.12
        fromData: 3
        toData: 15
     
    • Useful Useful x 2
  5. :eek:
    This is so cool!
    Though could you maybe make an unsupported build for 1.8 servers and 1.7 clients?
     
  6. haha lol nope.

    Supporting an older ProtocolSupport version goes agaisnt the reason ProtocolSupport exists: Allowing you to use 1.12.1 servers (with fixed bugs and exploits) while allowing older protocol versions. Making you not use older Minecraft versions.

    So nope, I won't do that, update your damn server instead of using older Minecraft versions. ;)
     
    #8 MrPowerGamerBR, Aug 6, 2017
    Last edited: Aug 6, 2017
    • Like Like x 1
  7. Running on the super bleeding edge 1.13 builds? Then get ProtocolSupportStuff's development builds for 1.13! (Experimental!!!)

    https://jenkins.perfectdreams.net/job/ProtocolSupportStuff/

    You need 1.13 (duh) and the latest ProtocolSupport development build.

    You will also need to delete your current config file, the current version doesn't generate the configuration because it is (ノ◕ヮ◕)ノ*:・゚✧ experimental ✧゚・: *ヽ(◕ヮ◕ヽ), but the config is like this now:

    Code (YAML):
    add-to-lore: true
    translate-display-name
    : true
    newer-item-text-lore
    : &8This item is actually &7{name}&8 from newer versions of Minecraft
    items
    :
    - from
    : TOTEM_OF_UNDYING
      to
    : ARMOR_STAND
      before
    : MINECRAFT_1_11
    - from
    : TOTEM_OF_UNDYING
      to
    : COBBLESTONE
      before
    : MINECRAFT_1_8
    hacks
    :
      strip-colors-from-long-texts
    : true
      sword-blocking
    : true
    versions
    :
      MINECRAFT_1_13
    : true
      MINECRAFT_1_12_2
    : true
      MINECRAFT_1_12_1
    : true
      MINECRAFT_1_12
    : true
      MINECRAFT_1_11_1
    : true
      MINECRAFT_1_11
    : true
      MINECRAFT_1_10
    : true
      MINECRAFT_1_9_4
    : true
      MINECRAFT_1_9_2
    : true
      MINECRAFT_1_9_1
    : true
      MINECRAFT_1_9
    : true
      MINECRAFT_1_8
    : true
      MINECRAFT_1_7_10
    : true
      MINECRAFT_1_7_5
    : true
      MINECRAFT_1_6_4
    : true
      MINECRAFT_1_6_2
    : true
      MINECRAFT_1_6_1
    : true
      MINECRAFT_1_5_2
    : true
      MINECRAFT_1_5_1
    : true
      MINECRAFT_1_4_7
    : true
    Source code: https://github.com/PerfectDreams/ProtocolSupportStuff

    And this new version also has a improved sword blocking feature! Now it should work reliably instead of working only "sometimes", and, if you use Paper, it will automatically decrease the shield blocking delay to 0, allowing you to have that true 1.8.8 PvP experience!

    https://mrpowergamerbr.com/uploads/2018-07-31_22-05-41.gif

    Also, now items from newer versions will have the correct name (instead of a "pretty enum" name) and it will even respect the player's locale!

    Have fun! :)
     
    • Useful Useful x 1
  8. MrPowerGamerBR updated ProtocolSupportStuff with a new update entry:

    Minecraft 1.13 & New Features

    Read the rest of this update entry...
     
  9. I do not think it's intended that [​IMG] and [​IMG] are linked to ImpossibleLatency.
     
  10. oof, fixed!
     
  11. Code (Text):
    [20:22:22 WARN]: [ProtocolSupportStuff] Task #251 for ProtocolSupportStuff v2.0.0 generated an exception
    java.lang.IllegalStateException: zip file closed
    at java.util.zip.ZipFile.ensureOpen(ZipFile.java:686) ~[?:1.8.0_171]
    at java.util.zip.ZipFile.getEntry(ZipFile.java:315) ~[?:1.8.0_171]
    at java.util.jar.JarFile.getEntry(JarFile.java:240) ~[?:1.8.0_171]
    at java.util.jar.JarFile.getJarEntry(JarFile.java:223) ~[?:1.8.0_171]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:120) ~[patched_1.12.2.jar:git-Paper-1536]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.12.2.jar:git-Paper-1536]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_171]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_171]
    at net.perfectdreams.protocolsupportstuff.libs.acf.BukkitCommandManager.log(BukkitCommandManager.java:352) ~[?:?]
    at net.perfectdreams.protocolsupportstuff.libs.acf.BukkitCommandManager.readPlayerLocale(BukkitCommandManager.java:300) ~[?:?]
    at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_171]
    at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1080) ~[?:1.8.0_171]
    at net.perfectdreams.protocolsupportstuff.libs.acf.BukkitCommandManager.lambda$new$0(BukkitCommandManager.java:104) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.12.2.jar:git-Paper-1536]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:839) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:773) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) ~[patched_1.12.2.jar:git-Paper-1536]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    Im getting this error
     
  12. Code (Text):
    java.lang.IllegalArgumentException: No enum constant org.bukkit.Material.TOTEM_OF_UNDYING
    at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_171]
    at org.bukkit.Material.valueOf(Material.java:71) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.readAndApply(ProtocolSupportStuff.kt:207) ~[?:?]
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.applyConfigChanges(ProtocolSupportStuff.kt:135) ~[?:?]
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.onEnable(ProtocolSupportStuff.kt:46) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Paper-1536]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[patched_1.12.2.jar:git-Paper-1536]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1536]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1536]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1536]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1536]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    I get this error too
     
  13. The latest version is only for 1.13
     
  14. Please add support latest version of ProtocolSupport.

    Error occurred while enabling ProtocolSupportStuff v2.0.0 (Is it up to date?)
    java.lang.NoClassDefFoundError: protocolsupport/api/MaterialAPI
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.registerRemapEntryForAllStates(ProtocolSupportStuff.kt:220) ~[?:?]
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.readAndApply(ProtocolSupportStuff.kt:195) ~[?:?]
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.applyConfigChanges(ProtocolSupportStuff.kt:130) ~[?:?]
    at net.perfectdreams.protocolsupportstuff.ProtocolSupportStuff.onEnable(ProtocolSupportStuff.kt:47) ~[?:?]

    ProtocolSupportStuff: 2.1.1 (from Jenkins)
    ProtocolSupport: 4.29-dev (from Jenkins)
    Paper: git-Paper-489 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) (latest build)

    Thank you.
     
    #18 Dymeth, Jan 1, 2019
    Last edited: Jan 9, 2019
    • Agree Agree x 1
  15. Are you using the latest ProtocolSupport version from Shevchik's build server?
     
  16. After updating PaperSpigot, ProtocolSupport & ProtocolSupportStuff it works perfectly.
    Strange that it didn't work last time.
    Thank you!

    ProtocolSupportStuff: 2.1.1 (from Jenkins)
    ProtocolSupport: 4.29-dev (from Jenkins)
    Paper: git-Paper-498 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) (latest build)
     

Share This Page