Beiträge von Kjoddleik

Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.

    Thank you. That was what i was looking for.
    I thought i had tried that before but i must have done something wrong. Anyway, i got it working now.

    C#
    [ChatCommand("Clear all accepted contracts")]
        public static void ClearMyAcceptedContracts(User user)
        {
            foreach(Contract contract in user.AcceptedContracts)
            {
                EconomyManager.Contracts.DestroyContract(contract.ContractID);
            }
        }

    I am currently creating custom commands tailored to our server gameplay.
    While I have figured out how to work with currencies, i am having more trouble with contracts. Does anyone know how you can delete a contract?