1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block Damage Indication

Discussion in 'Skript' started by McAcrylic, Mar 17, 2019.

Thread Status:
Not open for further replies.
  1. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    How do I go about doing this....
    [​IMG]

    For almost 3 months, i have been trying to get something like this...
    I have tried almost everything but it has never worked out. This is including trying to use packets, and skript addons. I made a request to make an addon for https://www.spigotmc.org/resources/better-block-breaking.2665/ but the only reply I got was "This plugin is too old for anyone to even make an addon for"

    If anyone have another plugin that does something similar, and can manipulate the mining speed, that would be amazing. If not, the code to do something similar would also be appreciated.
     
  2. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
  3. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
  4. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Do you get any errors from MorkazSk on startup in console?
     
  5. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    I am not too sure what I am looking out for. Besides, I don't even think it will work. I have tried similar code from other addons and it did not work.
     
  6. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Can you send your server startup log?
     
  7. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    Code (Text):
    1. [18:16:55] [Server thread/INFO]: [SkMorkaz] Enabling SkMorkaz v0.21
    2. [18:16:55] [Server thread/INFO]: 呂吸[?吸Sk呆吸Morkaz呂吸] ?吸Starting..
    3. [18:16:55] [Server thread/INFO]: 呂吸[?吸Sk呆吸Morkaz呂吸] ?吸Started!
    4. [18:16:55] [Server thread/INFO]: [PlayerVaults] Enabling PlayerVaults v3.6.0-bSNAPSHOT
    5. [18:16:55] [Server thread/INFO]: [RandomSK] Enabling RandomSK v1.3
    6. [18:16:55] [Server thread/INFO]: [skript-yaml] Enabling skript-yaml v1.2.4
    7. [18:16:55] [Server thread/INFO]: [WorldEdit] Enabling WorldEdit v6.1.5;4651611
    8. [18:16:55] [Server thread/INFO]: WEPIF: GroupManager detected! Using GroupManager for permissions.
    9. [18:16:56] [Server thread/INFO]: [WorldEdit] Using com.sk89q.worldedit.bukkit.adapter.impl.Spigot_v1_8_R3 as the Bukkit adapter
    10. [18:16:56] [Server thread/INFO]: [Essentials] Enabling Essentials vTeamCity
    11. [18:16:56] [Server thread/INFO]: Bukkit version format changed. Version not checked.
    12. [18:16:56] [Server thread/INFO]: git-Spigot-db6de12-18fbb24 (MC: 1.8.8)
    13. [18:16:56] [Server thread/INFO]: 1.8.8-R0.1-SNAPSHOT
    14. [18:16:56] [Server thread/INFO]: Using locale en_US
    15. [18:16:56] [Server thread/INFO]: Using locale en_US
    16. [18:16:56] [Server thread/INFO]: [Vault][Economy] Essentials Economy hooked.
    17. [18:16:56] [Server thread/INFO]: Essentials: Using GroupManager based permissions.
    18. [18:16:56] [Server thread/INFO]: [LinkItem] Enabling LinkItem v1.0-STABLE
    19. [18:16:56] [Server thread/WARN]: [LinkItem] Default system encoding may have misread config.yml from plugin jar
    20. [18:16:56] [Server thread/WARN]: [LinkItem] Found Vault v1.5.6-b49 for chat hook.
    21. [18:16:56] [Server thread/WARN]: [LinkItem] Using After v1_8 (v1_8_R3) Fanciful Library!
    22. [18:16:56] [Server thread/INFO]: [goBrush] Enabling goBrush v2.0
    23. [18:16:56] [Server thread/INFO]: [SkStuff] Enabling SkStuff v1.6.3.6
    24. [18:16:56] [Server thread/INFO]: [SkStuff] SkStuff 1.6.3.6 has been successfully enabled!
    25. [18:16:56] [Server thread/INFO]: [SkStuff] Registering general non version specific stuff...
    26. [18:16:56] [Server thread/INFO]: [SkStuff] It looks like you're either running 1.8.4, 1.8.7, 1.8.8 or 1.8.9!
    27. [18:16:56] [Server thread/INFO]: [SkStuff] Trying to register version specific stuff...
    28. [18:16:56] [Server thread/INFO]: [SkStuff] WorldEdit found! Registering WorldEdit stuff...
    29. [18:16:56] [Server thread/INFO]: [SkStuff] Hooked into Metrics! Woohoo!!
    30. [18:16:56] [Server thread/INFO]: [SkStuff] Everything ready! Loaded a total of 1 conditions, 19 effects, 1 events, 30 expressions and 3 types!
    31. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Enabling NoCheatPlus v3.16.0-RC-sMD5NET-b1134
    32. [18:16:56] [Server thread/INFO]: [NoCheatPlus] McAccess set to: 1.8.4-1.8.8 / Spigot-CB-1.8_R3
    33. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.5 blocks.
    34. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.6.1 blocks.
    35. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.7.2 blocks.
    36. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Added block-info for Minecraft 1.8 blocks.
    37. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Update block-info: WATER_LILY block shape patch for multi client protocol support around 1.7.x - 1.11.x.
    38. [18:16:56] [Server thread/WARN]: [NoCheatPlus] Bad block id (compatibility.blocks.overrideflags): GRASS_PATH
    39. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Inventory checks: FastConsume is available, disabled InstantEat.
    40. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Adding packet level hooks for ProtocolLib (MC 1.8.8)...
    41. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Confirm teleport packet available (via name): TELEPORT_ACCEPT[PLAY, CLIENT, 0, classNames: [PacketPlayInTeleportAccept] (unregistered)]
    42. [18:16:56] [Server thread/WARN]: [ProtocolLib] [PacketFilterManager] [NoCheatPlus] Unsupported client packet in current Minecraft version: TELEPORT_ACCEPT[PLAY, CLIENT, 0, classNames: [PacketPlayInTeleportAccept] (unregistered)]
    43. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Available (and activated) packet level hooks: UseEntityAdapter | MovingFlying | OutgoingPosition | KeepAliveAdapter | SoundDistance | CatchAllAdapter
    44. [18:16:56] [Server thread/WARN]: [NoCheatPlus] The following configuration default values have changed:
    45. checks.blockbreak.direction.actions - Changed with build 1097.
    46. checks.moving.creativefly.actions - Changed with build 1080.
    47. checks.moving.creativefly.model.spectator.horizontal.speed - Changed with build 1102.
    48. checks.moving.creativefly.model.spectator.vertical.ascend.speed - Changed with build 1103.
    49. checks.moving.survivalfly.actions - Changed with build 1080.
    50. strings.flylong - Changed with build 1067.
    51. strings.nofall - Changed with build 1057.
    52. (Remove/update individual values or set configversion.created to 1103 to ignore all, then reload the configuration with the 'ncp reload' command.)
    53. [18:16:56] [Server thread/INFO]: [NoCheatPlus] Version 3.16.0-RC-sMD5NET-b1134 is enabled.
    54. [18:16:56] [Server thread/INFO]: [KitAdder] Enabling KitAdder v2.6
    55. [18:16:56] [Server thread/INFO]: [KitAdder] KitAdder plugin has been enabled!
    56. [18:16:56] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.16-SNAPSHOT (build 1267)
    57. [18:16:56] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat vTeamCity
    58. [18:16:56] [Server thread/INFO]: [TAB] Enabling TAB v2.4.0
    59. [18:16:56] [Server thread/INFO]: [TAB] Enabled in 57ms
    60. [18:16:56] [Server thread/INFO]: [goPaint] Enabling goPaint v1.0
    61. [18:16:57] [Server thread/INFO]: [ServerListPlus] Enabling ServerListPlus v3.4.8
    62. [18:16:57] [Server thread/INFO]: [ServerListPlus] [Core] Reloading configuration...
    63. [18:16:57] [Server thread/INFO]: [ServerListPlus] [Core] Loaded configuration: ServerStatusConf
    64. [18:16:57] [Server thread/INFO]: [ServerListPlus] [Core] Loaded configuration: PluginConf
    65. [18:16:57] [Server thread/INFO]: [ServerListPlus] [Core] Reloading saved player identities...
    66. [18:16:57] [Server thread/ERROR]: [ServerListPlus] [Core] Unable to parse player storage, have you changed it?
    67. com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
    68.     at com.google.gson.Gson.fromJson(Gson.java:815) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    69.     at com.google.gson.Gson.fromJson(Gson.java:768) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    70.     at net.minecrell.serverlistplus.core.player.JSONIdentificationStorage.enable(JSONIdentificationStorage.java:108) [ServerListPlus-3.4.8-Universal.jar:?]
    71.     at net.minecrell.serverlistplus.core.ServerListPlusCore.<init>(ServerListPlusCore.java:136) [ServerListPlus-3.4.8-Universal.jar:?]
    72.     at net.minecrell.serverlistplus.core.ServerListPlusCore.<init>(ServerListPlusCore.java:87) [ServerListPlus-3.4.8-Universal.jar:?]
    73.     at net.minecrell.serverlistplus.bukkit.BukkitPlugin.onEnable(BukkitPlugin.java:139) [ServerListPlus-3.4.8-Universal.jar:?]
    74.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    75.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    76.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    77.     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    78.     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    79.     at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    80.     at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    81.     at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    82.     at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    83.     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    84.     at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]
    85. Caused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1
    86.     at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:374) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    87.     at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:183) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    88.     at com.google.gson.internal.bind.MapTypeAdapterFactory$Adapter.read(MapTypeAdapterFactory.java:145) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    89.     at com.google.gson.Gson.fromJson(Gson.java:803) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    90.     ... 16 more
    91. [18:16:57] [Server thread/INFO]: [ServerListPlus] Please fix the error before restarting the server!
    92. [18:16:57] [Server thread/INFO]: [ServerListPlus] Disabling ServerListPlus v3.4.8
    93. [18:16:57] [Server thread/ERROR]: Error occurred while disabling ServerListPlus v3.4.8 (Is it up to date?)
    94. java.lang.NullPointerException
    95.     at net.minecrell.serverlistplus.bukkit.BukkitPlugin.onDisable(BukkitPlugin.java:157) ~[?:?]
    96.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) ~[Spigot.jar:git-Spigot-db6de12-18fbb24]
    97.     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:364) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    98.     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:424) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    99.     at net.minecrell.serverlistplus.bukkit.BukkitPluginBase.disablePlugin(BukkitPluginBase.java:46) [ServerListPlus-3.4.8-Universal.jar:?]
    100.     at net.minecrell.serverlistplus.bukkit.BukkitPlugin.onEnable(BukkitPlugin.java:143) [ServerListPlus-3.4.8-Universal.jar:?]
    101.     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    102.     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    103.     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    104.     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    105.     at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    106.     at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    107.     at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    108.     at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    109.     at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    110.     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [Spigot.jar:git-Spigot-db6de12-18fbb24]
    111.     at java.lang.Thread.run(Unknown Source) [?:1.8.0_144]
    112. [18:16:57] [Server thread/INFO]: [EnjinMinecraftPlugin] Enabling EnjinMinecraftPlugin v3.4.3
    113. [18:16:57] [Server thread/INFO]: Initializing for the first time.
    114. [18:16:57] [Server thread/WARN]: Error occurred while initializing rank updates configuration.
    115. [18:16:57] [Server thread/ERROR]: Exception Caught:
    116.  
     
  8. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    I just noticed that there is an addon named 'SkMorkaz' and one named 'MorkazSk', and you have SkMorkaz but you need MorkazSk. Try this version.
     
  9. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    ok ye, that issue is resolved, but the code does not work, it does not show the block being damaged.
     
  10. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Do you get any console errors?
     
  11. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    [​IMG]
    Does it work for you?
     
  12. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Can you send more? (In text form would be even better)
     
  13. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    No, that was all it gave me when the effect was executed.
     
  14. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Can you send your latest.log file? (remove stuff you don't want to show, e.g. IP addresses)
     
  15. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
    It's too much of a hassle to remove stuff from there because I have lots of things to delete. I think it's either compatibility issues with the version of the server, or protocolib.

    I will do it if that is not the case. Please send me the version of spigot, skript, and protocolib you are running, That might resolve the issue.
     
  16. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
  17. McAcrylic

    McAcrylic Active Member

    Joined:
    Oct 21, 2017
    Messages:
    59
    Likes Received:
    0
  18. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
Thread Status:
Not open for further replies.

Share This Page

Loading...