This commit is contained in:
jslightham
2019-06-10 15:13:36 -04:00
commit 6115bb92a1
218 changed files with 7026 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public int time = 2;
private Time t = new Time(this);
public static void main(String[] args) {
}
@Override
public void onEnable() {
t.getTime();
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
this.getCommand("healme").setExecutor((CommandExecutor)new CommandClass());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,22 @@
package com.jslightham.plugin1;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandClass implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String arg2, String[] arg3) {
if(command.getName().equals("heal")) {
if(sender instanceof Player) {
Player player = (Player) sender;
}else {
System.out.println("Command may only be executed by players. ");
}
}
return true;
}
}

View File

@@ -0,0 +1,10 @@
package com.jslightham.plugin1;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}

View File

@@ -0,0 +1,23 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,26 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public int time = 2;
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,17 @@
package com.jslightham.plugin1;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
public void onEnable() {
}
public void onDisable() {
}
}

View File

@@ -0,0 +1,12 @@
package com.jslightham.plugin1;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
}

View File

@@ -0,0 +1,5 @@
package com.jslightham.plugin1;
public class Time {
}

View File

@@ -0,0 +1,27 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public int time = 2;
private Time t = new Time(this);
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,5 @@
package com.jslightham.plugin1.commands;
public class HelloCommand {
}

View File

@@ -0,0 +1,25 @@
package com.jslightham.plugin1;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandClass implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String arg2, String[] arg3) {
if(command.getName().equals("heal")) {
if(sender instanceof Player) {
Player player = (Player) sender;
if(arg3.length > 0 && arg3[0] instaceof Integer) {
}
}else {
System.out.println("Command may only be executed by players. ");
}
}
return true;
}
}

View File

@@ -0,0 +1,22 @@
package com.jslightham.plugin1.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.jslightham.plugin1.Main;
public class HelloCommand implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
Player player = (Player) sender;
if(sender instanceof Player)
player.sendMessage("Hello there");
return true;
}
}

View File

@@ -0,0 +1,27 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public int time = 2;
private Time time = new Time(this);
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,28 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public int time = 2;
private Time t = new Time(this);
public static void main(String[] args) {
}
@Override
public void onEnable() {
t.getTime();
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
this.getCommand("heal").setExecutor((CommandExecutor)new CommandClass());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,27 @@
package com.jslightham.plugin1.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.jslightham.plugin1.Main;
public class HelloCommand implements CommandExecutor{
private Main plugin;
public HelloCommand(Main plugin) {
this.plugin = plugin;
}
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
Player player = (Player) sender;
if(sender instanceof Player)
player.sendMessage("Hello there");
return true;
}
}

View File

@@ -0,0 +1,25 @@
package com.jslightham.plugin1.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import com.jslightham.plugin1.Main;
public class HelloCommand implements CommandExecutor{
private Main plugin;
public HelloCommand(Main plugin) {
this.plugin = plugin;
}
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
Player player = (Player) sender;
return true;
}
}

View File

@@ -0,0 +1,29 @@
package com.jslightham.plugin1;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandClass implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String arg2, String[] arg3) {
if(command.getName().equals("heal")) {
if(sender instanceof Player) {
Player player = (Player) sender;
if(arg3.length > 0) {
try {
player.setHealth(Integer.parseInt(arg3[0]));
}catch (Exception e) {
player.sendMessage("That is not a valid health!");
}
}
}else {
System.out.println("Command may only be executed by players. ");
}
}
return true;
}
}

View File

@@ -0,0 +1,5 @@
package com.jslightham.plugin1;
public class CommandClass {
}

View File

@@ -0,0 +1,25 @@
package com.jslightham.plugin1;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandClass implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String arg2, String[] arg3) {
if(command.getName().equals("heal")) {
if(sender instanceof Player) {
Player player = (Player) sender;
if(arg3.length > 0) {
}
}else {
System.out.println("Command may only be executed by players. ");
}
}
return true;
}
}

View File

@@ -0,0 +1,20 @@
package com.jslightham.plugin1.commands;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class HelloCommand implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
Player player = (Player) sender;
if(sender instanceof Player)
player.sendMessage("Hello there");
return true;
}
}

View File

