Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
innocentius committed Apr 23, 2015
0 parents commit fb74bb0
Show file tree
Hide file tree
Showing 14 changed files with 3,816 additions and 0 deletions.
26 changes: 26 additions & 0 deletions cjfw/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
1 change: 1 addition & 0 deletions cjfw/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
23 changes: 23 additions & 0 deletions cjfw/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CJFWPlugin</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
5 changes: 5 additions & 0 deletions cjfw/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.8
4 changes: 4 additions & 0 deletions cjfw/.settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
2 changes: 2 additions & 0 deletions cjfw/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0

30 changes: 30 additions & 0 deletions cjfw/plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: DesertBaseDefence
main: www.innocentius.net.cjfw.CJFWmain
version: 1.0.0-REVGAME
website: http://www.innocentius.net/wordpress
description: >
CJFWmain
commands:
cjfw:
description: the control for the whole game
permission: cjfw.admin
usage: |
/cjfw - for a hello message and this usage page
/cjfw init - init the game, DO THIS BEFORE SETBASE
/cjfw start - start game, MUST initialize first
/cjfw stop - pause game, can use start to re-open the game from current process.
/cjfw reset - reset critical parameter for re-init
/cjfw rank - broadcast rank of current players, COULD ONLY BE USED AFTER GAME IS FINISHED
/cjfw choose <career> - INVALID_let player choose their career
/cjfw showhp - show current hp of base, must start game
/cjfw showloc - show the current position of bases.
/cjfw setdiff <difficulty> - set the difficulty of game, 1 as default, 0 as no mobs spawned, DON'T GO BEYOND 3
/cjfw setbase <basenumber> - set the location of three bases, basenumber must be 1 for blue or 2 for aqua or 3 for purple, DO THIS AFTER INIT
/cjfw heal <basename> <playername> - heal a base 5% with sender's name, ONLY USE THIS IN COM_BLOCK
/cjfw fortify <basename> <playername> - fortify a base for 3 sec with sender's name, ONLY USE IN COM_BLOCK
permissions:
cjfw.admin:
description: op has the control of game
default: op
35 changes: 35 additions & 0 deletions cjfw/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>www.innocentius.net</groupId>
<artifactId>CJFWPlugin</artifactId>
<version>1.0.0</version>
<name>Cai_Jue_Ji_Di_Fang_Wei_Zhan</name>
<description>The plugin is for a short game, 30min bases</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>bukkit-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
</project>
Binary file added cjfw/www/innocentius/net/cjfw/CJFWListener.class
Binary file not shown.
Loading

0 comments on commit fb74bb0

Please sign in to comment.