Skip to content
This repository has been archived by the owner on Jul 11, 2018. It is now read-only.

Commit

Permalink
YouChat-1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroliu committed Jun 11, 2015
1 parent 9b670a9 commit ea5cbf6
Show file tree
Hide file tree
Showing 5 changed files with 461 additions and 0 deletions.
Binary file added Media/Chat-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,25 @@ Converted plugins
</ul>
</td>
</tr>
<!---------------------------------------------------------------------->
<tr>
<th>
<a href="https://github.com/alejandroliu/plugin-remakes/tree/master/YouChat>
<img src="https://raw.githubusercontent.com/alejandroliu/plugin-remakes/master/Media/Chat-icon.png" style="width:64px;height:64px" width="64" height="64"/>
<br/>
YouChat
</a>
</th>
<td>
Chat Management: Nicknames, prefixes, muting
<ul>
<li>
<a href="https://github.com/alejandroliu/plugin-remakes/releases/tag/YouChat-1.0.0" title="Downloads">v1.0.0
<img src="https://raw.githubusercontent.com/alejandroliu/plugin-remakes/master/Media/download-icon.png" alt="Downloads"/></a>
</li>
</ul>
</td>
</tr>


</table>
102 changes: 102 additions & 0 deletions YouChat/README.md
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] &lt;prefix&gt; - sets prefix for player
* /defprefix [prefix] - sets default prefix for new players
* /delprefix [player] &lt;prefix&gt; - set player's prefix to default.
* /setnick [player] &lt;nick&gt; - 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/>.
70 changes: 70 additions & 0 deletions YouChat/plugin.yml
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
Loading

0 comments on commit ea5cbf6

Please sign in to comment.