|
|
@@ -0,0 +1,264 @@
|
|
|
+package demo
|
|
|
+
|
|
|
+type T struct {
|
|
|
+ Mysql struct {
|
|
|
+ UseMysql bool `json:"UseMysql"`
|
|
|
+ MysqlHost string `json:"MysqlHost"`
|
|
|
+ MysqlUser string `json:"MysqlUser"`
|
|
|
+ MysqlPass string `json:"MysqlPass"`
|
|
|
+ MysqlDB string `json:"MysqlDB"`
|
|
|
+ MysqlPort int `json:"MysqlPort"`
|
|
|
+ } `json:"Mysql"`
|
|
|
+ General struct {
|
|
|
+ Discord struct {
|
|
|
+ Enabled bool `json:"Enabled"`
|
|
|
+ SenderName string `json:"SenderName"`
|
|
|
+ URL string `json:"URL"`
|
|
|
+ } `json:"Discord"`
|
|
|
+ TimedPointsReward struct {
|
|
|
+ Enabled bool `json:"Enabled"`
|
|
|
+ StackRewards bool `json:"StackRewards"`
|
|
|
+ Interval int `json:"Interval"`
|
|
|
+ Groups struct {
|
|
|
+ DonatorDiamond struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ } `json:"Donator-Diamond"`
|
|
|
+ DonatorPlatinum struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ } `json:"Donator-Platinum"`
|
|
|
+ DonatorGold struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ } `json:"Donator-Gold"`
|
|
|
+ Verified struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ } `json:"Verified"`
|
|
|
+ Default struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ } `json:"Default"`
|
|
|
+ } `json:"Groups"`
|
|
|
+ } `json:"TimedPointsReward"`
|
|
|
+ UseOriginalTradeCommandWithUI bool `json:"UseOriginalTradeCommandWithUI"`
|
|
|
+ GiveDinosInCryopods bool `json:"GiveDinosInCryopods"`
|
|
|
+ UseSoulTraps bool `json:"UseSoulTraps"`
|
|
|
+ CryoLimitedTime bool `json:"CryoLimitedTime"`
|
|
|
+ CryoItemPath string `json:"CryoItemPath"`
|
|
|
+ ItemsPerPage int `json:"ItemsPerPage"`
|
|
|
+ ShopDisplayTime int `json:"ShopDisplayTime"`
|
|
|
+ ShopTextSize int `json:"ShopTextSize"`
|
|
|
+ DbPathOverride string `json:"DbPathOverride"`
|
|
|
+ DefaultKit string `json:"DefaultKit"`
|
|
|
+ } `json:"General"`
|
|
|
+ Kits struct {
|
|
|
+ Starter struct {
|
|
|
+ DefaultAmount int `json:"DefaultAmount"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ OnlyFromSpawn bool `json:"OnlyFromSpawn"`
|
|
|
+ Items []struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ Quality int `json:"Quality"`
|
|
|
+ ForceBlueprint bool `json:"ForceBlueprint"`
|
|
|
+ Armor int `json:"Armor"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"Items"`
|
|
|
+ Dinos []struct {
|
|
|
+ Level int `json:"Level"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"Dinos"`
|
|
|
+ } `json:"starter"`
|
|
|
+ Vip struct {
|
|
|
+ DefaultAmount int `json:"DefaultAmount"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Permissions string `json:"Permissions"`
|
|
|
+ Dinos []struct {
|
|
|
+ Level int `json:"Level"`
|
|
|
+ Neutered bool `json:"Neutered"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"Dinos"`
|
|
|
+ Commands []struct {
|
|
|
+ Command string `json:"Command"`
|
|
|
+ DisplayAs string `json:"DisplayAs"`
|
|
|
+ } `json:"Commands"`
|
|
|
+ } `json:"vip"`
|
|
|
+ Tools struct {
|
|
|
+ DefaultAmount int `json:"DefaultAmount"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ MinLevel int `json:"MinLevel"`
|
|
|
+ MaxLevel int `json:"MaxLevel"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Items []struct {
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ Quality int `json:"Quality"`
|
|
|
+ Damage int `json:"Damage,omitempty"`
|
|
|
+ ForceBlueprint bool `json:"ForceBlueprint"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ Durability int `json:"Durability,omitempty"`
|
|
|
+ } `json:"Items"`
|
|
|
+ } `json:"tools"`
|
|
|
+ } `json:"Kits"`
|
|
|
+ ShopItems struct {
|
|
|
+ Ingots100 struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Items []struct {
|
|
|
+ Quality int `json:"Quality"`
|
|
|
+ ForceBlueprint bool `json:"ForceBlueprint"`
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"Items"`
|
|
|
+ } `json:"ingots100"`
|
|
|
+ Tools struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Items []struct {
|
|
|
+ Quality int `json:"Quality"`
|
|
|
+ ForceBlueprint bool `json:"ForceBlueprint"`
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"Items"`
|
|
|
+ } `json:"tools"`
|
|
|
+ Para struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Level int `json:"Level"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ MinLevel int `json:"MinLevel"`
|
|
|
+ MaxLevel int `json:"MaxLevel"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"para"`
|
|
|
+ Carno struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Level int `json:"Level"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Neutered bool `json:"Neutered"`
|
|
|
+ Gender string `json:"Gender"`
|
|
|
+ SaddleBlueprint string `json:"SaddleBlueprint"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"carno"`
|
|
|
+ Carno2 struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Level int `json:"Level"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Neutered bool `json:"Neutered"`
|
|
|
+ Gender string `json:"Gender"`
|
|
|
+ SaddleBlueprint string `json:"SaddleBlueprint"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"carno2"`
|
|
|
+ Carno3 struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Level int `json:"Level"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Neutered bool `json:"Neutered"`
|
|
|
+ Gender string `json:"Gender"`
|
|
|
+ SaddleBlueprint string `json:"SaddleBlueprint"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"carno3"`
|
|
|
+ Crate25 struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ ClassName string `json:"ClassName"`
|
|
|
+ } `json:"crate25"`
|
|
|
+ Crate2 struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ ClassName string `json:"ClassName"`
|
|
|
+ } `json:"crate2"`
|
|
|
+ Exp1000 struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ GiveToDino bool `json:"GiveToDino"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Amount float64 `json:"Amount"`
|
|
|
+ } `json:"exp1000"`
|
|
|
+ Tekengram struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Items []struct {
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"Items"`
|
|
|
+ } `json:"tekengram"`
|
|
|
+ Allengrams struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Items []struct {
|
|
|
+ Command string `json:"Command"`
|
|
|
+ DisplayAs string `json:"DisplayAs"`
|
|
|
+ } `json:"Items"`
|
|
|
+ } `json:"allengrams"`
|
|
|
+ } `json:"ShopItems"`
|
|
|
+ SellItems struct {
|
|
|
+ Metal struct {
|
|
|
+ Type string `json:"Type"`
|
|
|
+ Description string `json:"Description"`
|
|
|
+ Price int `json:"Price"`
|
|
|
+ Amount int `json:"Amount"`
|
|
|
+ Blueprint string `json:"Blueprint"`
|
|
|
+ } `json:"metal"`
|
|
|
+ } `json:"SellItems"`
|
|
|
+ Messages struct {
|
|
|
+ Sender string `json:"Sender"`
|
|
|
+ BoughtItem string `json:"BoughtItem"`
|
|
|
+ BoughtDino string `json:"BoughtDino"`
|
|
|
+ BoughtBeacon string `json:"BoughtBeacon"`
|
|
|
+ BoughtExp string `json:"BoughtExp"`
|
|
|
+ ReceivedPoints string `json:"ReceivedPoints"`
|
|
|
+ HavePoints string `json:"HavePoints"`
|
|
|
+ NoPoints string `json:"NoPoints"`
|
|
|
+ WrongId string `json:"WrongId"`
|
|
|
+ NoPermissionsKit string `json:"NoPermissionsKit"`
|
|
|
+ CantBuyKit string `json:"CantBuyKit"`
|
|
|
+ BoughtKit string `json:"BoughtKit"`
|
|
|
+ AvailableKits string `json:"AvailableKits"`
|
|
|
+ NoKits string `json:"NoKits"`
|
|
|
+ KitsLeft string `json:"KitsLeft"`
|
|
|
+ NoKitsLeft string `json:"NoKitsLeft"`
|
|
|
+ CantGivePoints string `json:"CantGivePoints"`
|
|
|
+ RidingDino string `json:"RidingDino"`
|
|
|
+ SentPoints string `json:"SentPoints"`
|
|
|
+ GotPoints string `json:"GotPoints"`
|
|
|
+ NoPlayer string `json:"NoPlayer"`
|
|
|
+ FoundMorePlayers string `json:"FoundMorePlayers"`
|
|
|
+ BuyUsage string `json:"BuyUsage"`
|
|
|
+ ShopUsage string `json:"ShopUsage"`
|
|
|
+ KitUsage string `json:"KitUsage"`
|
|
|
+ BuyKitUsage string `json:"BuyKitUsage"`
|
|
|
+ TradeUsage string `json:"TradeUsage"`
|
|
|
+ PointsCmd string `json:"PointsCmd"`
|
|
|
+ TradeCmd string `json:"TradeCmd"`
|
|
|
+ BuyCmd string `json:"BuyCmd"`
|
|
|
+ ShopCmd string `json:"ShopCmd"`
|
|
|
+ KitCmd string `json:"KitCmd"`
|
|
|
+ BuyKitCmd string `json:"BuyKitCmd"`
|
|
|
+ SellCmd string `json:"SellCmd"`
|
|
|
+ ShopSellCmd string `json:"ShopSellCmd"`
|
|
|
+ SellUsage string `json:"SellUsage"`
|
|
|
+ NotEnoughItems string `json:"NotEnoughItems"`
|
|
|
+ SoldItems string `json:"SoldItems"`
|
|
|
+ BadLevel string `json:"BadLevel"`
|
|
|
+ KitsListPrice string `json:"KitsListPrice"`
|
|
|
+ KitsListFormat string `json:"KitsListFormat"`
|
|
|
+ StoreListDino string `json:"StoreListDino"`
|
|
|
+ StoreListItem string `json:"StoreListItem"`
|
|
|
+ StoreListFormat string `json:"StoreListFormat"`
|
|
|
+ OnlyOnSpawnKit string `json:"OnlyOnSpawnKit"`
|
|
|
+ HelpCmd string `json:"HelpCmd"`
|
|
|
+ ShopMessage string `json:"ShopMessage"`
|
|
|
+ HelpMessage string `json:"HelpMessage"`
|
|
|
+ RefundError string `json:"RefundError"`
|
|
|
+ ShopFindCmd string `json:"ShopFindCmd"`
|
|
|
+ ShopFindUsage string `json:"ShopFindUsage"`
|
|
|
+ ShopFindNotFound string `json:"ShopFindNotFound"`
|
|
|
+ ShopFindTooManyResults string `json:"ShopFindTooManyResults"`
|
|
|
+ NoPermissionsStore string `json:"NoPermissionsStore"`
|
|
|
+ InventoryIsFull string `json:"InventoryIsFull"`
|
|
|
+ } `json:"Messages"`
|
|
|
+}
|