This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.empireminecraft.systems.db; | |
import com.empireminecraft.util.Util; | |
import java.sql.SQLException; | |
import java.util.Queue; | |
import java.util.concurrent.ConcurrentLinkedQueue; | |
import java.util.concurrent.locks.Lock; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2017 willies952002 <admin@domnian.com> | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building commands 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
Downloading: http://ci.emc.gs/nexus/content/groups/aikar/com/destroystokyo/paper/paper-api/1.10-R0.1-SNAPSHOT/maven-metadata.xml | |
Downloading: https://repo.destroystokyo.com/repository/maven-public/com/destroystokyo/paper/paper-api/1.10-R0.1-SNAPSHOT/maven-metadata.xml | |
Downloading: http://ci.emc.gs/nexus/content/groups/aikar/com/destroystokyo/paper/paper-api/1.10-R0.1-SNAPSHOT/paper-api-1.10-R0.1-SNAPSHOT.pom | |
Downloading: https://repo.destroystokyo.com/repository/maven-public/com/destroystokyo/paper/paper-api/1.10-R0.1-SNAPSHOT/paper-api-1.10-R0.1-SNAPSHOT.pom | |
[WARNING] The POM for com.destroystokyo.paper:paper-api:jar:1.10-R0.1-SNAPSHOT is missing, no dependency information available |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building commands 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] The POM for com.destroystokyo.paper:paper-api:jar:1.10-R0.1-SNAPSHOT is missing, no dependency information available | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 0.795 s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building commands 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] The POM for com.destroystokyo.paper:paper-api:jar:1.10-R0.1-SNAPSHOT is missing, no dependency information available | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 0.743 s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.idea/compiler.xml b/.idea/compiler.xml | |
index 8a0e6a6..e47bfc0 100644 | |
--- a/.idea/compiler.xml | |
+++ b/.idea/compiler.xml | |
@@ -6,11 +6,11 @@ | |
<sourceOutputDir name="target/generated-sources/annotations" /> | |
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> | |
<outputRelativeToContentRoot value="true" /> | |
- <module name="commands" /> | |
+ <module name="command" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.idea/compiler.xml b/.idea/compiler.xml | |
index 8a0e6a6..e47bfc0 100644 | |
--- a/.idea/compiler.xml | |
+++ b/.idea/compiler.xml | |
@@ -6,11 +6,11 @@ | |
<sourceOutputDir name="target/generated-sources/annotations" /> | |
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" /> | |
<outputRelativeToContentRoot value="true" /> | |
- <module name="commands" /> | |
+ <module name="command" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static final RemovalListener<Object, EmpireUser> USER_REMOVAL_LISTENER = notification -> { | |
final EmpireUser user = notification.getValue(); | |
switch (notification.getCause()) { | |
case EXPIRED: | |
case SIZE: | |
if (user != null && user.getPlayer() != null && user.getPlayer().isOnline()) { | |
user.refreshCaches(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function DB($query, $args = NULL, $return = false) { | |
$stmt = DB::prepare($query); | |
if ($args !== NULL && !is_array($args) && func_num_args() == 2) { | |
//support DB(query,return) | |
$return = $args; | |
$args = array(); | |
} | |
if (!is_null($args) && is_array($args)) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Copyright (c) 2016 William Surgeon (willies952002) <admin@domnian.com> | |
* | |
* MIT License: | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy of | |
* this software and associated documentation files (the "Software"), to deal in | |
* the Software without restriction, including without limitation the rights to use, |
NewerOlder