Hello everyone!
So i got this new server going around, and it's a prison server, and want so only the player who has permission to open a chest called a name. Can use it to sell forbidden items, and that is where you come in the picture, i want some help to start a sell skript, so when a player open a chest, that is called a name and have permission, it shall open 5 rows, and when he puts items in the chest, which i have added in the skript, and close the chest, it sells all the items, for the items total value, ex i open the chest called "&cGuard" and put 2 diamond, 1 dirt and 2 stone.. The diamond sells 100$ each, the dirt sells for 5$ each and stone sells for 1$ each, then i close the chest, and i sold for a total value of all the items value, so for my ex 207$ for the 2 diamonds, 1 dirt and 2 stone i put in the chest.
And remember, i want some help for the first part, ex the 1 varible for a items, then i add the rest, and the command, the close inventory part, and the price part, then i add the prices and items and messages i self, just need a little start. So i don't want a whole done skript, i will not learn anything by that, just some help for at start.
Hope you understand, if not let me know
- Nicolai
So i got this new server going around, and it's a prison server, and want so only the player who has permission to open a chest called a name. Can use it to sell forbidden items, and that is where you come in the picture, i want some help to start a sell skript, so when a player open a chest, that is called a name and have permission, it shall open 5 rows, and when he puts items in the chest, which i have added in the skript, and close the chest, it sells all the items, for the items total value, ex i open the chest called "&cGuard" and put 2 diamond, 1 dirt and 2 stone.. The diamond sells 100$ each, the dirt sells for 5$ each and stone sells for 1$ each, then i close the chest, and i sold for a total value of all the items value, so for my ex 207$ for the 2 diamonds, 1 dirt and 2 stone i put in the chest.
And remember, i want some help for the first part, ex the 1 varible for a items, then i add the rest, and the command, the close inventory part, and the price part, then i add the prices and items and messages i self, just need a little start. So i don't want a whole done skript, i will not learn anything by that, just some help for at start.
Hope you understand, if not let me know
- Nicolai