mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Added Thankyou Console Command. Added missing SQL File. 2.4.0 Stable.
This commit is contained in:
parent
b7446bca45
commit
1298f48e53
3
sqlupdates/2_4_0-RC-2 to 2_4_0.sql
Normal file
3
sqlupdates/2_4_0-RC-2 to 2_4_0.sql
Normal file
@ -0,0 +1,3 @@
|
||||
-- Adds config value for max amount of people to move per roller. Default is like habbo.
|
||||
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('hotel.room.rollers.roll_avatars.max', '1');
|
||||
INSERT INTO `emulator_settings`(`key`, `value`) VALUES ('hotel.nux.gifts.enabled', '0');
|
@ -23,6 +23,7 @@ public abstract class ConsoleCommand {
|
||||
addCommand(new ConsoleReconnectCameraCommand());
|
||||
addCommand(new ShowInteractionsCommand());
|
||||
addCommand(new ShowRCONCommands());
|
||||
addCommand(new ThankyouArcturusCommand());
|
||||
}
|
||||
|
||||
public static void addCommand(ConsoleCommand command) {
|
||||
|
@ -0,0 +1,43 @@
|
||||
package com.eu.habbo.core.consolecommands;
|
||||
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class ThankyouArcturusCommand extends ConsoleCommand {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(ThankyouArcturusCommand.class);
|
||||
|
||||
public ThankyouArcturusCommand() {
|
||||
super("thankyou", "A thankyou message.");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void handle(String[] args) throws Exception {
|
||||
LOGGER.info("Arcturus Morningstar is an opensource community fork of Arcturus Emulator by TheGeneral");
|
||||
LOGGER.info("Thankyou to the following people who have helped with it's development:");
|
||||
LOGGER.info("TheGeneral - For Creating Arcturus.");
|
||||
LOGGER.info("Capheus - Decompilation");
|
||||
LOGGER.info("Beny - Lead Developer");
|
||||
LOGGER.info("Alejandro - Lead Developer");
|
||||
LOGGER.info("Harmonic - Developer");
|
||||
LOGGER.info("ArpyAge - Developer");
|
||||
LOGGER.info("Mike - Developer");
|
||||
LOGGER.info("Skeletor - Developer");
|
||||
LOGGER.info("zGrav - Developer");
|
||||
LOGGER.info("Swirny - Developer");
|
||||
LOGGER.info("Quadral - Developer");
|
||||
LOGGER.info("Dome - Developer");
|
||||
LOGGER.info("Necmi - Developer");
|
||||
LOGGER.info("Oliver - Support");
|
||||
LOGGER.info("Rasmus - Support");
|
||||
LOGGER.info("Layne - Support");
|
||||
LOGGER.info("Bill - Support");
|
||||
LOGGER.info("Harmony - Support");
|
||||
LOGGER.info("Ridge - Catalogue");
|
||||
LOGGER.info("Tenshie - Catalogue");
|
||||
LOGGER.info("Wulles - Catalogue");
|
||||
LOGGER.info("Gizmo - Catalogue");
|
||||
LOGGER.info("TheJava - Motivation");
|
||||
LOGGER.info("The Entire Krews.org Community.");
|
||||
}
|
||||
}
|
@ -14,7 +14,7 @@ public class PickNewUserGiftEvent extends MessageHandler {
|
||||
int index = this.packet.readInt();
|
||||
|
||||
if (!Emulator.getPluginManager().fireEvent(new UserPickGiftEvent(this.client.getHabbo(), keyA, keyB, index)).isCancelled()) {
|
||||
if (!this.client.getHabbo().getHabboStats().nuxReward) {
|
||||
if (!this.client.getHabbo().getHabboStats().nuxReward && Emulator.getConfig().getBoolean("hotel.nux.gifts.enabled")){
|
||||
this.client.getHabbo().getHabboStats().nuxReward = true;
|
||||
NewUserGift gift = Emulator.getGameEnvironment().getItemManager().getNewUserGift(index + 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user