# Olilz Coins

The olilz coins module is a diverse way to encourage user activity in your server.

This module allows users to earn coins in various ways and spend them on items!

{% hint style="info" %}
Coming Soon: You will be able to add your own purchasable items, in addition to the default
{% endhint %}

{% hint style="success" %}
New Updates Have Released for this module!\
Check them out here. This has resulted in some features being depreciated
{% endhint %}

## Commands

{% hint style="info" %}
To Make Things Easier, all economy commands now have the "ecn" or  "en" prefix, this means you can now distinguish commands in-client by module
{% endhint %}

### Admin Commands

/configure - enable/disable this module (For More Info See ->[#setting-state-of-modules](https://docs.olilz.xyz/modules-info#setting-state-of-modules "mention"))

/requiredrole - sets the required role to use this plugin (For more info see -> [#required-roles](https://docs.olilz.xyz/modules-info#required-roles "mention"))

/ecn modify - add grant or set an amount of olilz coins to a specified user

/ec admin - ADMIN ONLY - Admin command for managing the server economy

/ec cooldowns -Check your economy and minigame cooldowns!

/ecn mng-gamble - Allows you to enable/disable gambling commands \[These commands in the docs are indicated with a \~ )

### User Commands

/ecn daily - claim daily coins. Only usable every 24hrs

/ecn economy - view the shop to purchase items/passes

/ecn tip - tip someone olilz coins from your balance

/ecn balance - returns how many olilz coins you have

/ecn economy-leaderboard - returns the leaderboard for olilz coins # in the guild

/ecn work - work to gain olilz coins!

&#x20;/ecn dice-coins- Roll a 6 to win some olilz coins!

#### New/Updated Commands

{% hint style="info" %}
New/Updated Commands

These Commands are new or have been updated, with the latest update
{% endhint %}

#### /balance - Check the currency and bank balance of a user!

/ec leaderboard - View the economy top 10 leaderboard!

/item give - Give someone an item!

/shop view -See what's for sale!&#x20;

/inventory - Look inside your inventory!

/bank deposit - Deposit your money in the bank to earn interest per day!

/bank withdraw - Withdraw your money from the bank!

/scratchcard - Buy a scratch card for a chance to win BIG! **\~**&#x20;

/rob player - Try and rob a player's wallet, if they catch you then YOU will lose money!

/crime - Attempt a crime with a high risk

/beg - Beg for money with a low risk

/lottery - View the next lottery or buy a ticket! \~&#x20;

/work - Do work, get paid!

/job list - Check your available jobs!

/shop buy - Buy something from the shop!

/fish - Tired of working? Go fishing!

/ec stats - Check out your economy stats!

/dicebet -Challenge another player to a dicebet!

/dos -Play a game of double or steal with another person&#x20;

/hangman - Play a game of hangman

/high-low - Play a game of higher or lower

/rps -Play a game of rock paper scissors with another player

/tictac - Play a game of TicTacToe

/matchpairs - Play a game of Match Pairs!&#x20;

/rob bank - Rob a person's bank. You will need a team of players to pull this off!

/5dice - Play a game of 5dice! \~&#x20;

/job apply - Apply for a new job!

### Customization

{% hint style="info" %}
This is experimental
{% endhint %}

This function allows you to set the name and emoji of the economy in your server\
By default the economy name will be `olilz coins` with the ![](https://1838259026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGeTdkUiky5HUIbFOQxw%2Fuploads%2FeiSkSDskbYBbFfHwGILC%2Fimage.png?alt=media\&token=b17d8525-f5e9-4337-86db-75b5757e2041) emoji

To customize this, please use the /configure command.\
1\) choose olilz coins and enable the plugin\
2\) Once enabling you will be asked whether you want to use a custom economy, click yes\
\
![](https://1838259026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGeTdkUiky5HUIbFOQxw%2Fuploads%2F6iGJdwZ7tas1ghS9Hyzd%2Fimage.png?alt=media\&token=862073a8-8d53-46bf-984b-de3e078e5a5d)\
3\) Now please enter the name for the economy and enter the emoji as a id\
not sure how to get a emoji id? check out [ids](https://docs.olilz.xyz/support/ids "mention")\
![](https://1838259026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGeTdkUiky5HUIbFOQxw%2Fuploads%2FrKLQVa8eyPpNbhaoNAJQ%2Fimage.png?alt=media\&token=2a5b9e1a-31cc-4d84-9a7d-26267560e704)

4\) This has succesfully been enabled, and all economy commands will now reflect these changes.<br>

<figure><img src="https://1838259026-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlGeTdkUiky5HUIbFOQxw%2Fuploads%2FSv8ynSWqRBmZElvWoHKm%2Fimage.png?alt=media&#x26;token=5b78eb8a-46ae-44f9-9ddd-1d5a00c8124d" alt=""><figcaption><p>an example of a custom economy.</p></figcaption></figure>

{% hint style="info" %}
Got a suggestion? Let us know in the discord [join-the-discord](https://docs.olilz.xyz/support/join-the-discord "mention")
{% endhint %}
