onCommand-funktion geschrieben
This commit is contained in:
@@ -3,3 +3,8 @@
|
||||
class HalloServerPlugin(PythonPlugin):
|
||||
def onEnable(self):
|
||||
pass
|
||||
|
||||
def onCommand(self, sender, command, label, args):
|
||||
self.getServer().broadcastMessage("Hallo Spieler!")
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user