Code Monkey home page Code Monkey logo

rpghuds's Introduction

rpghuds's People

Contributors

lonedev6 avatar

Stargazers

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

Watchers

 avatar

rpghuds's Issues

Outdated Source Code on Github compared to Spigot

I need to edit the source code from RPGHuds, but it is outdated from the latest version of spigot(that use the latest DataPack structure for ItemsAdder). I would really appreciate it if you could upload the new code. To be able to add new things or modify others to my need.

Thanks 😄

(Question) Several balance HUDs

Hello! Is it possible to duplicate an existing coins HUD to create another one with a changed parameter? For example, to display two different currencies side by side. Thanks

Add new HUD, error occours.

When I edit the source code to add a new HUD, the console issues an error :

Failed to load PlayerData: Cannot invoke "dev.lone.itemsadder.main.bK.d(int)" because "this.internal" is null

I don't know how to solve, need your help

There is an error with the height of the target

If I put an objective with a height of 60, I can go to the same coordinates but at a lower height, as it would be 40, it will detect me as completed.

this is a problem for me because my lobby has several floors

Double coin

Have another coins HUD would be cool for multi-currency servers.

Enable for all worlds

Hi, I need some advice. How do I enable rpghuds display in all worlds? My server generates new worlds with random name ( id-536363-6363-6363 etc.) And in the rpghuds config I can't enter them manually.. Can you add something like

worlds:

  • world
  • all-worlds

For use in all worlds on the server?

Or change WHITELISTED worlds to BLACKLISTED?

Unhandled exception in onPacketSending

[19:07:22 ERROR]: [ItemsAdder] Unhandled exception occured in onPacketSending(PacketEvent) for ItemsAdder
java.lang.NoSuchFieldError: SYSTEM_CHAT
at ia.m.bj.onPacketSending(SourceFile:292) ~[ItemsAdder_3.4.1.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:535) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:516) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:346) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:308) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:436) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$800(ChannelInjector.java:72) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.handleScheduled(ChannelInjector.java:376) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$3.onMessageScheduled(ChannelInjector.java:346) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) ~[ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) ~[ProtocolLib.jar:?]
at net.minecraft.network.Connection.writePacket(Connection.java:435) ~[?:?]
at net.minecraft.network.Connection.send(Connection.java:382) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2122) ~[?:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.send(ServerGamePacketListenerImpl.java:2108) ~[?:?]
at ia.nms.A.impl.v1_18_R2.a(SourceFile:36) ~[ItemsAdder_3.4.1.jar:?]
at ia.nms.A.A.a(SourceFile:44) ~[ItemsAdder_3.4.1.jar:?]
at ia.m.bk.aI(SourceFile:120) ~[ItemsAdder_3.4.1.jar:?]
at ia.m.bg.m(SourceFile:326) ~[ItemsAdder_3.4.1.jar:?]
at ia.m.bg.aG(SourceFile:174) ~[ItemsAdder_3.4.1.jar:?]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.18.2.jar:git-Purpur-1628]
at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[purpur-1.18.2.jar:git-Purpur-1628]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1558) ~[purpur-1.18.2.jar:git-Purpur-1628]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:522) ~[purpur-1.18.2.jar:git-Purpur-1628]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1482) ~[purpur-1.18.2.jar:git-Purpur-1628]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246) ~[purpur-1.18.2.jar:git-Purpur-1628]
at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:320) ~[purpur-1.18.2.jar:git-Purpur-1628]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[19:07:22 ERROR]: Parameters:
net.minecraft.network.protocol.game.ClientboundSetActionBarTextPacket@288f7a15[
a=TextComponent{text='', siblings=[], style=Style{ color=null, bold=null, italic=null, underlined=null, strikethrough=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null, font=minecraft:default}}
components=<null>
]

1.18.2 server version
Latest ItemsAdder, ProtocolLib, Essentials, Vault
RPGhuds 1.2.0

Extracting assets

Please update the work with the latest ItemAdder, it will extracting pack the RPGHuds resoupack file into the data file, causing it to be duplicated.

Font Rendering Issue on Minecraft 1.20.1

