Premium ShowItem [Paid]

Discussion in 'Resource Discussion' started by Phoenix616, Jul 28, 2015.

  1. Phoenix616

    Resource Staff

  2. Phoenix616

    Resource Staff

    For the attributes:
    Your item seems to have negative UUIDleast and most information. The client doesn't acknowledge them as valid and therefor does not display them in the hover text. This is something the plugin which generates your items has to fix, I'm merely reading the information directly from the item. (But I'm thinking about how I could implement a workaround on my side anyways as there are a good number of people having this problem. I haven't come up with a good solution yet 'though.)
     
  3. I'll have to get this on my server it looks good
     
  4. Would you be able to add when you type [item] it will replace it with the item?
     
  5. Phoenix616

    Resource Staff

    I already took a look into that and it seems rather difficult to do as I had to inject the JSON message for hovering over the item into the chat message somehow and the API only lets me set plain text in the chat events. I could try canceling the chat message and sending it myself with the use of the advanced tellraw JSON messages however I would have no way to know who the message was meant to (many chat plugins use different channels and private messages) but I definitely implement it as soon as I find a way or the API is updated.
     
  6. Do you know any time [item] will be added as i thought this plugin had it but currently the plugin is useless to me right now if it doesn't so please are you able to add it
     
  7. Phoenix616

    Resource Staff

    Please read my previous answer on this topic. Nothing changed since then, if it does there will be an update implementing it.
     
  8. Okay, I didn't get what you meant by the message before but I have seen 2/3 plugins that do this, and there is no point paying for another plugin to do this if i bought this one.
     
  9. Phoenix616

    Resource Staff

    I looked a bit more into it and it looks like that might be done rather easily with the help of ProtocolLib (which probably every server has installed). If I don't find a better solution that doesn't depend on a third party library I'll implement it that way.

    Please note that even if I manage to add this feature that it will only work as long as your chat is running on and sent by the Bukkit server and not if is handled completely by a BungeeCord proxy!
     
  10. Okay, any chance it will be compatible with deluxe chat?
     
  11. Phoenix616

    Resource Staff

    At least the single server chat of Deluxe chat should definitely work, not sure if I can manage to get cross server working - the DelexueChat not being open source makes it kinda hard to guarantee compatibility...
     
  12. Have a very silly question... How can I remove the radius? I want everyone in the world too see no matter how far away without running the /show -world command.
     
    #52 GypsySix, Jan 27, 2016
    Last edited: Jan 27, 2016
  13. Phoenix616

    Resource Staff

    You can set the default radius in the config. Currently there is no option to completely remove it but for now you can just set that to a higher value than your world radius and everyone in the world will see it.

    Another solution is to use the commands.yml to create a command (for example /showworld) and map it to /show -world.
     
  14. Code (Text):
    null
    org.bukkit.command.CommandException: Unhandled exception executing command 'showitem' in plugin ShowItem v1.0.6
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-0359393-9cd1111]
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-0359393-9cd1111]
            at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-0359393-9cd1111]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_51]
            at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
            at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:714) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:653) [spigot.jar:git-Spigot-0359393-9cd1111]
            at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:556) [spigot.jar:git-Spigot-0359393-9cd1111]
            at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
    Caused by: java.lang.IllegalArgumentException: Cannot measure distance between skyblockspawn and ASkyBlock
            at org.bukkit.Location.distanceSquared(Location.java:456) ~[spigot.jar:git-Spigot-0359393-9cd1111]
            at de.themoep.ShowItem.ShowItem.showInRadius(ShowItem.java:311) ~[?:?]
            at de.themoep.ShowItem.ShowItem.onCommand(ShowItem.java:205) ~[?:?]
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-0359393-9cd1111]
            ... 15 more
     
    i restarted and this went away
     
    #54 rex1167, Feb 29, 2016
    Last edited: Feb 29, 2016
  15. Are there any known bugs with this plugin in 1.9? And if so, is there a planned 1.9 official release? I have my doubts there will be much wrong with it, but just in case there happens to be it's always nice to know beforehand.
     
  16. Phoenix616

    Resource Staff

    Afaik there should be no bugs with the actual code due to 1.9. It could be that some of the new 1.9 items and blocks aren't automatically mapped correctly to their translations. These I will fix as soon as I notice them. (And release an update if there are some so that one doesn't have to add them manually to the mapping file)

    And should other bugs occur I'm going to fix them asap once they are reported to me.
     
  17. Phoenix616

    Resource Staff

  18. Phoenix616

    Resource Staff

    Phoenix616 updated ShowItem with a new update entry:

    ShowItem 1.1.1 - More message configurations and nickname support

    Read the rest of this update entry...
     
    #58 Phoenix616, Apr 12, 2016
    Last edited: Apr 12, 2016
  19. Phoenix616

    Resource Staff

  20. [13:05:01] [Server thread/INFO]: [ShowItem] Enabling ShowItem v1.1.2 (build #121)
    [13:05:02] [Server thread/INFO]: [ShowItem] Loading Config...
    [13:05:02] [Server thread/INFO]: [ShowItem] Loading TranslationMapping...
    [13:05:02] [Server thread/WARN]: [ShowItem] Could not save transmapping.yml to plugins\ShowItem\transmapping.yml because transmapping.yml already exists.
    [13:05:02] [Server thread/INFO]: [ShowItem] TranslationMapping loaded.
    [13:05:02] [Server thread/INFO]: [ShowItem] Detected Spigot server. Using Bungee chat api for fancy messages!
    [13:05:02] [Server thread/WARN]: java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/Resource/plugins/ShowItem.jar
    [13:05:02] [Server thread/WARN]: at sun.nio.fs.WindowsPathParser.normalize(Unknown Source)
    [13:05:02] [Server thread/WARN]: at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
    [13:05:02] [Server thread/WARN]: at sun.nio.fs.WindowsPathParser.parse(Unknown Source)
    [13:05:02] [Server thread/WARN]: at sun.nio.fs.WindowsPath.parse(Unknown Source)
    [13:05:02] [Server thread/WARN]: at sun.nio.fs.WindowsFileSystem.getPath(Unknown Source)
    [13:05:02] [Server thread/WARN]: at java.nio.file.Paths.get(Unknown Source)
    [13:05:02] [Server thread/WARN]: at de.themoep.ShowItem.ItemConverter.getHash(ItemConverter.java:100)
    [13:05:02] [Server thread/WARN]: at de.themoep.ShowItem.ItemConverter.test(ItemConverter.java:80)
    [13:05:02] [Server thread/WARN]: at de.themoep.ShowItem.ItemConverter.<init>(ItemConverter.java:37)
    [13:05:02] [Server thread/WARN]: at de.themoep.ShowItem.internal.ItemConverter_v1_9_R1.<init>(ItemConverter_v1_9_R1.java:32)
    [13:05:02] [Server thread/WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [13:05:02] [Server thread/WARN]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    [13:05:02] [Server thread/WARN]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    [13:05:02] [Server thread/WARN]: at java.lang.reflect.Constructor.newInstance(Unknown Source)
    [13:05:02] [Server thread/WARN]: at de.themoep.ShowItem.ShowItem.onEnable(ShowItem.java:86)
    [13:05:02] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292)
    [13:05:02] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:319)
    [13:05:02] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407)
    [13:05:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_9_R1.CraftServer.loadPlugin(CraftServer.java:357)
    [13:05:02] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_9_R1.CraftServer.enablePlugins(CraftServer.java:317)
    [13:05:02] [Server thread/WARN]: at net.minecraft.server.v1_9_R1.MinecraftServer.t(MinecraftServer.java:412)
    [13:05:02] [Server thread/WARN]: at net.minecraft.server.v1_9_R1.MinecraftServer.l(MinecraftServer.java:377)
    [13:05:02] [Server thread/WARN]: at net.minecraft.server.v1_9_R1.MinecraftServer.a(MinecraftServer.java:331)
    [13:05:02] [Server thread/WARN]: at net.minecraft.server.v1_9_R1.DedicatedServer.init(DedicatedServer.java:273)
    [13:05:02] [Server thread/WARN]: at net.minecraft.server.v1_9_R1.MinecraftS