Set project name to "Cosmic" (#2)

* Change name to Cosmic

* Update database credentials
This commit is contained in:
Ponk
2021-03-29 22:22:06 +02:00
committed by GitHub
parent c2d80578fe
commit 4acc5675d6
31 changed files with 94 additions and 90 deletions

View File

@@ -6710,11 +6710,11 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
} else if (level == 80) {
yellowMessage("You think you are powerful enough? Try facing horntail!");
} else if (level == 85) {
yellowMessage("Did you know? The majority of people who hit level 85 in HeavenMS don't live to be 85 years old?");
yellowMessage("Did you know? The majority of people who hit level 85 in Cosmic don't live to be 85 years old?");
} else if (level == 90) {
yellowMessage("Hey do you like the amusement park? I heard Spooky World is the best theme park around. I heard they sell cute teddy-bears.");
} else if (level == 95) {
yellowMessage("100% of people who hit level 95 in HeavenMS don't live to be 95 years old.");
yellowMessage("100% of people who hit level 95 in Cosmic don't live to be 95 years old.");
} else if (level == 100) {
yellowMessage("Mid-journey so far... You just reached level 100! Now THAT's such a feat, however to manage the 200 you will need even more passion and determination than ever! Good hunting!");
} else if (level == 105) {
@@ -8853,7 +8853,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
}
public void sendPolice(int greason, String reason, int duration) {
announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for %s.#k", "HeavenMS", reason)));
announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for %s.#k", "Cosmic", reason)));
this.isbanned = true;
TimerManager.getInstance().schedule(new Runnable() {
@Override
@@ -10323,7 +10323,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
}
this.ban(reason);
announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for HACK reason.#k", "HeavenMS")));
announce(MaplePacketCreator.sendPolice(String.format("You have been blocked by the#b %s Police for HACK reason.#k", "Cosmic")));
TimerManager.getInstance().schedule(new Runnable() {
@Override
public void run() {

View File

@@ -40,6 +40,6 @@ public class TimeCommand extends Command {
public void execute(MapleClient client, String[] params) {
DateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
dateFormat.setTimeZone(TimeZone.getDefault());
client.getPlayer().yellowMessage("HeavenMS Server Time: " + dateFormat.format(new Date()));
client.getPlayer().yellowMessage("Cosmic Server Time: " + dateFormat.format(new Date()));
}
}

View File

@@ -864,7 +864,7 @@ public class Server {
}
public void init() {
System.out.println("HeavenMS v" + ServerConstants.VERSION + " starting up.\r\n");
System.out.println("Cosmic v" + ServerConstants.VERSION + " starting up.\r\n");
if(YamlConfig.config.server.SHUTDOWNHOOK)
Runtime.getRuntime().addShutdownHook(new Thread(shutdown(false)));
@@ -954,7 +954,7 @@ public class Server {
System.out.println("Listening on port 8484\r\n\r\n");
System.out.println("HeavenMS is now online.\r\n");
System.out.println("Cosmic is now online.\r\n");
online = true;
MapleSkillbookInformationProvider.getInstance();