lorenzo0111 / infoheads Goto Github PK
View Code? Open in Web Editor NEWRepository for InfoHeads
License: Apache License 2.0
Repository for InfoHeads
License: Apache License 2.0
The idea would be a new subcommand: /infoheads edit [msg|cmd|block]
The command would allow you to edit the current settings of a block/head including the block/head itself.
/infoheads edit text
/infoheads edit cmd
Allows you to update the Message(s) or command(s) you set for the plugin.
To update it could be done like this:
/infoheads edit msg|cmd
/infoheads edit block
Updates the block/head you use for the command(s) and/or message(s).
To update:
/infoheads edit block
my server have unexpecting close server
Updating to 2.0 gave me the following error on startup:
[03:25:37 INFO]: [InfoHeads] Enabling InfoHeads v2.0
[03:25:37 ERROR]: Error occurred while enabling InfoHeads v2.0 (Is it up to date?)
java.lang.NullPointerException: null
at me.harry0198.infoheads.datastore.DataStore.addToConfig(DataStore.java:71) ~[?:?]
at me.harry0198.infoheads.datastore.DataStore.addInfoHead(DataStore.java:46) ~[?:?]
at me.harry0198.infoheads.InfoHeads.lambda$updateConfig$2(InfoHeads.java:152) ~[?:?]
at java.util.ArrayList.forEach(ArrayList.java:1540) ~[?:?]
at me.harry0198.infoheads.InfoHeads.updateConfig(InfoHeads.java:152) ~[?:?]
at me.harry0198.infoheads.InfoHeads.load(InfoHeads.java:99) ~[?:?]
at me.harry0198.infoheads.InfoHeads.onEnable(InfoHeads.java:75) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.15.2.jar:git-Paper-146]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) ~[patched_1.15.2.jar:git-Paper-146]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.15.2.jar:git-Paper-146]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:470) ~[patched_1.15.2.jar:git-Paper-146]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:384) ~[patched_1.15.2.jar:git-Paper-146]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java) ~[patched_1.15.2.jar:git-Paper-146]
at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:298) ~[patched_1.15.2.jar:git-Paper-146]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:885) ~[patched_1.15.2.jar:git-Paper-146]
at java.lang.Thread.run(Thread.java:834) [?:?]
There seems to be an API available under mvnrepository.com to hook into and use HeadDatabase:
https://mvnrepository.com/artifact/com.github.shynixn.headdatabase/hdb-api
This issue tracks plugin updates for 1.17 compatibility.
Todo:
HeadDatabaseAPI is included in the jar file of InfoHeads, which results in other plugins using HeadDatabaseAPI not working correctly. I added <scope>provided</scope>
to the HeadDatabaseAPI dependency fixes this issue.
After updating to the newest version, all "world" values in datastore.json
were changed to "world". This caused all of my infoheads to be wiped until manually fixing the json file.
I think it would be beneficial, if all heads/blocks would be saved in their own file (i.e. saves.yml
) because this would be useful if you f.e. want to reset all saved blocks and don't want to recreate the config again (in case you use own heads.)
When creating an info head, it can cause replacement of existing heads.
Cause:
When deleting a head it can cause the field private int keys to become out of sync.
Fix:
I discovered a small bug
When typing /infoheads reload
I get /infoheads
as a response right after the confirm message of the reload indicating that there is a missing return true
or it just returns false.
Why is the plugin called InfoHeads when it can be used with any block?
And could you perhaps add that removing the head/block removes the setting from the config?
Initially using PAPI OI tried to have the console use economy to give a player a specified amount of money and it wasn't working, so I tried using luckperms papi and that was not working either.
After a lot of trial and error, research and contacting support on the discord I realized the plugin itself was not working. I tried using the console command to give a player an item, put a player in creative and so on and nothing is working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.