This repository has been archived by the owner on Jul 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b670a9
commit ea5cbf6
Showing
5 changed files
with
461 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<img src="https://raw.githubusercontent.com/alejandroliu/bad-plugins/master/Media/Chat-icon.png" style="width:64px;height:64px" width="64" height="64"/> | ||
|
||
# YouChat | ||
|
||
* Summary: Chat Management: Nicknames, prefixes, muting | ||
* Dependency Plugins: N/A | ||
* PocketMine-MP version: 1.5 - API 1.12.0 | ||
* DependencyPlugins: - | ||
* OptionalPlugins: [KillRate] | ||
* Categories: Chat | ||
* Plugin Access: Other Plugins, Commands, Data Saving | ||
* WebSite: [github](https://github.com/alejandroliu/plugin-remakes/tree/master/YouChat) | ||
|
||
## Overview | ||
|
||
Complete set of commands to control your server chat. | ||
|
||
### Features | ||
|
||
* prefixes | ||
* nicknames | ||
* multiworlds | ||
* scoring (with | ||
[KillRate](http://forums.pocketmine.net/plugins/killrate.1137/)) | ||
* muting | ||
* chat disabling | ||
* configurable | ||
|
||
## Documentation | ||
|
||
Basic Commands: | ||
|
||
* /setprefix [player] <prefix> - sets prefix for player | ||
* /defprefix [prefix] - sets default prefix for new players | ||
* /delprefix [player] <prefix> - set player's prefix to default. | ||
* /setnick [player] <nick> - sets player's nick | ||
* /delnick [player] - returns players's real name | ||
* /mute [player] - mute player from chat | ||
* /unmute [player] - unmute player from chat | ||
* /ycd - disable chat for all players | ||
* /yce - enable chat for all players | ||
|
||
|
||
### Configuration | ||
|
||
These can be configured from `config.yml`: | ||
|
||
```YAML | ||
[CODE] | ||
settings: | ||
chat-format: '{GREEN}{world}:[{prefix}]{BLUE}<{nick} ({kills})>{WHITE} {message}' | ||
[/CODE] | ||
``` | ||
|
||
### Permission Nodes: | ||
|
||
```YAML | ||
youchat.cmd.prefix: | ||
default: true | ||
description: "allow players to change their prefix" | ||
youchat.cmd.op.prefix: | ||
default: op | ||
description: "allow players to change others prefix" | ||
youchat.cmd.nick: | ||
default: true | ||
description: "allow players to change their nickname" | ||
youchat.cmd.op.nick: | ||
default: true | ||
description: "allow players to change others nickname" | ||
youchat.cmd.op.defprefix: | ||
default: op | ||
description: "Define default prefix" | ||
youchat.cmd.op.mute: | ||
default: op | ||
description: Allow to mute/unmute players | ||
youchat.comd.op.ycx: | ||
default: op | ||
description: Allowed to enable/disable chat | ||
``` | ||
# Changes | ||
* 1.0.0 : First version | ||
# Copyright | ||
YouChat | ||
Copyright (C) 2015 Alejandro Liu | ||
All Rights Reserved. | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
main: aliuly\youchat\Main | ||
api: 1.12.0 | ||
load: POSTWORLD | ||
|
||
name: YouChat | ||
description: "Chat Management: Nicknames, prefixes, muting" | ||
version: 1.0.0 | ||
author: aliuly | ||
|
||
|
||
commands: | ||
setprefix: | ||
description: "Change a player's prefix" | ||
usage: "/setprefix <text>" | ||
permission: youchat.cmd.prefix | ||
defprefix: | ||
description: Set default prefix | ||
usage: "/defprefix <text>" | ||
permission: youchat.cmd.op.defprefix | ||
delprefix: | ||
description: "Remove player's prefix, setting it to default" | ||
usage: "/delprefix" | ||
permission: youchat.cmd.prefix | ||
setnick: | ||
description: "Set the player's nickname" | ||
usage: "/setnick <nick>" | ||
permission: youchat.cmd.nick | ||
delnick: | ||
description: "Remove player's nickname" | ||
usage: "/delnick" | ||
permission: youchat.cmd.nick | ||
mute: | ||
description: Mute player | ||
usage: "/mute <player>" | ||
permission: youchat.cmd.op.mute | ||
unmute: | ||
description: Un-Mute player | ||
usage: "/unmute <player>" | ||
permission: youchat.cmd.op.mute | ||
yce: | ||
description: Enable chat | ||
usage: "/yce" | ||
permission: youchat.cmd.op.ycx | ||
ycd: | ||
description: Disable chat | ||
usage: "/ycd" | ||
permission: youchat.cmd.op.ycx | ||
|
||
permissions: | ||
youchat.cmd.prefix: | ||
default: true | ||
description: "allow players to change their prefix" | ||
youchat.cmd.op.prefix: | ||
default: op | ||
description: "allow players to change others prefix" | ||
youchat.cmd.nick: | ||
default: true | ||
description: "allow players to change their nickname" | ||
youchat.cmd.op.nick: | ||
default: true | ||
description: "allow players to change others nickname" | ||
youchat.cmd.op.defprefix: | ||
default: op | ||
description: "Define default prefix" | ||
youchat.cmd.op.mute: | ||
default: op | ||
description: Allow to mute/unmute players | ||
youchat.comd.op.ycx: | ||
default: op | ||
description: Allowed to enable/disable chat |
Oops, something went wrong.