Comments (24)
Please test this version. https://h.cnaude.org/jenkins/job/TrophyHeads/28/
from trophyheads.
https://h.cnaude.org/jenkins/job/TrophyHeads/31/
from trophyheads.
NOTE: Updated my spigot version to: git-Spigot-3104eb1-68b7277 (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
- build 31, no heads drop. // EDIT: heads don't drop until server reloaded (2nd launch with plugin installed)
tested on pig, cow, chicken, blaze, zombie and skeleton to confirm.
default config regenerated when build 31 installed.
build 28: (might have been fixed? can't check until drops are fixed // EDIT: not fixed in b31)
2. heads don't take the color/skin of the head until placed (i think they should do so immediately, EDIT2: they do, but sometimes may be delayed)
3. when a head is broken after the first placement (survival) the head says "UNKNOWN" (found this out on a blaze head before i updated to b31)
4 status on making the ender dragon drop it's minecraft: skull: 5 head?
EDIT:
5. sneaking+Left_click to check heads doesn't work on heads dropped by the plugin IE: dropped blaze heads, heads with 'UNKOWN' name (@3 above) //NOTE: it works as far as doing 'new line' in chat, but the line is blank // it DOES work with heads spawned in ie: /head leasoncre -or- default MC heads work as well
PS. why not just use normal right click? left click(hold) breaks the block, but right clicking a head has no function in default minecraft
from trophyheads.
[[edited above comment for more clarifications, should be done testing this for the moment]]
from trophyheads.
@4 enderdragon dropped it's head! (1.9 default minecraft head)
6 . wither skeleton mobs don't drop heads
7 . the 5 horse types drop differently named heads, but all have the same skin, should they be different? [Donkey, Horse, Mule, Skeleton, Zombie]
--all mobs tested--
from trophyheads.
If you can find skin accounts for all of the different horse types I will add them.
I'm in the process of fixing the left click and adding right click.
Thanks for testing.
from trophyheads.
well.. brilliant.. i still had playerheads installed when i tested those heads...
EDIT:
doesn't seem to have affected anything.
maybe oneday i'll just buy some accounts and make the heads... finding them is neigh impossible
bat skin recommendation: bozzobrain
from trophyheads.
Go ahead and try latest build. https://h.cnaude.org/jenkins/job/TrophyHeads/34/
from trophyheads.
@ 1 . not verified fixed
@ 2 . assume fixed or invalid
@ 3 . heads retain their custom name now.
-Why are they green text? (not that it really matters)
-why does the guardian head say 'ELDER_GUARDIAN Head'(Green Text) ? it should say 'Guardian Head'
-[ps: will the elder guardian drop a custom head as well or the same as a regular guardian?, just tried, elder guardian drops the same head, but name is 'Elder Guardian Head'(White Italic Text)](i'm fine with them dropping the same head)
@ 4 . fixed
5 . message is printed twice.
-and the mob names are a different color for each mob, intended? cool
-enderdragon skull registers as 'unknown'
6 . wither skeletons still don't drop heads at all, [needs to be fixed or making-beacons/summoning-the-wither will be impossible.
@ 7 . not implimenting
from trophyheads.
The Elder Guardian should display correctly with latest build and setting the "skin: ElderGuardian".
Wither Skeletons now drop heads.
And Dragon skulls now display info correctly on right click.
I'm still working on the double message issue. I think it's a bug in the Minecraft client, but I'm still researching it.
The different colors are intentional. Of course you can change any message you like. If you have an idea for better colors or messages let me know and Ill change the defaults.
from trophyheads.
Latest build is https://h.cnaude.org/jenkins/job/TrophyHeads/37/
from trophyheads.
[Note: loaded from scratch, config regenerated]
1 . not fixed on first load. (have to run plugin twice before heads drop)
5 . message printed twice
!5b . assuming you also changed something to where it doesn't use the message in the config file (per head). a lot of the heads now say the username of the head instead of just ie:'bat' and they all have the same color name(biggest clue) (yellow)
i liked how it was previously with the custom message per-head :) NOTE: this is a problem related to # 1 !
5c . message works (double print) when sneaking both left and right click. (recommend removing sneak check if it's still in there)
@ 6 . fixed, PS. whats the default drop rate of wither skeleton heads?
8 . recommend changing the config name of 'sneak-punch-info' and no break as it's now using right click event.
9 . any custom head (not using a username) causes an error on lookup in console. i'd prefer a message to be printed to the user saying 'That is a Custom head!' ..plus console errors are annoying and spammy. we use command-block-spawned-in heads on our server. IE commandblock: /give @p skull 1 3 {display:{Name:"Podzol"},SkullOwner:{Id:"27743c84-c5fa-4334-848b-c2fd293f23f8",Properties:{textures:[{Value:"eyJ0aW1lc3RhbXAiOjE0MTE1ODEzNTgwMjAsInByb2ZpbGVJZCI6ImRiM2RkNDEyMzBiOTRkMGU4NWNhNThmMGYzMjQ5NmRkIiwicHJvZmlsZU5hbWUiOiJQaGFzZVB2UCIsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9hNDE5NWY5YTQzOWM2ZDBmZmQxOTYxNjU3ZjZmMGFhOGUzYTJmOGEyNDkzYWZhNjYyYWI1ZTQxOTNlMCJ9fX0="}]}}}
[01:52:44] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to TrophyHeads v1.12.7-37
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at org.bukkit.craftbukkit.v1_9_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:227) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.PlayerInteractManager.a(PlayerInteractManager.java:482) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:880) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:55) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.PacketPlayInUseItem.a(SourceFile:11) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_74]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_74]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_74]
Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.containsValue(Unknown Source) ~[?:1.8.0_74]
at com.cnaude.trophyheads.CaseInsensitiveMap.containsValue(CaseInsensitiveMap.java:391) ~[?:?]
at com.cnaude.trophyheads.TrophyHeads.onPlayerInteractEvent(TrophyHeads.java:179) ~[?:?]
at sun.reflect.GeneratedMethodAccessor154.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_74]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_74]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.9.jar:git-Spigot-3104eb1-68b7277]
... 17 more
Attached personnel recommended colors/names for mob messages (config file)
config.txt
Top notch support!
from trophyheads.
5d . Guardians and Elder_Guardians are (right click) reported as 'Guardian'
-Wither_Skeleton, and Wither skulls are (right click) reported as 'Wither Boss
from trophyheads.
I think build 42 is working very nicely. https://h.cnaude.org/jenkins/job/TrophyHeads/42/
from trophyheads.
@ 1 . fixed.
@ 5 . fixed.
@ 5b . fixed by # 1
@ 5c . (removed unneeded code, check)
@ 5d . Fixed. (had to get a fresh head)
@ 8 . fixed/changed
@ 9 . fixed.
--all previous bugs fixed--
minor config grammar fixes/changes:
'&eThis head once belonged to an &3Elder Guardian&e.' @fixed: 'a elder guardian'
'&eThis head once belonged to an &5Endermite&e.' @fixed: 'a endermite'
'&eThis head once belonged to a &fSnow Golem&e.' @fixed: 'an snow golem'
'&eThis head once belonged to a &5Witch&e.' @fixed: 'an witch'
1 . minor bug: not important to fix: when the head ropps, it doesn't take the new skin until picked up
2 . minor bug: custom(Trophy Heads) heads with custom names don't keep their custom names when placed and re-mined. IE: horse mob types:'donkey','mule','skeleton horse','zombie horse', 'killer bunny' drop their head with custom name, but lose it on placement in-world.
-this includes heads renamed in an anvil and placed/re-mined. (not expecting this to get fixed)
3 . not important: 'Giant' mob doesn't drop a head (i really don't care if it does, it'll never be used)
should be ready for release version :)
from trophyheads.
1.8.8 testing for backwards compatability:
add backwards compatibility for 1.8? detect minecraft version on startup and use player enderdragon skull? or just tell players to change the config?
--nothing else found--
PS. will the release version have the drop-rates pre-configured? (not all 100%)
EDIT: if not, i'll write up a config with 'recommended' values or, you can use it as the new 'default' config. (admins like things ready to go out-of-the-box). if so, does the % value accept decimals? (old plugin i used had most things at about 0.2%)
in 'death-types', what is a 'CUSTOM' death type? anything not covered in the list? [wiki shows 45 different death messages]
from trophyheads.
git-Spigot-23e921f-8b69bdd (MC: 1.9) (Implementing API version 1.9-R0.1-SNAPSHOT)
TrophyHeads version 1.12.7-43
custom head message event fired twice.
unsure what changed from 42 to 43, assume not much.
from trophyheads.
What's happening is when a player performs a right click the client sends the event to the server twice. The Spigot API then forwards the event to the plugin twice. I have some code that adds a cool down. It's probable that the cooldown was not long enough. I'll increase the cooldown.
from trophyheads.
it was only the custom head though, none of the others
from trophyheads.
been busy?
from trophyheads.
Yup. I might have some free time later tonight.
from trophyheads.
For the right click issue try https://h.cnaude.org/jenkins/job/TrophyHeads/44/
from trophyheads.
did you add the cooldown code to the null(custom/cmdblk) head message code? (i'd assume it's different from the rest of the heads, as it's more of an error than a ligit head)
as it doesn't matter what i set the cool down too, it's ignored for the custom heads
from trophyheads.
You are absolutely correct. The custom head check was bypassing the cooldown timer.
from trophyheads.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trophyheads.