Does not work if called when the plugin is loading. Must be called once the server is loaded.