Skip to content

Commit 207f062

Browse files
committed
Add reselling notice
1 parent 0917172 commit 207f062

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

src/main/java/com/funniray/waterdogmsg/wdmsg.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
* WD-Msg - A WaterDogPE plugin that allows proxy PMing
3+
* Copyright (C) 2021 Funniray
4+
*
5+
* This program is free software; you can redistribute it and/or modify
6+
* it under the terms of the GNU General Public License as published by
7+
* the Free Software Foundation; either version 3 of the License, or
8+
* (at your option) any later version.
9+
*
10+
* This program is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU General Public License for more details.
14+
*
15+
* I am available for any questions/requests: [email protected]
16+
*/
17+
118
package com.funniray.waterdogmsg;
219

320
import com.funniray.waterdogmsg.commands.MsgCommand;
@@ -40,6 +57,12 @@ public void onEnable() {
4057

4158
config = getConfig();
4259

60+
if (getConfig().getBoolean("showpiracywarning")) {
61+
this.getLogger().critical("A WaterDogPE plugin that allows proxy PMing\n" +
62+
"A free plugin by Funniray. https://github.com/funniray/waterdog-pureperms If you paid for this plugin, you were scammed.\n" +
63+
"Report resellers to [email protected]");
64+
}
65+
4366
getProxy().getCommandMap().registerCommand(new MsgCommand());
4467
getProxy().getCommandMap().registerCommand(new ReplyCommand());
4568
}

src/main/resources/config.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
#
2+
# WD-Msg - A WaterDogPE plugin that allows proxy PMing
3+
# Copyright (C) 2021 Funniray
4+
#
5+
# This program is free software; you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation; either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# This program is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU General Public License for more details.
14+
#
15+
# I am available for any questions/requests: [email protected]
16+
#
17+
18+
###############################################################################################################
19+
###############################################################################################################
20+
#### ####
21+
#### IF YOU PAID FOR THIS, YOU WERE SCAMMED ####
22+
#### THIS IS A FREE PLUGIN ####
23+
#### https://github.com/funniray/waterdog-msg ####
24+
#### Report scammers to [email protected] ####
25+
#### ####
26+
###############################################################################################################
27+
###############################################################################################################
28+
129
to: "To %player%: %msg%"
230
from: "From %player%: %msg%"
331
to_null: "That player doesn't exist or is offline"

0 commit comments

Comments
 (0)