Closed repiece closed 1 year ago
Did you add the permissions?
ia.admin.iaplayerstat.write
ia.admin.iaplayerstat.read
i've noticed that we cannot change iaplayerstat to OP players, i tried without OP and /iaplayerstat works fine
You have to negate the bypass permission to OP players, it should be the issue.
ia.user.hud.bypass.triggers.*
ia.user.hud.bypass.commands.*
ia.user.hud.bypass.api.*
Terms
Discord tag (optional)
No response
What happened?
hud config
The float, int values do not change when writing from example_stat.
Steps to reproduce the issue
I think it works fine to change the value using the trigger, but I don't think I can change it using the command, itemsadder api.
Server version
This server is running CraftBukkit version 3638-Spigot-d90018e-7dcb59b (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT)
ItemsAdder Version
ItemsAdder version 3.3.1
ProtocolLib Version
ProtocolLib version 5.0.0-SNAPSHOT-b612
LoneLibs Version
LoneLibs version 1.0.23
FULL server log
Starting server Error, this build is outdated Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot Server will start in 20 seconds Loading libraries, please wait... [10:35:33] [ServerMain/WARN]: Invalid registry value type detected for PerfOS counters. Should be REG_DWORD. Ignoring: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable Performance Counters. [10:35:35] [ServerMain/INFO]: Building unoptimized datafixer [10:35:36] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [10:35:38] [ServerMain/INFO]: Loaded 7 recipes [10:35:33] [ServerMain/WARN]: Invalid registry value type detected for PerfOS counters. Should be REG_DWORD. Ignoring: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PerfOS\Performance\Disable Performance Counters. [10:35:35] [ServerMain/INFO]: Building unoptimized datafixer [10:35:36] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [10:35:38] [ServerMain/INFO]: Loaded 7 recipes [10:35:39] [Server thread/INFO]: Starting minecraft server version 1.19.3 [10:35:39] [Server thread/INFO]: Loading properties
[10:35:53] [Server thread/INFO]: [ItemsAdder] LightAPI not installed, please install it to see blocks emitting light: https://a.devs.beer/lightapi-new [10:35:54] [Server thread/INFO]: [ItemsAdder] [Host] Starting self-host webserver on port: 8163 [10:35:54] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[10:35:54] [Server thread/INFO]: [ItemsAdder] [Pack] Extracting internal contents from .jar [10:35:54] [Server thread/INFO]: [ItemsAdder] [Pack] DONE extracting internal contents from .jar [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] [License] Spigot product licensed to: MindControl (1728770) [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Loaded 14 items [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Used 0/188 REAL block IDs [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Used 0/750 REAL_NOTE block IDs [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Used 0/63 REAL_TRANSPARENT block IDs [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Used 0/127 REAL_WIRE block IDs [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Used 0/14 FIRE block IDs [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] Used 10/6608 font_images [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] [Init] Loaded 1 categories [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] [Init] Loaded successfully. [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] [Pack] Checking resourcepack url... [10:35:54] [Craft Scheduler Thread - 1/INFO]: [ItemsAdder] [Pack] Resourcepack URL (self-host): http://220.79.149.182:8163/generated.zip [10:37:32] [User Authenticator #1/INFO]: UUID of player J_sed38 is 65e5cf85-6507-472a-b334-749b27ae7c3d [10:37:33] [Server thread/INFO]: J_sed38 joined the game [10:37:33] [Server thread/INFO]: J_sed38[/220.79.149.182:55738] logged in with entity id 87 at ([world]-31.79087724917599, 68.0, 207.95813406733723) [10:37:57] [Server thread/INFO]: J_sed38 issued server command: /iaplayerstat write J_sed38 example_stat int 1 [10:38:00] [Server thread/INFO]: J_sed38 issued server command: /iaplayerstat write J_sed38 example_stat int 2 [10:38:21] [Server thread/INFO]: J_sed38 issued server command: /iaplayerstat read J_sed38 example_stat int [10:42:37] [Server thread/INFO]: J_sed38 issued server command: /iaplayerstat read J_sed38 example_stat int