How-to


Economy

Get/Set the basic price of an item

Take the item in your hand, and type :
/srp price
get the basic price of this item


/srp price 10
set the basic price of this item to 10

Create a functional npc trader

/npc create myTrader
/trait pursetrader
/trait saveinventory
for save the npc inventory at server shutdown


/npc
for see the id of this npc


/srp npcinventory <id>
for edit the inventory like a chest

All the items in the npc inventory may be bought or sold in accordance with market prices. You can add item stacks of 1 or 64, the players can increase or decrease the amount, it's only a convenient choice.

Teleporter and networks

Add or remove a network

/srp network add myNetwork
/srp network remove myNetwork

Add/remove locations of a network

/srp network myNetwork add My Incredible City Name
/srp network myNetwork list
Look index of this location


/srp network myNetwork remove <index>

Create a functional npc teleporter

/npc create myTeleporter
/trait teleporter
/npc
Find the id of this npc


/srp npcnetwork <npc_id> myNetwork
for set the network of this npc

Now the npc will be able to teleport your players to all the locations of myNetwork. You can continue to modify this network, or create other npc with the same network.

Voices

Add the ability to speak for a npc

/npc list
search your npc id


/npc select <npc_id>
/trait voice

Add voices

/srp voice <npc_id> add http://site.com/sound1.mp3
/srp voice <npc_id> add http://site.com/sound2.ogg
/srp voice <npc_id> add http://site.com/sound3.mp3

Remove voices

/srp voice <npc_id> list
search the voice you're looking for


/srp voice <npc_id> remove <index>

Music areas

Add/remove a music area

/srp musicarea add 20 http://site.com/music1.mp3
create a music area around your location, a 20 blocks sphere


/srp musicarea list
search the musicarea you're looking for


/srp musicarea remove <index>

Darkness

Ranks points, mobs points and darkness progression are in the config.yml file.

Get/set the darkness progression

/srp darkness 1
maximum darkness


/srp darkness 0.5
half of the darkness


/srp darkness 0
minimum darkness


/srp darkness
get the current darkness value


Comments

Posts Quoted:
Reply
Clear All Quotes