@@ -0,0 +1,27 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public int time = 2;
private Time t = new Time(this);
public static void main(String[] args) {
}
@Override
public void onEnable() {
t.getTime();
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,25 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,20 @@
package com.jslightham.plugin1;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,20 @@
package com.jslightham.plugin1;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
@Override
public void onEnable() {
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,8 @@
name: Plugin1
version: 1.0
main: com.jslightham.plugin1.Main
description: Test1!
commands:
test:
usage: /<command>

View File

@@ -0,0 +1,23 @@
package com.jslightham.plugin1;
import org.bukkit.command.CommandExecutor;
import org.bukkit.plugin.java.JavaPlugin;
import com.jslightham.plugin1.commands.HelloCommand;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
@Override
public void onEnable() {
this.getCommand("test").setExecutor((CommandExecutor)new HelloCommand());
}
@Override
public void onDisable() {
}
}

View File

@@ -0,0 +1,7 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

View File

@@ -0,0 +1,10 @@
name: Plugin1
version: 1.0
main: com.jslightham.plugin1.Main
description: Test1!
commands:
test:
usage: /<command>
heal:
usage: /<command>

View File

@@ -0,0 +1,25 @@
package com.jslightham.plugin1;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandClass implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String arg2, String[] arg3) {
if(command.getName().equals("heal")) {
if(sender instanceof Player) {
Player player = (Player) sender;
if(arg3.length > 0 && arg3[0] instaceof int) {
}
}else {
System.out.println("Command may only be executed by players. ");
}
}
return true;
}
}

View File

@@ -0,0 +1,8 @@
name: Plugin1
version: 1.0
main: com.jslightham.plugin1.Main
description: Test1!
commands:
test:
usage: /<command>

View File

@@ -0,0 +1,19 @@
package com.jslightham.plugin1;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin{
public static void main(String[] args) {
}
public void onEnable() {
}
public void onDisable() {
}
}

View File

@@ -0,0 +1,29 @@
package com.jslightham.plugin1;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
public class CommandClass implements CommandExecutor{
@Override
public boolean onCommand(CommandSender sender, Command command, String arg2, String[] arg3) {
if(command.getName().equals("heal")) {
if(sender instanceof Player) {
Player player = (Player) sender;
if(arg3.length > 0) {
try {
player.setHealth(Integer.parseInt(arg3[0]));
}catch (Exception e) {
}
}
}else {
System.out.println("Command may only be executed by players. ");
}
}
return true;
}
}

Binary file not shown.

View File

@@ -0,0 +1,3 @@
eclipse.preferences.version=1
encoding=UTF-8
version=1

View File

@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.debug.ui.PREF_LAUNCH_PERSPECTIVES=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<launchPerspectives/>\r\n
preferredTargets=default\:default|

View File

@@ -0,0 +1,4 @@
eclipse.preferences.version=1
resetSendMode=KEEP
resetSendModeOn=0
sendMode=NOTIFY

View File

@@ -0,0 +1,8 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.codeComplete.visibilityCheck=enabled
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.junit.content_assist_favorite_static_members_migrated=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.jdt.launching.PREF_VM_XML=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?>\r\n<vmSettings defaultVM\="57,org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType13,1560013604141">\r\n<vmType id\="org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType">\r\n<vm id\="1560013604141" name\="jre1.8.0_181" path\="C\:\\Program Files\\Java\\jre1.8.0_181"/>\r\n</vmType>\r\n</vmSettings>\r\n

View File

@@ -0,0 +1,14 @@
content_assist_disabled_computers=org.eclipse.jdt.ui.textProposalCategory\u0000org.eclipse.recommenders.calls.rcp.proposalCategory.templates\u0000org.eclipse.mylyn.java.ui.javaAllProposalCategory\u0000org.eclipse.jdt.ui.javaAllProposalCategory\u0000org.eclipse.jdt.ui.javaTypeProposalCategory\u0000org.eclipse.jdt.ui.javaNoTypeProposalCategory\u0000org.eclipse.recommenders.chain.rcp.proposalCategory.chain\u0000
content_assist_lru_history=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><history maxLHS\="100" maxRHS\="10"/>
content_assist_number_of_computers=19
content_assist_proposals_background=255,255,255
content_assist_proposals_foreground=0,0,0
eclipse.preferences.version=1
org.eclipse.jdt.ui.formatterprofiles.version=14
org.eclipse.jdt.ui.text.code_templates_migrated=true
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
org.eclipse.jdt.ui.text.custom_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates/>
org.eclipse.jdt.ui.text.templates_migrated=true
spelling_locale_initialized=true
useAnnotationsPrefPage=true
useQuickDiffPrefPage=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.m2e.discovery.pref.projects=

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
mylyn.attention.migrated=true

