Skip to content

Commit

Permalink
Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
poqdavid committed Aug 23, 2021
1 parent 8ed4a59 commit 8bc64ad
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 17 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# NyxCore
Core plugin for rest of the Nyx plugins.
Core plugin for all of my Nyx plugins.

----------

This plugin uses bStats I would really appreciate it if you guys allow data collection by running `/sponge metrics NyxCore enable`

**Donate:**
<br/>**BTC Legacy:** 1Q2JQG3iCLZPT2iJfDLow1oQVGKmxheoAh
<br/>**BTC Segwit:** bc1q8gurls0wjkfe43ygmrqmu2pzmyjetnrvgws9sr
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ dependencies {

compile("javax.validation:validation-api:${getProjectProperty('validation')}")
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'org.bstats', name: 'bstats-sponge', version: '1.7'
shadow group: 'org.bstats', name: 'bstats-sponge', version: '1.7'
compile group: 'org.bstats', name: 'bstats-sponge', version: '2.2.1'
shadow group: 'org.bstats', name: 'bstats-sponge', version: '2.2.1'
}

jar {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ org.gradle.jvmargs=-Xmx1G -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -
## General
m_name=NyxCore
m_id=nyxcore
m_url=https://github.com/poqdavid
m_url=https://github.com/poqdavid/NyxCore
m_organization=POQDavid
m_authors=POQDavid
m_group=io.github.poqdavid.nyx
m_description=Core plugin for rest of the Nyx plugins.
m_description=Core plugin for all of my Nyx plugins.

## Version
m_major=1
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/io/github/poqdavid/nyx/nyxcore/NyxCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand All @@ -24,7 +24,7 @@
import io.github.poqdavid.nyx.nyxcore.Permissions.BackpackPermission;
import io.github.poqdavid.nyx.nyxcore.Utils.CText;
import io.github.poqdavid.nyx.nyxcore.Utils.NCLogger;
import org.bstats.sponge.Metrics2;
import org.bstats.sponge.Metrics;
import org.slf4j.Logger;
import org.spongepowered.api.Game;
import org.spongepowered.api.Sponge;
Expand Down Expand Up @@ -55,7 +55,7 @@ public class NyxCore {
private final Path toolsDir;
private final Path backpacksDir;
private final PluginContainer pluginContainer;
private final Metrics2 metrics;
private final Metrics metrics;
public NCLogger logger;
public PermissionService permservice;
public PermissionDescription.Builder permdescbuilder;
Expand All @@ -65,7 +65,7 @@ public class NyxCore {
private CommandManager cmdManager;

@Inject
public NyxCore(Metrics2.Factory metricsFactory, @ConfigDir(sharedRoot = true) Path path, Logger logger, PluginContainer container) {
public NyxCore(Metrics.Factory metricsFactory, @ConfigDir(sharedRoot = true) Path path, Logger logger, PluginContainer container) {
nyxcore = this;
this.dataDir = Sponge.getGame().getSavesDirectory().resolve(PluginData.id);
this.pluginContainer = container;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/io/github/poqdavid/nyx/nyxcore/PluginData.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand All @@ -25,8 +25,8 @@ public class PluginData {
public static final String name = "NyxCore";
public static final String shortName = "Nyx";
public static final String version = "1.0";
public static final String description = "Core plugin for rest of the Nyx plugins.";
public static final String description = "Core plugin for all of my Nyx plugins.";
public static final String organization = "POQDavid";
public static final String author1 = "POQDavid";
public static final String url = "https://github.com/poqdavid";
public static final String url = "https://github.com/poqdavid/NyxCore";
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* You should have received a copy of the GNU General Public License
* along with NyxCore. If not, see <https://www.gnu.org/licenses/>.
*
* Copyright (c) POQDavid <https://github.com/poqdavid>
* Copyright (c) POQDavid <https://github.com/poqdavid/NyxCore>
* Copyright (c) contributors
*/

Expand Down

0 comments on commit 8bc64ad

Please sign in to comment.