Skip to content

Commit 8397d73

Browse files
committed
Added documentation for players.
1 parent 6c1877b commit 8397d73

1 file changed

Lines changed: 230 additions & 0 deletions

File tree

documentation/for-players.md

Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
> ## Installation instructions.
2+
3+
For start the modification, you need installed Forge, it is desirable that the version matches the supported versions. You can download Forge from the [link](https://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.14.4.html).
4+
Move the downloaded mod to the `mods` folder (installation example below).
5+
6+
Also do not forget to install dependencies, only two types of dependencies
7+
- mandatory (game will not start without a mod)
8+
- recommended (without a mod, game can start, but I recommend using it)
9+
10+
Downloads: [Cooldown](https://github.com/ProjectEssentials/ProjectEssentials-Cooldown) · [Core](https://github.com/ProjectEssentials/ProjectEssentials-Core) · [Permissions](https://github.com/ProjectEssentials/ProjectEssentials-Permissions)
11+
12+
```
13+
.
14+
├── assets
15+
├── config
16+
├── libraries
17+
├── mods (that's how it should be)
18+
│ ├── Project Essentials Core-MOD-1.14.4-1.X.X.X.jar (mandatory)
19+
│ ├── Project Essentials Cooldown-1.14.4-1.X.X.X.jar (recommended)
20+
│ ├── Project Essentials Permissions-1.14.4-1.X.X.X.jar (recommended)
21+
│ └── Project Essentials Chat-1.14.4-1.X.X.X.jar
22+
└── ...
23+
```
24+
25+
Now try to start the game, go to the `mods` tab, if this modification is displayed in the `mods` tab, then the mod has been successfully installed.
26+
27+
### Configuration
28+
29+
Just in case. Default configuration.
30+
31+
You can get default configuration by removing file in path `.minecraft/config/ProjectEssentials/chat.json`, while mod loading if configuration file not exists it ll be recreated.
32+
33+
```json
34+
{
35+
"moderation": {
36+
"blockedWords": [
37+
"fuck",
38+
"shit"
39+
],
40+
"blockedChars": [
41+
],
42+
"modifyBlockedWords": true,
43+
"blockedWordsMask": "**beep**",
44+
"maxMessageLength": 128,
45+
"messagingCooldownEnabled": true,
46+
"messagingCooldown": 5,
47+
"advertisingAllowed": false,
48+
"advertisingRegex": "(http|ftp|https)://([\\w_-]+(?:(?:\\.[\\w_-]+)+))([\\w.,@?^=%&:/~+#-]*[\\w@?^=%&/~+#-])?"
49+
},
50+
"messaging": {
51+
"messageGlobalPattern": "&8[&2GLOBAL&8] &a┃ &8[&6%player&8]&7: &f%message",
52+
"messageLocalPattern": "&8[&cLOCAL&8] &4┃ &8[&7%player&8]&7: &7§o%message",
53+
"messageCommonPattern": "&8[&7%player&8]&7: &f%message",
54+
"enableRangedChat": false,
55+
"localChatRange": 100,
56+
"chatEnabled": true
57+
},
58+
"mentions": {
59+
"mentionsEnabled": true,
60+
"mentionInActionBar": true,
61+
"mentionMessage": "&7you are mentioned by &l&7%player&7 player, in the chat.",
62+
"mentionAtFormat": "&c",
63+
"mentionNameFormat": "&b"
64+
}
65+
}
66+
```
67+
68+
### Describing configuration
69+
70+
```
71+
Property name: moderation.blockedWords
72+
73+
Accepts data type: Array with String type
74+
75+
Description: contains all blocked words.
76+
```
77+
78+
```
79+
Property name: moderation.blockedChars
80+
81+
Accepts data type: Array with String type
82+
83+
Description: contains all blocked chars.
84+
```
85+
86+
```
87+
Property name: moderation.modifyBlockedWords
88+
89+
Accepts data type: Boolean
90+
91+
Description: if value true then blocked words will be replaced on `moderation.blockedWordsMask`, if value false then message will't sent.
92+
```
93+
94+
```
95+
Property name: moderation.blockedWordsMask
96+
97+
Accepts data type: String
98+
99+
Description: see `moderation.modifyBlockedWords`. Just replace swear word on it string.
100+
```
101+
102+
```
103+
Property name: moderation.maxMessageLength
104+
105+
Accepts data type: Int
106+
107+
Description: Declare max message lenght, if message length excess this value then message will't sent.
108+
```
109+
110+
```
111+
Property name: moderation.messagingCooldownEnabled
112+
113+
Accepts data type: Boolean
114+
115+
Description: If value true, then delay in chat will be enabled.
116+
```
117+
118+
```
119+
Property name: moderation.messagingCooldown
120+
121+
Accepts data type: Int
122+
123+
Description: Declare cooldown delay. See `moderation.messagingCooldownEnabled`
124+
```
125+
126+
```
127+
Property name: moderation.advertisingAllowed
128+
129+
Accepts data type: Boolean
130+
131+
Description: If value true, then messages with link will't sent.
132+
```
133+
134+
```
135+
Property name: moderation.advertisingRegex
136+
137+
Accepts data type: Regex (But actualy String)
138+
139+
Description: Regular expression for detecting url's in message.
140+
```
141+
142+
```
143+
Property name: messaging.messageGlobalPattern
144+
145+
Accepts data type: String
146+
147+
Description: Message pattern for global chat.
148+
```
149+
150+
```
151+
Property name: messaging.messageLocalPattern
152+
153+
Accepts data type: String
154+
155+
Description: Message pattern for local chat.
156+
```
157+
158+
```
159+
Property name: messaging.messageCommonPattern
160+
161+
Accepts data type: String
162+
163+
Description: Message pattern for common chat. Uses if ranged chat disabled. See `messaging.enableRangedChat`
164+
```
165+
166+
```
167+
Property name: messaging.enableRangedChat
168+
169+
Accepts data type: Boolean
170+
171+
Description: If value true then ranged chat will be enabled.
172+
```
173+
174+
```
175+
Property name: messaging.localChatRange
176+
177+
Accepts data type: Int
178+
179+
Description: Max range local chat in `block` (for all axis). Uses if ranged chat enabled.
180+
```
181+
182+
```
183+
Property name: messaging.chatEnabled
184+
185+
Accepts data type: Boolean
186+
187+
Description: If false then nobody will send a message in chat.
188+
```
189+
190+
```
191+
Property name: mentions.mentionsEnabled
192+
193+
Accepts data type: Boolean
194+
195+
Description: If true then players can use mentions in chat.
196+
```
197+
198+
```
199+
Property name: mentions.mentionInActionBar
200+
201+
Accepts data type: Boolean
202+
203+
Description: If true then players will be notified about mention in action bar.
204+
```
205+
206+
```
207+
Property name: mentions.mentionMessage
208+
209+
Accepts data type: String
210+
211+
Description: Mention pattern message for action bar, uses if mentions in action bar enabled.
212+
```
213+
214+
```
215+
Property name: mentions.mentionAtFormat
216+
217+
Accepts data type: String
218+
219+
Description: Pattern message for `@` symbol.
220+
```
221+
222+
```
223+
Property name: mentions.mentionNameFormat
224+
225+
Accepts data type: String
226+
227+
Description: Pattern message for after `@` symbol in message. (sorry for really bad english)
228+
```
229+
230+
### If you have any questions or encounter a problem, be sure to open an [issue](https://github.com/ProjectEssentials/ProjectEssentials-Chat/issues/new/choose)!

0 commit comments

Comments
 (0)