Description:
The font rendering on Minecraft 1.20.1 seems to be displaying incorrectly when using the RPGhuds plugin. It's suspected that this issue might be related to the font version update introduced in Minecraft 1.20.1, although there is uncertainty about the root cause. The text elements are not being rendered as expected.

Steps to Reproduce:

  1. Install RPGhuds plugin version 1.2.0-r2.
  2. Launch Minecraft 1.20.1 on a server running the specified server software (git-Purpur-2015).
  3. Observe the text within the game, specifically in relation to RPGhuds elements.

Additional Information:

  • Server OS: Ubuntu 22.04.2 LTS (Distributor ID: Ubuntu, Release: 22.04, Codename: jammy)
  • Server software: git-Purpur-2015 (MC: 1.20.1)
  • Plugins: RPGhuds, and various other plugins listed in the provided information.
  • The issue might be linked to the font version update in Minecraft 1.20.1.
  • Screenshots of the font rendering issue can be viewed here:
    Screenshot

Server Configuration:

  • ItemsAdder version: 3.5.0c-r4
  • ProtocolLib version: 5.1.0-SNAPSHOT-660
  • Vault version: 1.7.3-b131
  • PlaceholderAPI version: 2.11.3
  • EssentialsX version: 2.20.0

RPGHUD COMPASS DOESN'T SHOW WHEN DON'T MOOVE THE VISUAL

Lone una domanda, sto usando l'ultima versione di IA (3.3.0) e vedo che la bussola del compass appena sono fermo si toglie e ricompare quando muovo la visuale. C'è un modo per farla stare fissa e che non scompaia?

Grazie lone sei sempre il migliore

Config:

huds_refresh_interval_ticks: 15
huds_high_frequency_refresh_interval_ticks: 1
money:
enabled: false
offset: 91
papi_placeholder: '%vault_eco_balance_formatted%'
worlds:

  • world
  • world_nether
  • world_the_end
    compass:
    enabled: true
    offset: -8
    worlds:
  • world
  • night
    quiver:
    enabled: false
    offset:
    normal: -96
    when_offhand_shown: -124
    content_update_ticks: 100
    worlds:
  • world
  • night
    arrow_target:
    enabled: false
    offset: -98
    worlds:
  • world
  • night
    lang:
    hud_not_found: '&6Hud not found!'
    wrong_usage: '&cWrong command usage.'
    destination_set: '&aDestination set.'
    destination_removed: '&7Destination removed.'
    log:
    debug: false

I have a suggestion

Could you add the option to execute commands when a player reaches the destination point?

RPG Hud cannot compatible with CMI

              Install Vault.
Also install EssentialsX  or another economy plugin.

Everything is noted in the plugin page clearly.

_Originally posted by @LoneDev6 in https://github.com/LoneDev6/RPGhuds/issues/20#issuecomment-1397172421_

But I don't know the CMI is a exact economic plugin, but after I turn on the "economy" functions in CMI's config, the CMI & vault runs normally, and I also can use "/cmi money" to execute my money.
If the CMI is the currently eco plugin, then why does RPGHud crash?

"net.milkbowl.vault.economy.Economy.getBalance(org.bukkit.OfflinePlayer)" because "dev.lone.rpghuds.Main.econ" is null

UPDATE to ItemsAdder 3.4.1-r5 or greater.
install all the dependecies (list below)
run /papi ecloud download Vault
run /papi reload
stop the server
install this plugin (paste the JAR inside the plugins folder)
start server
open plugins\RPGhuds\config.yml file and add your worlds names
use the command /iazip

/rpghuds show rpghuds:arrow_target
It says:Hud not found!

paper1.19.2

Squares instead of images

I've disabled every hud because squares where showing instead of images and after unzip still shows up those squares as you can see in the image:

2023-03-17_21 25 18

Version 1.19.3, running on Spigot

RPGhuds - IA with Optifine

Hello.

I need help with RPGhuds and Optifine players.

I implement to RPGhuds my own Placeholder reader for Economy (bcs I use own economy system)

Everything works but when I want add blank spaces - Replace "*" char with 2px of picture with transparent background it wont show for players with Optifines. Also I try add pixels behind and after number but still OF replace blank.
First I think problem is with my placeholder but I try placeholder from CMI - Playtime and there is result:

