Hello (<-- two spaces)
World
Hello
World
import co.aikar.commands.BaseCommand | |
import co.aikar.commands.JDACommandEvent | |
import co.aikar.commands.annotation.CommandAlias | |
import co.aikar.commands.annotation.Dependency | |
import net.dv8tion.jda.core.JDA | |
import net.dv8tion.jda.core.entities.Guild | |
class BaseCommands : BaseCommand() { | |
@Dependency |
package me.minidigger.test.test; | |
/* | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or | |
(at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
import: | |
ch.njol.skript.log.SkriptLogger | |
ch.njol.skript.ScriptLoader | |
ch.njol.skript.config.SectionNode | |
ch.njol.skript.lang.Condition | |
ch.njol.skript.Skript | |
ch.njol.skript.config.validate.SectionValidator | |
ch.njol.skript.lang.SkriptParser | |
com.btk5h.skriptmirror.Util as MirrorUtil | |
java.util.Arrays |
package com.comphenix.example; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.bukkit.Server; | |
import org.bukkit.entity.Player; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.EventPriority; | |
import org.bukkit.event.Listener; |
Hello (<-- two spaces)
World
Hello
World
After this tutorial you are able to code a cool bot with many commands and a level system.
Did you ever want to write your own bot but you think you are to bad for it or you don't have motivation? Stop thinking that way. Writing discord bots using discord.js is like, really, really, easy if you know some javascript basics.
In this tutorial we will use some ES6 and ES2017, which makes javascript more powerful. If you never heard of ES6/ES2017, i'll explain some stuff if i use it. Found a mistake? Just open an issue or fork and pull.
[INFO] 12 warnings | |
[INFO] ------------------------------------------------------------- | |
[INFO] ------------------------------------------------------------- | |
[ERROR] COMPILATION ERROR : | |
[INFO] ------------------------------------------------------------- | |
[ERROR] /D:/ValeMC/ValeBox/src/main/java/com/valemc/utils/lib/SignGUI.java:[72,55] cannot access org.bukkit.block.data.BlockData | |
class file for org.bukkit.block.data.BlockData not found | |
[INFO] 1 error | |
[INFO] ------------------------------------------------------------- | |
[INFO] ------------------------------------------------------------------------ |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.2</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> |
package net.zyuiop.scoreboard; | |
import net.minecraft.server.v1_8_R3.*; | |
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer; | |
import org.bukkit.entity.Player; | |
import java.lang.reflect.Field; | |
import java.util.ArrayList; | |
import java.util.List; |
package com.mrzalty.scoreboards; | |
import java.lang.reflect.Field; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftPlayer; | |
import org.bukkit.entity.Player; | |
import net.minecraft.server.v1_11_R1.IScoreboardCriteria; |