First commit, no functionality but describing features in config and commands.
This commit is contained in:
commit
9bbfa15634
6 files changed
+221
No files matched your search
@@ -0,0 +1,6 @@
|
||||
/target/
|
||||
/.settings/
|
||||
/bin/
|
||||
.project
|
||||
.classpath
|
||||
.metadata
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
Copyright (c) 2016, ProgrammerDan
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of SimpleAdminHacks nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,61 @@
|
||||
<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>com.programmerdan.minecraft</groupId>
|
||||
<artifactId>SimpleAdminHacks</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0.0</version>
|
||||
<name>SimpleAdminHacks</name>
|
||||
<url>https://github.com/DevotedMC/SimpleAdminHacks</url>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>2.3.2</version>
|
||||
<configuration>
|
||||
<source>1.7</source>
|
||||
<target>1.7</target>
|
||||
<compilerArgument></compilerArgument>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
<sourceDirectory>${basedir}/src</sourceDirectory>
|
||||
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>${basedir}/src/resources</directory>
|
||||
<includes>
|
||||
<include>*.yml</include>
|
||||
<include>*.md</include>
|
||||
</includes>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>spigot-repo</id>
|
||||
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.9-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.programmerdan.minecraft.simpleadminhacks;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class SimpleAdminHacks extends JavaPlugin {
|
||||
private static SimpleAdminHacks plugin;
|
||||
|
||||
public SimpleAdminHacks() {
|
||||
}
|
||||
|
||||
public void onEnable() {
|
||||
SimpleAdminHacks.plugin = this;
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
|
||||
}
|
||||
|
||||
public static SimpleAdminHacks instance() {
|
||||
return plugin;
|
||||
}
|
||||
public static Logger log() {
|
||||
return SimpleAdminHacks.plugin.getLogger();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
# Effectively Modern Humbug. For 1.9 ground up.
|
||||
|
||||
configuration_file_version: 1
|
||||
|
||||
game_features:
|
||||
elytra: off
|
||||
chorus_fruit: off
|
||||
game_bugs:
|
||||
nether_bed_placement: off
|
||||
admin:
|
||||
alert_new: on
|
||||
alert_join: on
|
||||
alert_exit: on
|
||||
alert_ct: on
|
||||
alert_die: on
|
||||
newfriend:
|
||||
helptips: on
|
||||
helptips_end: 20m
|
||||
introkit: on
|
||||
introkit_contents:
|
||||
- ==: org.bukkit.inventory.ItemStack
|
||||
type: COOKIE
|
||||
amount: 32
|
||||
meta:
|
||||
==: ItemMeta
|
||||
meta-type: UNSPECIFIC
|
||||
display-name: 'Manna'
|
||||
lore:
|
||||
- "Gift from the Admins as you"
|
||||
- "begin your journey on Devotion."
|
||||
introbook: on
|
||||
introbook_contents:
|
||||
title: Welcome to Devoted
|
||||
author: Bonkill
|
||||
pages:
|
||||
- Devoted is not your ordinary minecraft server.
|
||||
- We run a series of custom mods that greatly impact gameplay.
|
||||
- Welcome and we hope you will enjoy!
|
||||
tuning:
|
||||
str2: replace_str1ext
|
||||
pearl_gravity: 0.3
|
||||
@@ -0,0 +1,59 @@
|
||||
name: ${project.name}
|
||||
main: com.programmerdan.minecraft.simpleadminhacks.SimpleAdminHacks
|
||||
author: ProgrammerDan
|
||||
authors: []
|
||||
version: ${project.version}
|
||||
commands:
|
||||
hacks:
|
||||
description: Set live the various hacks and fixes supported by this plugin
|
||||
usage: /<command> [set|show [config.option [value]]]
|
||||
permission: simpleadmin.hacks
|
||||
invsee:
|
||||
description: See any player inventory, online or not.
|
||||
usage: /<command> [playername|UUID]
|
||||
permission: simpleadmin.invsee
|
||||
invmod:
|
||||
description: Modify any player inventory, online or not.
|
||||
usage: /<command> [playername|UUID]
|
||||
permission: simpleadmin.invmod
|
||||
introkit:
|
||||
description: Give a player the currently configured introkit
|
||||
usage: /<command> [playername|UUID]
|
||||
permission: simpleadmin.kit
|
||||
introbook:
|
||||
description: Give a player the currently configured intro book
|
||||
usage: /<command> [playername|UUID]
|
||||
permission: simpleadmin.book
|
||||
permissions:
|
||||
simpleadmin.*:
|
||||
description: Gives access to all SimpleAdminHacks commands
|
||||
default: op
|
||||
children:
|
||||
simpleadmin.hacks: true
|
||||
simpleadmin.invsee: true
|
||||
simpleadmin.chestsee: true
|
||||
simpleadmin.invmod: true
|
||||
simpleadmin.chestmod: true
|
||||
simpleadmin.kit: true
|
||||
simpleadmin.book: true
|
||||
simpleadmin.hacks:
|
||||
description: Allows control of the hacks and settings which simpleadminhacks supports
|
||||
default: op
|
||||
simpleadmin.invsee:
|
||||
description: Allows viewing player inventory
|
||||
default: op
|
||||
simpleadmin.chestsee:
|
||||
description: Allows viewing any chests
|
||||
default: op
|
||||
simpleadmin.invmod:
|
||||
description: Allows modifying player inventory
|
||||
default: op
|
||||
simpleadmin.chestmod:
|
||||
description: Allows modifying any chests
|
||||
default: op
|
||||
simpleadmin.kit:
|
||||
description: Gives ability to gift starting kit
|
||||
default: op
|
||||
simpleadmin.book:
|
||||
description: Gives ability to gift starting book
|
||||
default: op
|
||||
Reference in new issue
Block a user