diff --git a/README.md b/README.md index 432c9e5..61047d4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Nebula -A work in progress game server emulator for a certain anime game. +A work in progress game server emulator for a certain anime game. Most features are implemented. For any extra support, questions, or discussions, check out our [Discord](https://discord.gg/cskCWBqdJk). @@ -19,15 +19,13 @@ For any extra support, questions, or discussions, check out our [Discord](https: - Commissions - Heartlink - Achievements -- Monoliths (completeable but many other features missing) +- Monoliths (some research nodes not working/research quests not implemented) - Bounty Trials - Menance Arena -- Proving grounds +- Proving Grounds - Catacylsm Survivor (talents not fully working) - Boss Blitz - -### Not implemented -- Events +- Events (Only tower defense and trials) ### Supported regions @@ -89,12 +87,15 @@ Server commands need to be run in the server console OR in the signature edit me ``` !account {create | delete} [email] (reserved player uid) = Creates or deletes an account. +!battlepass [free | premium] lv(level) = Modifies the targeted player's battle pass !char [all | {characterId}] lv(level) a(ascension) s(skill level) t(talent level) f(affinity level) = Changes the properties of the targeted characters. !clean [all | {id} ...] [items|resources] = Removes items/resources from the targeted player. !disc [all | {discId}] lv(level) a(ascension) c(crescendo level) = Changes the properties of the targeted discs. !give [item id] x[amount] = Gives the targeted player an item through the mail. !giveall [characters | discs | materials] = Gives the targeted player items. +!help = Displays a list of available commands. (Very spammy in-game) !level (level) = Sets the player level -!mail = Sends the targeted player a system mail. +!mail "subject" "body" [itemId xQty | itemId:qty ...] = Sends the targeted player a system mail. !reload = Reloads the server config. +!remote = Creates a player token for remote api usage ``` diff --git a/build.gradle b/build.gradle index 7c1aed7..3567bc3 100644 --- a/build.gradle +++ b/build.gradle @@ -29,7 +29,7 @@ java { } } -version = '1.1.2' +version = '1.1.3' var shouldGenerateProto = System.getenv("GENERATE_PROTO") == "true" System.out.println(shouldGenerateProto ? "Generating proto files" : "Skipping proto generation") diff --git a/src/main/java/emu/nebula/Config.java b/src/main/java/emu/nebula/Config.java index 2e8455e..42dd6e1 100644 --- a/src/main/java/emu/nebula/Config.java +++ b/src/main/java/emu/nebula/Config.java @@ -105,7 +105,7 @@ public class Config { public Set defaultPermissions = Set.of("*"); // Automatically creates an account when a player logs in for the first time on a new email. public boolean autoCreateAccount = true; - // Skips the intro cinematics when starting a new account. + // Skips the intro cinematics/stage when starting a new account. public boolean skipIntro = false; // Unlocks all instances (Monolith, Bounty Trials, etc) for players to enter without needing to do the previous levels. public boolean unlockInstances = true; diff --git a/src/main/java/emu/nebula/command/commands/AccountCommand.java b/src/main/java/emu/nebula/command/commands/AccountCommand.java index 3b9e787..03ac3db 100644 --- a/src/main/java/emu/nebula/command/commands/AccountCommand.java +++ b/src/main/java/emu/nebula/command/commands/AccountCommand.java @@ -6,7 +6,7 @@ import emu.nebula.command.CommandHandler; import emu.nebula.game.account.AccountHelper; import emu.nebula.util.Utils; -@Command(label = "account", permission = "admin.account", desc = "/account {create | delete} [email] (reserved player uid). Creates or deletes an account.") +@Command(label = "account", permission = "admin.account", desc = "!account {create | delete} [email] (reserved player uid). Creates or deletes an account.") public class AccountCommand implements CommandHandler { @Override diff --git a/src/main/java/emu/nebula/command/commands/BattlePassCommand.java b/src/main/java/emu/nebula/command/commands/BattlePassCommand.java index 664c130..b8c635c 100644 --- a/src/main/java/emu/nebula/command/commands/BattlePassCommand.java +++ b/src/main/java/emu/nebula/command/commands/BattlePassCommand.java @@ -5,7 +5,7 @@ import emu.nebula.command.CommandArgs; import emu.nebula.command.CommandHandler; import emu.nebula.net.NetMsgId; -@Command(label = "battlepass", aliases = {"bp"}, permission = "player.battlepass", desc = "/battlepass [free | premium] lv(level). mMdifies your battle pass") +@Command(label = "battlepass", aliases = {"bp"}, permission = "player.battlepass", desc = "!battlepass [free | premium] lv(level) = Modifies the targeted player's battle pass") public class BattlePassCommand implements CommandHandler { @Override diff --git a/src/main/java/emu/nebula/command/commands/CleanCommand.java b/src/main/java/emu/nebula/command/commands/CleanCommand.java index 512e403..9bdf2ae 100644 --- a/src/main/java/emu/nebula/command/commands/CleanCommand.java +++ b/src/main/java/emu/nebula/command/commands/CleanCommand.java @@ -20,7 +20,7 @@ import java.util.HashSet; aliases = {"cl", "clear"}, permission = "player.inventory", requireTarget = true, - desc = "!clean [all | {id} ...] [items|resources]. Removes items/resources from the targeted player." + desc = "!clean [all | {id} ...] [items|resources] = Removes items/resources from the targeted player." ) public class CleanCommand implements CommandHandler { diff --git a/src/main/java/emu/nebula/command/commands/GiveCommand.java b/src/main/java/emu/nebula/command/commands/GiveCommand.java index 5720805..9c55f0a 100644 --- a/src/main/java/emu/nebula/command/commands/GiveCommand.java +++ b/src/main/java/emu/nebula/command/commands/GiveCommand.java @@ -12,7 +12,7 @@ import emu.nebula.command.CommandHandler; aliases = {"g", "item"}, permission = "player.give", requireTarget = true, - desc = "/give [item id] x(amount). Gives the targeted player an item." + desc = "!give [item id] x(amount). Gives the targeted player an item." ) public class GiveCommand implements CommandHandler { diff --git a/src/main/java/emu/nebula/command/commands/HelpCommand.java b/src/main/java/emu/nebula/command/commands/HelpCommand.java index 29f778f..83a8879 100644 --- a/src/main/java/emu/nebula/command/commands/HelpCommand.java +++ b/src/main/java/emu/nebula/command/commands/HelpCommand.java @@ -5,7 +5,7 @@ import emu.nebula.command.Command; import emu.nebula.command.CommandArgs; import emu.nebula.command.CommandHandler; -@Command(label = "help", permission = "player.help", desc = "/help. Displays a list of available commands.") +@Command(label = "help", permission = "player.help", desc = "!help = Displays a list of available commands. (Very spammy in-game)") public class HelpCommand implements CommandHandler { @Override diff --git a/src/main/java/emu/nebula/command/commands/SetLevelCommand.java b/src/main/java/emu/nebula/command/commands/LevelCommand.java similarity index 88% rename from src/main/java/emu/nebula/command/commands/SetLevelCommand.java rename to src/main/java/emu/nebula/command/commands/LevelCommand.java index 4ad1795..0d8359e 100644 --- a/src/main/java/emu/nebula/command/commands/SetLevelCommand.java +++ b/src/main/java/emu/nebula/command/commands/LevelCommand.java @@ -8,8 +8,8 @@ import emu.nebula.net.NetMsgId; import emu.nebula.proto.NotifyGm.GmWorldClass; import emu.nebula.util.Utils; -@Command(label = "setlevel", aliases = {"level", "l"}, permission = "player.level", requireTarget = true, desc = "/level [level]. Set player level") -public class SetLevelCommand implements CommandHandler { +@Command(label = "setlevel", aliases = {"level", "l"}, permission = "player.level", requireTarget = true, desc = "!level [level] = Set's the targeted player's level") +public class LevelCommand implements CommandHandler { @Override public String execute(CommandArgs args) { diff --git a/src/main/java/emu/nebula/command/commands/MailCommand.java b/src/main/java/emu/nebula/command/commands/MailCommand.java index 452839a..9901458 100644 --- a/src/main/java/emu/nebula/command/commands/MailCommand.java +++ b/src/main/java/emu/nebula/command/commands/MailCommand.java @@ -14,7 +14,7 @@ import emu.nebula.util.Utils; aliases = {"m"}, permission = "player.mail", requireTarget = true, - desc = "/mail \"subject\" \"body\" [itemId xQty | itemId:qty ...]. Sends the targeted player a system mail." + desc = "!mail \"subject\" \"body\" [itemId xQty | itemId:qty ...] = Sends the targeted player a system mail." ) public class MailCommand implements CommandHandler { private static final String USAGE_TEXT = "Usage: /mail \"subject\" \"body\" [itemId xQty | itemId:qty ...]"; diff --git a/src/main/java/emu/nebula/command/commands/ReloadCommand.java b/src/main/java/emu/nebula/command/commands/ReloadCommand.java index dde5ab0..5a900bf 100644 --- a/src/main/java/emu/nebula/command/commands/ReloadCommand.java +++ b/src/main/java/emu/nebula/command/commands/ReloadCommand.java @@ -5,7 +5,7 @@ import emu.nebula.command.Command; import emu.nebula.command.CommandArgs; import emu.nebula.command.CommandHandler; -@Command(label = "reload", permission = "admin.reload", desc = "/reload. Reloads the server config.") +@Command(label = "reload", permission = "admin.reload", desc = "!reload = Reloads the server config.") public class ReloadCommand implements CommandHandler { @Override diff --git a/src/main/java/emu/nebula/command/commands/RemoteKeyCommand.java b/src/main/java/emu/nebula/command/commands/RemoteKeyCommand.java index b591a01..e18ff59 100644 --- a/src/main/java/emu/nebula/command/commands/RemoteKeyCommand.java +++ b/src/main/java/emu/nebula/command/commands/RemoteKeyCommand.java @@ -7,7 +7,7 @@ import emu.nebula.command.CommandHandler; import java.util.Random; -@Command(label = "remote", permission = "player.remote", requireTarget = true, desc = "/remote. Send remote to web remote") +@Command(label = "remote", permission = "player.remote", requireTarget = true, desc = "!remote = Creates a player token for remote api usage") public class RemoteKeyCommand implements CommandHandler { private final String characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";