· 6 years ago · Apr 06, 2019, 04:00 PM
1import { ConfigOptions } from './common';
2
3export const Config: ConfigOptions = {
4 general: {
5 siteName: 'HabboAPI',
6 siteUrl: 'http://emulator.habboapi.com:4200',
7 production: 'PRODUCTION-201611291003-338511768'
8 },
9 captcha: {
10 enabled: false,
11 publicKey: '6LcyfpMUAAAAANq3ZBNaZ28xCNRP-31XOz3ol9QQ',
12 secretKey: ''
13 },
14 logging: {
15 enabled: true,
16 packets: {
17 incoming: true,
18 outgoing: true,
19 unknown: true,
20 unprepared: true
21 },
22 connections: {
23 game: true,
24 web: true
25 }
26 },
27 client: {
28 ip: 'emulator.habboapi.com',
29 port: 1242,
30 enabled: true,
31 url: {
32 figureData: 'http://emulator.habboapi.com:3000/gamedata/figuredata.xml',
33 furniData: 'http://emulator.habboapi.com:3000/gamedata/furnidata.xml',
34 productData: 'http://emulator.habboapi.com:3000/gamedata/productdata.txt',
35 swf: 'http://emulator.habboapi.com:3000/local/edit/habbo/Habbo.swf',
36 swfBase: 'http://emulator.habboapi.com:3000/gordon/',
37 texts: 'http://emulator.habboapi.com:3000/gamedata/external_texts.txt',
38 variables: 'http://emulator.habboapi.com:3000/gamedata/external_variables.txt'
39 }
40 },
41 game: {
42 enabled: true,
43 ip: '0.0.0.0',
44 port: 1242,
45 ticket: {
46 enabled: true,
47 maxLength: 1,
48 maxLengthType: 'minute',
49 validateIp: false
50 },
51 login: {
52 security: {
53 validateProduction: true,
54 validateVariables: true
55 },
56 alert: {
57 enabled: false,
58 message: 'Welcome to HabboAPI!',
59 type: 'default'
60 }
61 },
62 messenger: {
63 maxFriends: 300,
64 maxFriendsHabboClub: 500
65 },
66 pathfinder: {
67 steps: {
68 ignoreDoorTile: false,
69 maxWalkingHeight: 2,
70 allowDiagonals: true,
71 checkItemBelow: true
72 }
73 },
74 unit: {
75 idleTimerMs: 600000
76 }
77 },
78 web: {
79 enabled: true,
80 ip: '0.0.0.0',
81 port: 443,
82 ticket: {
83 enabled: true,
84 maxLength: 1,
85 maxLengthType: 'day',
86 validateIp: false
87 }
88 }
89}