-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for NyxEffect and NyxMarket And some improvements
- Loading branch information
Showing
11 changed files
with
542 additions
and
96 deletions.
There are no files selected for viewing
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
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
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
41 changes: 41 additions & 0 deletions
41
src/main/java/io/github/poqdavid/nyx/nyxcore/Permissions/EffectPermission.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* This file is part of NyxCore. | ||
* | ||
* NyxCore is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* NyxCore is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* 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/NyxCore> | ||
* Copyright (c) contributors | ||
*/ | ||
|
||
package io.github.poqdavid.nyx.nyxcore.Permissions; | ||
|
||
public class EffectPermission { | ||
public static final String COMMAND_HELP = "NyxCore.Effect.Command.Help"; | ||
public static final String COMMAND_MAIN = "NyxCore.Effect.Command.Main"; | ||
|
||
public static final String COMMAND_CHECK = "NyxCore.Effect.Command.Check"; | ||
public static final String COMMAND_CHECKOTHERS = "NyxCore.Effect.Command.CheckOthers"; | ||
|
||
public static final String COMMAND_DISABLEOTHERS = "NyxCore.Effect.Command.DisableOthers"; | ||
|
||
public static final String COMMAND_EFFECT = "NyxCore.Effect.Command.Effect"; | ||
public static final String COMMAND_EFFECT_OTHER = "NyxCore.Effect.Command.EffectOther"; | ||
|
||
public static final String COMMAND_TASK = "NyxCore.Effect.Command.Task"; | ||
public static final String COMMAND_LIST = "NyxCore.Effect.Command.List"; | ||
|
||
public static final String COMMAND_TASK_OTHER = "NyxCore.Effect.Command.TaskOther"; | ||
|
||
public static final String EFFECTS = "NyxCore.Effect.Effects"; | ||
} |
37 changes: 37 additions & 0 deletions
37
src/main/java/io/github/poqdavid/nyx/nyxcore/Permissions/MarketPermission.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* This file is part of NyxCore. | ||
* | ||
* NyxCore is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* NyxCore is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* 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/NyxCore> | ||
* Copyright (c) contributors | ||
*/ | ||
|
||
package io.github.poqdavid.nyx.nyxcore.Permissions; | ||
|
||
public class MarketPermission { | ||
//Commands | ||
public static final String COMMAND_HELP = "NyxCore.Market.Command.Help"; | ||
public static final String COMMAND_MAIN = "NyxCore.Market.Command.Main"; | ||
public static final String COMMAND_SELL = "NyxCore.Market.Command.Sell"; | ||
public static final String COMMAND_BUY = "NyxCore.Market.Command.Buy"; | ||
public static final String COMMAND_HISTORY = "NyxCore.Market.Command.History"; | ||
public static final String COMMAND_MAIL = "NyxCore.Market.Command.Mail"; | ||
public static final String COMMAND_PRICECHECK = "NyxCore.Market.Command.PriceCheck"; | ||
public static final String COMMAND_PRICELIMIT = "NyxCore.Market.Command.PriceLimit"; | ||
public static final String COMMAND_RELOAD = "NyxCore.Market.Command.Reload"; | ||
public static final String COMMAND_SEND = "NyxCore.Market.Command.Send"; | ||
public static final String COMMAND_SETTING = "NyxCore.Market.Command.Setting"; | ||
public static final String ADMIN_CANCEL = "NyxCore.Market.ADMIN_CANCEL"; | ||
} |
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
Oops, something went wrong.