obrázok

Thanks for help ^^

Money hud outline

The black outline of the money is a bit irritating is there a way to remove it

image

未完成的对话

根据#32
Install an economy plugin, for example EssentialsX.
我安装了cmi,难道ia不支持它吗

compas

when I change the compass position from -14 to -1 everything is fine, but when from 0 and above, everything breaks and a square symbol appears
images.zip
image

Bug with actionbars?

image

image

They overlapse constantly with a plugin called Towny.
It also happens with /title actionbar "something"

There's an error when load "money" hud

[RPGhuds]: Failed to load PlayerData: Cannot invoke "net.milkbowl.vault.economy.Economy.getBalance(org.bukkit.OfflinePlayer)" because "dev.lone.rpghuds.Main.econ" is null

And the player can't see any huds, but when I turn money hud off, then gets normally.

RPG Compass

Hi,

When I try use the /rpgcompass, it just tells me wrong usage command for anything try and can not get the compass icon showing

(Question) Coins HUD

Hello! Here is the question: is it possible to swap the coin icon and balance numbers? To have a picture on the left and a number on the right. What settings need to be changed for this?

Warn in the console

[09:31:46 WARN]: [RPGhuds] Task #5068 for RPGhuds v1.2.0 generated an exception
java.lang.IndexOutOfBoundsException: Index 3 out of bounds for length 3
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at java.util.Collections$SynchronizedList.get(Collections.java:2498) ~[?:?]
at ia.m.aL.t(SourceFile:53) ~[ItemsAdder_3.3.0b-r5.jar:?]
at ia.m.bf.x(SourceFile:106) ~[ItemsAdder_3.3.0b-r5.jar:?]
at ia.m.bf.r(SourceFile:92) ~[ItemsAdder_3.3.0b-r5.jar:?]
at ia.m.bf.aE(SourceFile:113) ~[ItemsAdder_3.3.0b-r5.jar:?]
at dev.lone.itemsadder.api.FontImages.PlayerHudsHolderWrapper.sendUpdate(SourceFile:42) ~[ItemsAdder_3.3.0b-r5.jar:?]
at dev.lone.rpghuds.core.data.PlayerData.sendPacket(PlayerData.java:61) ~[RPGhuds_1.2.0.jar:?]
at dev.lone.rpghuds.core.data.PlayerData.refreshHuds(PlayerData.java:54) ~[RPGhuds_1.2.0.jar:?]
at dev.lone.rpghuds.core.data.PlayerData.refreshAllHuds(PlayerData.java:36) ~[RPGhuds_1.2.0.jar:?]
at dev.lone.rpghuds.core.RPGHuds.lambda$scheduleRefresh$0(RPGHuds.java:228) ~[RPGhuds_1.2.0.jar:?]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.3.jar:git-Purpur-1894]
at org.bukkit.craftbukkit.v1_19_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[purpur-1.19.3.jar:git-Purpur-1894]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1500) ~[purpur-1.19.3.jar:git-Purpur-1894]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:482) ~[purpur-1.19.3.jar:git-Purpur-1894]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424) ~[purpur-1.19.3.jar:git-Purpur-1894]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1194) ~[purpur-1.19.3.jar:git-Purpur-1894]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[purpur-1.19.3.jar:git-Purpur-1894]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Edit thirst indicator

Can't see the thirst indicator in config.yml, is there a way to move or remove it?

[Bug? Question?] hud does not display, loading time error

Error when load / /iazip:

[RPGhuds] Failed to load PlayerData: Cannot invoke "net.milkbowl.vault.economy.Economy.getBalance(org.bukkit.OfflinePlayer)" because "dev.lone.rpghuds.Main.econ" is null

I installed the requested prefix and did not change any default settings, hud does not show up, using "/rpghuds show ..." When I use "/rpghuds show ...", it shows "Hud not found!"

Paper 1.18.1, Azul zulu 17

Issue with HUD

Hi,

I am using latest version IA and latest version RPGHuds and having this issue, would hope to fix this issue with the compass been missing and the front of the cash having a wierd icon, unable to fix any of this.

9149c74fd54b0a790b9ab013c2726eb1

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.