Discussion in 'Resources' started by bigteddy98, Mar 12, 2014.
This resource is no longer available.
in what situation did you need to do this? xD
nice work though!
Since 1.6 (correct my if I'm wrong), you can change the credit screen by using a custom resource pack. If your server has a custom resource pack, this will be a pretty awesome way to give your players the server credits/information.
do not use reflection based import, it just illusion of usability, first update that change internal method\class\field names and your plugin will crash server without warning.
in case of normal import, plugin willnot load and force user to seek update.
in my opinion it is better using reflection as instead of having to update every update, you only have to update it when they change the classes to do with what you are doing, which isnt very often.
it just illusion of usability SoThatsIt
bigteddy98 You could probably very easily have a created resourcepack in your folder somewhere with the text you want, and do the setResourcePack on the player before your method runs!
RawCode It's useful though in my opinion, because the fields and methods are not likely to change in every new update. So your plugin will still work even if a new version is out and they didn't change them. And I don't think that it will ever happen that a method will be replaced by another with the same name and parameters which does something bad...
RawCode Disargree with that.
Not true, if any NMS code changes, the class will start throwing ClassNotFound, FieldNotFound and/or MethodNotFoundExceptions. If you want to, you could print an update message, instead of printing the error.
Many times, only the package name changes and the NMS code stays the same. With normally importing you would need to update every version anyway. With reflection, only once every few updates.
Separate names with a comma.