mirror of
https://github.com/moparisthebest/xAuth
synced 2024-12-22 07:08:51 -05:00
Beta release in the next 1-2 days
This commit is contained in:
parent
f134bf7f91
commit
e2983c79da
@ -19,7 +19,6 @@ import org.bukkit.inventory.ItemStack;
|
|||||||
import org.bukkit.inventory.PlayerInventory;
|
import org.bukkit.inventory.PlayerInventory;
|
||||||
import org.bukkit.plugin.PluginDescriptionFile;
|
import org.bukkit.plugin.PluginDescriptionFile;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
//import org.bukkit.scheduler.BukkitTask;
|
|
||||||
|
|
||||||
public class xAuth extends JavaPlugin {
|
public class xAuth extends JavaPlugin {
|
||||||
public static PluginDescriptionFile desc;
|
public static PluginDescriptionFile desc;
|
||||||
@ -39,17 +38,6 @@ public class xAuth extends JavaPlugin {
|
|||||||
if (dataManager != null)
|
if (dataManager != null)
|
||||||
dataManager.close();
|
dataManager.close();
|
||||||
|
|
||||||
// not sure if necessary
|
|
||||||
/*Boolean activeTasks = true;
|
|
||||||
while (activeTasks) {
|
|
||||||
xAuthLog.info("Waiting for scheduled tasks to finish..");
|
|
||||||
for (BukkitTask task : getServer().getScheduler().getPendingTasks())
|
|
||||||
if (task.getOwner() == this)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
activeTasks = false;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
xAuthSettings.saveChanges();
|
xAuthSettings.saveChanges();
|
||||||
xAuthLog.info("v" + desc.getVersion() + " Disabled!");
|
xAuthLog.info("v" + desc.getVersion() + " Disabled!");
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
name: xAuth
|
name: xAuth
|
||||||
main: com.cypherx.xauth.xAuth
|
main: com.cypherx.xauth.xAuth
|
||||||
version: 2.0 [Dev]
|
version: 2.0b1
|
||||||
description: Offline-Mode Security Suite
|
description: Offline-Mode Security Suite
|
||||||
author: CypherX
|
author: CypherX
|
||||||
database: false
|
|
||||||
commands:
|
commands:
|
||||||
register:
|
register:
|
||||||
description: Create an account linked to your player name
|
description: Create an account linked to your player name
|
||||||
@ -28,5 +27,5 @@ commands:
|
|||||||
/<command> logout <player>
|
/<command> logout <player>
|
||||||
/<command> unregister <player>
|
/<command> unregister <player>
|
||||||
/<command> location set|remove
|
/<command> location set|remove
|
||||||
/<command> config <setting> <value>
|
/<command> config <setting> [value]
|
||||||
/<command> reload
|
/<command> reload
|
Loading…
Reference in New Issue
Block a user