mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Enhance premium verification
This commit is contained in:
parent
4780fcd534
commit
6da4994955
@ -81,7 +81,7 @@ public class DebugPaste extends SubCommand {
|
|||||||
"# Welcome to this paste\n# It is meant to provide us at IntellectualSites with better information about your "
|
"# Welcome to this paste\n# It is meant to provide us at IntellectualSites with better information about your "
|
||||||
+ "problem\n\n");
|
+ "problem\n\n");
|
||||||
b.append("# PlotSquared Information\n");
|
b.append("# PlotSquared Information\n");
|
||||||
b.append("This PlotSquared version is licensed to the spigot user ")
|
b.append("This PlotSquared version (").append(PremiumVerification.getResourceID()).append(") is licensed to the spigot user ")
|
||||||
.append(PremiumVerification.getUserID()).append(" under ").append(
|
.append(PremiumVerification.getUserID()).append(" under ").append(
|
||||||
PremiumVerification.getDownloadID()).append("\n");
|
PremiumVerification.getDownloadID()).append("\n");
|
||||||
b.append("# Server Information\n");
|
b.append("# Server Information\n");
|
||||||
|
@ -35,6 +35,13 @@ public class PremiumVerification {
|
|||||||
return "%%__USER__%%";
|
return "%%__USER__%%";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Resource ID if downloaded through SpigotMC
|
||||||
|
*/
|
||||||
|
public static String getResourceID() {
|
||||||
|
return "%%__RESOURCE__%%";
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return Download ID if downloaded through SpigotMC
|
* @return Download ID if downloaded through SpigotMC
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user