2022-12-03 18:35:14 -05:00
|
|
|
import Discord from 'discord.js';
|
|
|
|
|
2022-11-19 06:50:46 -05:00
|
|
|
export interface UserLevels {
|
|
|
|
messages: number,
|
|
|
|
level: number
|
|
|
|
}
|
2022-11-17 12:58:19 -05:00
|
|
|
export interface formatTimeOpt {
|
2022-11-15 09:06:18 -05:00
|
|
|
longNames: boolean,
|
|
|
|
commas: boolean
|
|
|
|
}
|
2022-11-17 12:58:19 -05:00
|
|
|
export interface createTableOpt {
|
2022-11-16 13:53:42 -05:00
|
|
|
columnAlign: any,
|
|
|
|
columnSeparator: any,
|
|
|
|
columnEmptyChar: any
|
2022-11-15 09:06:18 -05:00
|
|
|
}
|
2022-11-17 12:58:19 -05:00
|
|
|
export interface punOpt {
|
2022-11-15 09:06:18 -05:00
|
|
|
time?: string,
|
|
|
|
reason?: string,
|
2022-12-03 18:35:14 -05:00
|
|
|
interaction?: Discord.ChatInputCommandInteraction<"cached">
|
2022-11-15 09:06:18 -05:00
|
|
|
}
|
2022-11-17 12:58:19 -05:00
|
|
|
export interface Punishment {
|
2022-11-15 09:06:18 -05:00
|
|
|
id: number;
|
|
|
|
type: string;
|
|
|
|
member: string;
|
|
|
|
moderator: string;
|
|
|
|
expired?: boolean;
|
2022-12-01 17:53:57 -05:00
|
|
|
time: number;
|
|
|
|
reason: string;
|
2022-11-15 09:06:18 -05:00
|
|
|
endTime?: number;
|
|
|
|
cancels?: number;
|
|
|
|
duration?: number;
|
2022-12-18 23:06:00 -05:00
|
|
|
}
|
|
|
|
export interface DSS_serverName {
|
|
|
|
data: FSData
|
|
|
|
}
|
|
|
|
export interface FSData {
|
|
|
|
server: FSServer,
|
|
|
|
slots: FSslots
|
|
|
|
}
|
|
|
|
export interface FSServer {
|
|
|
|
dayTime: number,
|
|
|
|
game: string,
|
|
|
|
mapName: string,
|
|
|
|
mapSize: number,
|
|
|
|
mapOverviewFilename: string,
|
|
|
|
money: number,
|
|
|
|
name: string,
|
|
|
|
server: string,
|
|
|
|
version: string
|
|
|
|
}
|
|
|
|
export interface FSslots {
|
|
|
|
capacity: number,
|
|
|
|
used: number,
|
|
|
|
players: Array<FSPlayers>
|
|
|
|
}
|
|
|
|
export interface FSPlayers {
|
|
|
|
isUsed: boolean,
|
|
|
|
isAdmin: boolean,
|
|
|
|
uptime: number,
|
|
|
|
name: string
|
|
|
|
}
|
|
|
|
export interface FSCareerSavegame {
|
|
|
|
settings: FSCareerSavegameSettings,
|
|
|
|
statistics: FSCareerSavegameStatistics,
|
|
|
|
slotSystem: FSCareerSavegameSlotSystem
|
|
|
|
}
|
|
|
|
export interface FSCareerSavegameSettings {
|
|
|
|
savegameName: XMLText,
|
|
|
|
creationDate: XMLText,
|
|
|
|
mapId: XMLText,
|
|
|
|
mapTitle: XMLText,
|
|
|
|
saveDataFormatted: XMLText,
|
|
|
|
saveDate: XMLText,
|
|
|
|
resetVehicles: XMLText,
|
|
|
|
trafficeEnabled: XMLText,
|
|
|
|
stopAndGoBraking: XMLText,
|
|
|
|
trailerFillLimit: XMLText,
|
|
|
|
automaticMotorStartEnabled: XMLText,
|
|
|
|
growthMode: XMLText,
|
|
|
|
fixedSeasonalVisuals: XMLText,
|
|
|
|
plannedDaysPerPeriod: XMLText,
|
|
|
|
fruitDestruction: XMLText,
|
|
|
|
plowingRequiredEnabled: XMLText,
|
|
|
|
stonesEnabled: XMLText,
|
|
|
|
weedsEnabled: XMLText,
|
|
|
|
limeRequired: XMLText,
|
|
|
|
isSnowEnabled: XMLText,
|
|
|
|
fuelUsage: XMLText,
|
|
|
|
helperBuyFuel: XMLText,
|
|
|
|
helperBuySeeds: XMLText,
|
|
|
|
helperSlurrySource: XMLText,
|
|
|
|
helperManureSource: XMLText,
|
|
|
|
densityMapRevision: XMLText,
|
|
|
|
terrainTextureRevision: XMLText,
|
|
|
|
terrainLodTextureRevision: XMLText,
|
|
|
|
splitShapesRevision: XMLText,
|
|
|
|
tipCollisionRevision: XMLText,
|
|
|
|
placementCollisionRevision: XMLText,
|
|
|
|
navigationCollisionRevision: XMLText,
|
|
|
|
mapDensityMapRevision: XMLText,
|
|
|
|
mapTerrainTextureRevision: XMLText,
|
|
|
|
mapTerrainLodTextureRevision: XMLText,
|
|
|
|
mapSplitShapesRevision: XMLText,
|
|
|
|
mapTipCollisionRevision: XMLText,
|
|
|
|
mapPlacementCollisionRevision: XMLText,
|
|
|
|
mapNavigationCollisionRevision: XMLText,
|
|
|
|
difficulty: XMLText,
|
|
|
|
economicDifficulty: XMLText,
|
|
|
|
dirtInterval: XMLText,
|
|
|
|
timeScale: XMLText,
|
|
|
|
autoSaveInterval: XMLText
|
|
|
|
}
|
|
|
|
export interface FSCareerSavegameStatistics {
|
|
|
|
money: XMLText,
|
|
|
|
playTime: XMLText
|
|
|
|
}
|
|
|
|
export interface FSCareerSavegameSlotSystem {
|
|
|
|
_attributes: slotUsage
|
|
|
|
}
|
|
|
|
interface slotUsage {
|
|
|
|
slotUsage: string
|
|
|
|
}
|
|
|
|
interface XMLText {
|
|
|
|
_text: string
|
2022-11-15 09:06:18 -05:00
|
|
|
}
|