Muhammad Rifqi Priyo Susanto
5c4ca4e3a6
Apply prestidigitator's suggestion
Uses Phytagoras Theorem: c^2 = a^2 + b^2
shout
Limit chat by distance
##License CC0 1.0 Universal
##Dependencies
- (none)
##Feature
- Limit who can hear you chat message by distance given in shout.DISTANCE parameter
- A chat command
/sh
to broadcast your message (pay 1 stick by default)
##Usage
- Open
init.lua
file by using text editor (e.g. Notepad++, gedit, WordPad, OpenOffice Writer) - Edit
shout.DISTANCE
parameter to be distance of chat limit (default: 50) - Edit
shout.PAYMENT
parameter to be what will player pay to do broadcast (default: "default:stick" 1 stick) - Save and run!
- Note that it doesn't save per world
Description
Languages
Lua
100%