View File

@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.mylyn.java.ui.run.count.3_10_0=1
org.eclipse.mylyn.java.ui.run.count.3_1_0=1

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.mylyn.monitor.activity.tracking.enabled.checked=true

View File

@@ -0,0 +1,5 @@
eclipse.preferences.version=1
migrated.task.repositories.secure.store=true
org.eclipse.mylyn.tasks.ui.filters.nonmatching=true
org.eclipse.mylyn.tasks.ui.filters.nonmatching.encouraged=true
org.eclipse.mylyn.tasks.ui.welcome.message=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
org.eclipse.team.ui.first_time=false

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
overviewRuler_migration=migrated_3.1

View File

@@ -0,0 +1,5 @@
PROBLEMS_FILTERS_MIGRATE=true
eclipse.preferences.version=1
platformState=1530721698963
quickStart=false
tipsAndTricks=true

View File

@@ -0,0 +1,2 @@
eclipse.preferences.version=1
showIntro=false

View File

@@ -0,0 +1,3 @@
//org.eclipse.ui.commands/state/org.eclipse.ui.navigator.resources.nested.changeProjectPresentation/org.eclipse.ui.commands.radioState=false
PLUGINS_NOT_ACTIVATED_ON_STARTUP=;org.eclipse.m2e.discovery;
eclipse.preferences.version=1

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,74 @@
{
"version": "v1",
"title": "Eclipse",
"timestamp": 1560013514386,
"ttl": 10080,
"helpUrl": "https://dev.eclipse.org/recommenders/community/aeri/v2/help/",
"feedbackUrl": "https://www.codetrails.com/error-analytics/",
"aboutUrl": "https://wiki.eclipse.org/EPP/Logging",
"submitUrl": "https://dev.eclipse.org/recommenders/community/confess/0.6/reports/",
"maxReportSize": 262144,
"problemsUrl": "https://www.eclipse.org/downloads/download.php?r\u003d1\u0026file\u003d/technology/epp/logging/problems.zip",
"problemsTtl": 20160,
"interestUrl": "https://dev.eclipse.org/recommenders/community/confess/v2/interest",
"connectTimeout": 10,
"socketTimeout": 10,
"acceptedProducts": [
"org.eclipse.*",
"org.fordiac.*"
],
"acceptedPlugins": [
"org.apache.log4j.*",
"org.eclipse.*",
"org.fordiac.*"
],
"acceptedPackages": [
"adaptorinterface.impl.*",
"ch.qos.*",
"com.cforcoding.*",
"com.google.*",
"com.gradleware.tooling.*",
"com.mountainminds.eclemma.*",
"com.naef.*",
"com.sun.*",
"java.*",
"javafx.*",
"javax.*",
"org.apache.*",
"org.eclipse.*",
"org.fordiac.*",
"org.gradle.*",
"org.jacoco.*",
"org.osgi.*",
"org.slf4j.*",
"sun.*"
],
"requiredPackages": [
"adaptorinterface.impl.*",
"com.cforcoding.*",
"com.gradleware.tooling.*",
"com.mountainminds.eclemma.*",
"com.naef.*",
"org.eclipse.*",
"org.fordiac.*",
"org.gradle.*",
"org.jacoco.*"
],
"acceptOtherPackages": false,
"acceptUiFreezes": true,
"ignoredStatuses": [
":java.io.IOException:There is not enough space on the disk",
":java.net.*:",
"org.eclipse.core.filesystem::Could not delete*",
"org.eclipse.core.filesystem::Could not move*",
"org.eclipse.core.resources:org.eclipse.core.internal.resources.ResourceException:Resource is out of sync with the file system*",
"org.eclipse.core.runtime::Invalid input url*",
"org.eclipse.epp.mpc.ui:java.io.IOException:",
"org.eclipse.equinox.p2.*::",
"org.eclipse.jface:java.io.IOException:Unable to resolve plug-in*",
"org.eclipse.oomph.setup.core:$org.apache.http.ConnectionClosedException:",
"org.eclipse.pde.core::The current target platform contains errors*",
"org.eclipse.ui::Conflicting handlers for*"
],
"problemsZipLastDownloadTimestamp": 0
}

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More