Command.go 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. package demo
  2. type T struct {
  3. Mysql struct {
  4. UseMysql bool `json:"UseMysql"`
  5. MysqlHost string `json:"MysqlHost"`
  6. MysqlUser string `json:"MysqlUser"`
  7. MysqlPass string `json:"MysqlPass"`
  8. MysqlDB string `json:"MysqlDB"`
  9. MysqlPort int `json:"MysqlPort"`
  10. } `json:"Mysql"`
  11. General struct {
  12. Discord struct {
  13. Enabled bool `json:"Enabled"`
  14. SenderName string `json:"SenderName"`
  15. URL string `json:"URL"`
  16. } `json:"Discord"`
  17. TimedPointsReward struct {
  18. Enabled bool `json:"Enabled"`
  19. StackRewards bool `json:"StackRewards"`
  20. Interval int `json:"Interval"`
  21. Groups struct {
  22. DonatorDiamond struct {
  23. Amount int `json:"Amount"`
  24. } `json:"Donator-Diamond"`
  25. DonatorPlatinum struct {
  26. Amount int `json:"Amount"`
  27. } `json:"Donator-Platinum"`
  28. DonatorGold struct {
  29. Amount int `json:"Amount"`
  30. } `json:"Donator-Gold"`
  31. Verified struct {
  32. Amount int `json:"Amount"`
  33. } `json:"Verified"`
  34. Default struct {
  35. Amount int `json:"Amount"`
  36. } `json:"Default"`
  37. } `json:"Groups"`
  38. } `json:"TimedPointsReward"`
  39. UseOriginalTradeCommandWithUI bool `json:"UseOriginalTradeCommandWithUI"`
  40. GiveDinosInCryopods bool `json:"GiveDinosInCryopods"`
  41. UseSoulTraps bool `json:"UseSoulTraps"`
  42. CryoLimitedTime bool `json:"CryoLimitedTime"`
  43. CryoItemPath string `json:"CryoItemPath"`
  44. ItemsPerPage int `json:"ItemsPerPage"`
  45. ShopDisplayTime int `json:"ShopDisplayTime"`
  46. ShopTextSize int `json:"ShopTextSize"`
  47. DbPathOverride string `json:"DbPathOverride"`
  48. DefaultKit string `json:"DefaultKit"`
  49. } `json:"General"`
  50. Kits struct {
  51. Starter struct {
  52. DefaultAmount int `json:"DefaultAmount"`
  53. Price int `json:"Price"`
  54. Description string `json:"Description"`
  55. OnlyFromSpawn bool `json:"OnlyFromSpawn"`
  56. Items []struct {
  57. Amount int `json:"Amount"`
  58. Quality int `json:"Quality"`
  59. ForceBlueprint bool `json:"ForceBlueprint"`
  60. Armor int `json:"Armor"`
  61. Blueprint string `json:"Blueprint"`
  62. } `json:"Items"`
  63. Dinos []struct {
  64. Level int `json:"Level"`
  65. Blueprint string `json:"Blueprint"`
  66. } `json:"Dinos"`
  67. } `json:"starter"`
  68. Vip struct {
  69. DefaultAmount int `json:"DefaultAmount"`
  70. Description string `json:"Description"`
  71. Permissions string `json:"Permissions"`
  72. Dinos []struct {
  73. Level int `json:"Level"`
  74. Neutered bool `json:"Neutered"`
  75. Blueprint string `json:"Blueprint"`
  76. } `json:"Dinos"`
  77. Commands []struct {
  78. Command string `json:"Command"`
  79. DisplayAs string `json:"DisplayAs"`
  80. } `json:"Commands"`
  81. } `json:"vip"`
  82. Tools struct {
  83. DefaultAmount int `json:"DefaultAmount"`
  84. Price int `json:"Price"`
  85. MinLevel int `json:"MinLevel"`
  86. MaxLevel int `json:"MaxLevel"`
  87. Description string `json:"Description"`
  88. Items []struct {
  89. Amount int `json:"Amount"`
  90. Quality int `json:"Quality"`
  91. Damage int `json:"Damage,omitempty"`
  92. ForceBlueprint bool `json:"ForceBlueprint"`
  93. Blueprint string `json:"Blueprint"`
  94. Durability int `json:"Durability,omitempty"`
  95. } `json:"Items"`
  96. } `json:"tools"`
  97. } `json:"Kits"`
  98. ShopItems struct {
  99. Ingots100 struct {
  100. Type string `json:"Type"`
  101. Description string `json:"Description"`
  102. Price int `json:"Price"`
  103. Items []struct {
  104. Quality int `json:"Quality"`
  105. ForceBlueprint bool `json:"ForceBlueprint"`
  106. Amount int `json:"Amount"`
  107. Blueprint string `json:"Blueprint"`
  108. } `json:"Items"`
  109. } `json:"ingots100"`
  110. Tools struct {
  111. Type string `json:"Type"`
  112. Description string `json:"Description"`
  113. Price int `json:"Price"`
  114. Items []struct {
  115. Quality int `json:"Quality"`
  116. ForceBlueprint bool `json:"ForceBlueprint"`
  117. Amount int `json:"Amount"`
  118. Blueprint string `json:"Blueprint"`
  119. } `json:"Items"`
  120. } `json:"tools"`
  121. Para struct {
  122. Type string `json:"Type"`
  123. Description string `json:"Description"`
  124. Level int `json:"Level"`
  125. Price int `json:"Price"`
  126. MinLevel int `json:"MinLevel"`
  127. MaxLevel int `json:"MaxLevel"`
  128. Blueprint string `json:"Blueprint"`
  129. } `json:"para"`
  130. Carno struct {
  131. Type string `json:"Type"`
  132. Description string `json:"Description"`
  133. Level int `json:"Level"`
  134. Price int `json:"Price"`
  135. Neutered bool `json:"Neutered"`
  136. Gender string `json:"Gender"`
  137. SaddleBlueprint string `json:"SaddleBlueprint"`
  138. Blueprint string `json:"Blueprint"`
  139. } `json:"carno"`
  140. Carno2 struct {
  141. Type string `json:"Type"`
  142. Description string `json:"Description"`
  143. Level int `json:"Level"`
  144. Price int `json:"Price"`
  145. Neutered bool `json:"Neutered"`
  146. Gender string `json:"Gender"`
  147. SaddleBlueprint string `json:"SaddleBlueprint"`
  148. Blueprint string `json:"Blueprint"`
  149. } `json:"carno2"`
  150. Carno3 struct {
  151. Type string `json:"Type"`
  152. Description string `json:"Description"`
  153. Level int `json:"Level"`
  154. Price int `json:"Price"`
  155. Neutered bool `json:"Neutered"`
  156. Gender string `json:"Gender"`
  157. SaddleBlueprint string `json:"SaddleBlueprint"`
  158. Blueprint string `json:"Blueprint"`
  159. } `json:"carno3"`
  160. Crate25 struct {
  161. Type string `json:"Type"`
  162. Description string `json:"Description"`
  163. Price int `json:"Price"`
  164. ClassName string `json:"ClassName"`
  165. } `json:"crate25"`
  166. Crate2 struct {
  167. Type string `json:"Type"`
  168. Description string `json:"Description"`
  169. Price int `json:"Price"`
  170. ClassName string `json:"ClassName"`
  171. } `json:"crate2"`
  172. Exp1000 struct {
  173. Type string `json:"Type"`
  174. Description string `json:"Description"`
  175. GiveToDino bool `json:"GiveToDino"`
  176. Price int `json:"Price"`
  177. Amount float64 `json:"Amount"`
  178. } `json:"exp1000"`
  179. Tekengram struct {
  180. Type string `json:"Type"`
  181. Description string `json:"Description"`
  182. Price int `json:"Price"`
  183. Items []struct {
  184. Blueprint string `json:"Blueprint"`
  185. } `json:"Items"`
  186. } `json:"tekengram"`
  187. Allengrams struct {
  188. Type string `json:"Type"`
  189. Description string `json:"Description"`
  190. Price int `json:"Price"`
  191. Items []struct {
  192. Command string `json:"Command"`
  193. DisplayAs string `json:"DisplayAs"`
  194. } `json:"Items"`
  195. } `json:"allengrams"`
  196. } `json:"ShopItems"`
  197. SellItems struct {
  198. Metal struct {
  199. Type string `json:"Type"`
  200. Description string `json:"Description"`
  201. Price int `json:"Price"`
  202. Amount int `json:"Amount"`
  203. Blueprint string `json:"Blueprint"`
  204. } `json:"metal"`
  205. } `json:"SellItems"`
  206. Messages struct {
  207. Sender string `json:"Sender"`
  208. BoughtItem string `json:"BoughtItem"`
  209. BoughtDino string `json:"BoughtDino"`
  210. BoughtBeacon string `json:"BoughtBeacon"`
  211. BoughtExp string `json:"BoughtExp"`
  212. ReceivedPoints string `json:"ReceivedPoints"`
  213. HavePoints string `json:"HavePoints"`
  214. NoPoints string `json:"NoPoints"`
  215. WrongId string `json:"WrongId"`
  216. NoPermissionsKit string `json:"NoPermissionsKit"`
  217. CantBuyKit string `json:"CantBuyKit"`
  218. BoughtKit string `json:"BoughtKit"`
  219. AvailableKits string `json:"AvailableKits"`
  220. NoKits string `json:"NoKits"`
  221. KitsLeft string `json:"KitsLeft"`
  222. NoKitsLeft string `json:"NoKitsLeft"`
  223. CantGivePoints string `json:"CantGivePoints"`
  224. RidingDino string `json:"RidingDino"`
  225. SentPoints string `json:"SentPoints"`
  226. GotPoints string `json:"GotPoints"`
  227. NoPlayer string `json:"NoPlayer"`
  228. FoundMorePlayers string `json:"FoundMorePlayers"`
  229. BuyUsage string `json:"BuyUsage"`
  230. ShopUsage string `json:"ShopUsage"`
  231. KitUsage string `json:"KitUsage"`
  232. BuyKitUsage string `json:"BuyKitUsage"`
  233. TradeUsage string `json:"TradeUsage"`
  234. PointsCmd string `json:"PointsCmd"`
  235. TradeCmd string `json:"TradeCmd"`
  236. BuyCmd string `json:"BuyCmd"`
  237. ShopCmd string `json:"ShopCmd"`
  238. KitCmd string `json:"KitCmd"`
  239. BuyKitCmd string `json:"BuyKitCmd"`
  240. SellCmd string `json:"SellCmd"`
  241. ShopSellCmd string `json:"ShopSellCmd"`
  242. SellUsage string `json:"SellUsage"`
  243. NotEnoughItems string `json:"NotEnoughItems"`
  244. SoldItems string `json:"SoldItems"`
  245. BadLevel string `json:"BadLevel"`
  246. KitsListPrice string `json:"KitsListPrice"`
  247. KitsListFormat string `json:"KitsListFormat"`
  248. StoreListDino string `json:"StoreListDino"`
  249. StoreListItem string `json:"StoreListItem"`
  250. StoreListFormat string `json:"StoreListFormat"`
  251. OnlyOnSpawnKit string `json:"OnlyOnSpawnKit"`
  252. HelpCmd string `json:"HelpCmd"`
  253. ShopMessage string `json:"ShopMessage"`
  254. HelpMessage string `json:"HelpMessage"`
  255. RefundError string `json:"RefundError"`
  256. ShopFindCmd string `json:"ShopFindCmd"`
  257. ShopFindUsage string `json:"ShopFindUsage"`
  258. ShopFindNotFound string `json:"ShopFindNotFound"`
  259. ShopFindTooManyResults string `json:"ShopFindTooManyResults"`
  260. NoPermissionsStore string `json:"NoPermissionsStore"`
  261. InventoryIsFull string `json:"InventoryIsFull"`
  262. } `json:"Messages"`
  263. }