Diamond Economy

Diamond Economy

2M Downloads

issue with config

Khikki opened this issue ยท 2 comments

commented

Faced a problem, does not respond to "fileLocation" and "commandName"

	// List of items used as currency
	"currencies": [
		"minecraft:diamond_ore",
		"minecraft:deepslate_diamond_ore"
	],
	// Values of each currency in the same order, decimals not allowed (must be in ascending order)
	"currencyValues": [
		1,
		1
	],
	// Where the diamondeconomy.sqlite file is located (ex: "C:/Users/example/Desktop/server/world/diamondeconomy.sqlite")
	"fileLocation": /home/ubuntu/InvSync/diamondeconomy.sqlite,
	// Name of the base command (null to disable base command)
	"commandName": "card",
	// Names of the subcommands (null to disable command)
	"topCommandName": "top",
	"balanceCommandName": "balance",
	"depositCommandName": "deposit",
	"sendCommandName": "send",
	"withdrawCommandName": "withdraw",
	// Names of the admin subcommands (null to disable command)
	"setCommandName": "set",
	"modifyCommandName": "modify"
}
commented

fileLocation needs to be in quotes, so "/home/ubuntu/InvSync/diamondeconomy.sqlite" instead of just /home/ubuntu/InvSync/diamondeconomy.sqlite

commented

yes, that was problem, sorry.