add motd.py

This commit is contained in:
jomo
2014-07-04 01:50:36 +02:00
parent 39a9644a1f
commit 340e09777e
4 changed files with 38 additions and 3 deletions

View File

@@ -41,8 +41,10 @@ def safetp(player, world, x, y, z, yaw = 0, pitch = 0):
else:
safetp(player, world, x, y+1, z, yaw, pitch)
def plugHeader(sender, name):
msg(sender, "\n&2--=[ %s ]=--" % name)
def plugHeader(sender=None, name="Redstoner Utils"):
head = "\n&2--=[ %s ]=--" % name
msg(sender, head)
return head
def noperm(player):
msg(player, "&cno permission")