♦ PhantomLib ♦
A plugin which contains a bunch of very useful code which other plugins can utilize.
PhantomLib will not do anything to your server on its own, so you should only install it when you have a plugin that depends on it. You can install it on its own if you want, but it will be all sad and lonely.
PhantomLib's impact on your server's performance is completely negligible.
♦ Quick Links
- Discord Server (Request support, have a chat)
- GitHub Wiki (Documentation)
- GitHub Issue Tracker
- GitHub Source Code
♦ Plugins which use PhantomLib
- Currently, a few of my resources do. I plan to implement PhantomLib in more of mine too.
- If you've got a SpigotMC resource that depends on PhantomLib, feel free to contact me and I'll be happy to link it here!
♦ Features Overview
- A bunch of classes with methods that could be very useful to your plugin
- CommandRegister
- Contains a method which returns a boolean if a command was successfuly registered
- ItemBuilder
- Create ItemStacks in one line
- Note: Changing the SkullOwner only works in versions which have the PLAYER_HEAD material! This will likely be changed in the future.
- MessageMethods
- Prefix or colorize messages
- PhantomLogger
- Easy logging methods
- Log messages without a prefix
- Log messages with a prefix
- LogLevel enum to determine severity of the message
- UpdateChecker
- Includes the asynchronous update checker class found on the Spigot Wiki.
- All credit for this class is due to the editors of that page.
- CommandRegister
- A bunch of events that could be very useful to your plugin
- PlayerMoveXYZEvent
- Fires when a player moves by their X, Y or Z coordinate, not when they move their head as well (unlike PlayerMoveEvent)
- Better performance to listen to this than PlayerMoveEvent
- PlayerMoveFullXYZEvent
- Fires when a player moves by a full block by their X, Y or Z coordinate, not when they move their head or slightly move forward (unlike PlayerMoveEvent and PlayerMoveXYZEvent)
- Even better performance to listen to this than PlayerMoveEvent
- PlayerMoveXYZEvent
- A bunch of objects that could be very useful to your plugin
- CachedSound
- Store a complete object with all the Sound variables (sound id, volume, pitch)
- Easily play the sound to a player or multiple players
- CachedTitle
- Note: 1.8-1.11 methods are deprecated(method ends with Old)! 1.11+ methods are recommended. See the javadocs for more information.
- Store a complete object with all the Title variables (main title, sub title, fade in, stay, fade out)
- Easily play the title to a player or multiple players
- CachedSound
- Pretty solid documentation (check the Wiki )
- All classes have javadocs.
- Pretty solid support (see below if you need to contact me)
- Brilliant performance, well-built plugin
- Plugin doesn't do anything significant in the background. It just runs very, very lightweight methods. Server performance won't be affected.
- Multiversion support
- Methods are built with multi-version support in mind, but this feature does not hinder the plugin's performance at all.
- Great look and function
- For the little messages that this plugin does send out, they look pretty solid if you ask me .
- For the little messages that this plugin does send out, they look pretty solid if you ask me .
♦ What this plugin does best
- Shrinking the code required to make your plugins
- Getting rid of the repeated code in every one of your resources
- Providing useful events and methods which work great and perform well
- Not being a burden on your server's hardware
♦ Screenshots
- Unfortunately, there isn't really anything to show. It's all code, brother! Check the GitHub repo
♦ Contact Me
- Join the discord server
- PM me on Discord at lokka30#6659
- PM me on Spigot at @lokka30
♦ Check out my fleet of plugins!
- I have a bunch of plugins that you might be interested in. Click here if you want to see them.
♦ Contributors
Thanks to the following for their utilised code or assistance in this resource:
- LightningStorage by EsGibtKeineMitte
- bStats by BtoBastian
- translation of 1.16+ hex color codes by imDaniX and Sullivan_Bognar
♦ License
Click the image above for more information
Note: This plugin uses bStats metrics. These metrics are only used to check how the resource is going and where I can improve. These metrics are completely anonymous. These metrics keep me motivated to continue supporting the plugin. If you wish to opt out of sending these metrics, you can do so in the /plugins/bStats/config.yml file.
Unfortunately, I am a developer and I will probably receive an idiot reviewer at some point, so here's a big wall of text which hopefully deters some:
Do not ask for support in the reviews section.
Do not ask questions in the reviews section.
Do not report issues in the reviews section.
Do not post console logs in the reviews section.
I will not assist you in the issue you are having if you do so.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
PhantomLib is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 5,069 times (via Spigot). Download it and open it directly in the game.