mirror of
https://github.com/songoda/UltimateTimber.git
synced 2025-02-13 10:11:30 +01:00
Version 0.0.1
- Initial commit
This commit is contained in:
parent
a68632cef0
commit
8e36ecb417
20
pom.xml
20
pom.xml
@ -4,8 +4,8 @@
|
||||
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>epictimber</groupId>
|
||||
<artifactId>EpicTimber</artifactId>
|
||||
<groupId>ultimatetimber</groupId>
|
||||
<artifactId>UltimateTimber</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
@ -25,22 +25,6 @@
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epictimber;
|
||||
package com.songoda.ultimatetimber;
|
||||
|
||||
import org.bukkit.configuration.Configuration;
|
||||
|
||||
@ -22,7 +22,7 @@ public class DefaultConfig {
|
||||
|
||||
public static void initialize() {
|
||||
|
||||
Configuration newConfiguration = EpicTimber.plugin.getConfig();
|
||||
Configuration newConfiguration = UltimateTimber.plugin.getConfig();
|
||||
|
||||
newConfiguration.addDefault(AXES_ONLY, true);
|
||||
newConfiguration.addDefault(ACCURATE_AXE_DURABILITY, true);
|
||||
@ -31,7 +31,7 @@ public class DefaultConfig {
|
||||
|
||||
newConfiguration.options().copyDefaults(true);
|
||||
|
||||
EpicTimber.plugin.saveDefaultConfig();
|
||||
UltimateTimber.plugin.saveDefaultConfig();
|
||||
|
||||
configuration = newConfiguration;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epictimber;
|
||||
package com.songoda.ultimatetimber;
|
||||
|
||||
import org.bukkit.GameMode;
|
||||
import org.bukkit.Location;
|
||||
@ -189,7 +189,7 @@ public class TreeFallHandler implements Listener {
|
||||
public void run() {
|
||||
fallingBlock.setGravity(true);
|
||||
}
|
||||
}.runTaskLater(EpicTimber.plugin, 5);
|
||||
}.runTaskLater(UltimateTimber.plugin, 5);
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
@ -201,7 +201,7 @@ public class TreeFallHandler implements Listener {
|
||||
fallingBlock.getLocation().getWorld().spawnParticle(Particle.SMOKE_LARGE, fallingBlock.getLocation(), 3, 0.2, 0.2, 0.2, 0.05);
|
||||
}
|
||||
}
|
||||
}.runTaskTimer(EpicTimber.plugin, 0, 1);
|
||||
}.runTaskTimer(UltimateTimber.plugin, 0, 1);
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.songoda.epictimber;
|
||||
package com.songoda.ultimatetimber;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
@ -10,7 +10,7 @@ in the documentation, config files and variable names.
|
||||
PS: MagmaGuy was here
|
||||
*/
|
||||
|
||||
public class EpicTimber extends JavaPlugin {
|
||||
public class UltimateTimber extends JavaPlugin {
|
||||
|
||||
public static Plugin plugin;
|
||||
|
@ -1,10 +1,10 @@
|
||||
name: EpicTimber
|
||||
name: UltimateTimber
|
||||
version: 0.0.1
|
||||
author: Songoda
|
||||
main: com.songoda.epictimber.EpicTimber
|
||||
main: com.songoda.ultimatetimber.UltimateTimber
|
||||
api-version: 1.13
|
||||
commands:
|
||||
epictimber:
|
||||
description: Does something, probably
|
||||
usage: /epictimber
|
||||
usage: /ultimatetimber
|
||||
aliases: [ep]
|
Loading…
Reference in New Issue
Block a user