CanaryModTeam / CanaryLib

The CanaryMod API Library
http://canarymod.net
28 stars 22 forks source link

Change position of time of /ban command #106

Closed svdragster closed 9 years ago

svdragster commented 9 years ago

The system right now makes it impossible to do a temporary ban with a reason. I suggest moving the time infront of the reason -> /ban [time] [reason]

darkdiplomat commented 9 years ago

There is nothing wrong with the temp ban with message system. [08:04:10] [net.minecraft.server.network.NetHandlerLoginServer] [INFO]: com.mojang.authlib.GameProfile@5c0ed767name=darkdiplomat lost connection: testing temp ban system, Your Ban will be lifted at2015.03.18, 09:04:02

svdragster commented 9 years ago

Can you show me the command you used?

darkdiplomat commented 9 years ago

/ban darkdiplomat testing temp ban system 5 m

Note: the temp ban system doesn't allow for complex times, you would have to use the lowest division, like for 2hours 30 minutes it would be "150 m"

svdragster commented 9 years ago

@darkdiplomat http://pastebin.com/ArvGKjXp This doesn't seem to work using /ban ObviousHacker test ban 10 m