Dear All Does anyone have a working password Auth plugin which works with the latest dev mine-craft server 1.0 using the latest API 3.0. I see a number of leet.cc 1.0 servers online with a working auth plugin however I can not find how / which plugin they are using. Please provide a link if you know of any working plugins or have any advice. Thanks Josh
Most auth plugins are not broken by any API 3.0 changes yet. You could bump the version of SimpleAuth/HereAuth to 3.0.0-ALPHA1 and it should work. We're currently in a transition phase and this is going to take a while.
Key word to note there is should. It may not work and may break at any time in the future without warning, due to the on going changes to the API.
Sadly it does not work.. changed api: 2.0.0 to api: 3.0.0-ALPHA1 within the .phar file and get the following error [02:17:13] [Server thread/ERROR]: Could not load \Minecraft-live\plugins\SimpleAuth_v1.7.2.phar' in folder '\Minecraft-live\plugins\': manifest cannot be larger than 100 MB in phar "\Minecraft-live\plugins\SimpleAuth_v1.7.2.phar" [02:17:13] [Server thread/CRITICAL]: UnexpectedValueException: "manifest cannot be larger than 100 MB in phar "\Minecraft-live\plugins\SimpleAuth_v1.7.2.phar"" (EXCEPTION) in "/src/pocketmine/plugin/PharPluginLoader" at line 85 HereAuth has the same error...
Never edit a phar directly. Unpackage it, make your changes and then package it again. Are you stupid? If the API version was only there for our enjoyment then we'd let PocketMine load all plugins, no matter what API version they specify. The changes to the version reflect changes to the code itself, if there are backwards incompatible changes then the major API version number will be bumped so old API (possibly incompatible) plugins won't load. The appropriate changes need to be made to the plugins actual code and then to the API declaration. A plugin loading is one thing and a plugin working is another.
Perfect... and done done Modifed HereAuth 2.0.0 .phar once un complied and it works perfectly..... Thanks for your help I wonder how many other plugins will work like this.....
Current rule of thumb for ALPHA-1: All plugins can be bumped more or less successful, if they do not call any level functions. And don't mess with metadata.