This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class ItemBuilder { | |
| private Material material; | |
| private int amount; | |
| private short data; | |
| private NBTBuilder nbt; | |
| private MetaBuilder metaBuilder; | |
| public ItemBuilder(Material material) { | |
| this.material = material; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.bukkit.configuration.Configuration; | |
| import org.bukkit.configuration.InvalidConfigurationException; | |
| import org.bukkit.configuration.file.FileConfiguration; | |
| import org.bukkit.configuration.file.YamlConfiguration; | |
| import org.bukkit.plugin.Plugin; | |
| import java.io.File; | |
| import java.io.IOException; | |
| public class ConfigApi { | |
| private static Plugin p; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class DateAPI { | |
| private static String key; | |
| private static DateAPI dateAPI; | |
| public static void setKey(String key) { | |
| DateAPI.key = key; | |
| } | |
| public static DateAPI getInstance() { | |
| if (key == null) { | |
| throw new NullPointerException("Key kan ikke være null!"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package me.grimepp; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.plugin.java.JavaPlugin; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import java.util.UUID; | |
| public class AntiBungeeHack extends JavaPlugin { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| settings: | |
| prefix: '&7[&cStaff&7]' | |
| frys: | |
| tilgang: 'staff.frys' | |
| #Hvor lang tid det skal ta for hver ny frys melding skal komme. Sett til -1 for bare send en gang! Sett til -2 for bare en gang! Sett til -3 for ingen. | |
| meldingtid: 3 | |
| command: | |
| use: true | |
| commands: ["ban %navn% logget ut menst fryst!"] | |
| disabled: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.google; | |
| public class Main { | |
| //long,int,short,byte , double, float , char, boolean | |
| //<access modifier> static <datatype> <navn> = <value>; | |
| //Object, static | |
| /* | |
| * public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.google; | |
| public class Main { | |
| //long,int,short,byte , double, float , char, boolean | |
| //<access modifier> static <datatype> <navn> = <value>; | |
| //Object, static | |
| /* | |
| * public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package no.golicraft.pvpmashup.utils.game; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.Material; | |
| import org.bukkit.enchantments.Enchantment; | |
| import org.bukkit.inventory.ItemFlag; | |
| import org.bukkit.inventory.meta.ItemMeta; | |
| import java.util.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| messages: | |
| prefix: '&8[&6Bondelivet&8] &r ' | |
| cooldown: '&7Du kan ikke bruke dette for %m minutt' | |
| teleportert: 'Du ble nå tilfeldig teleportert' | |
| restartings: 'Serveren restarter om 10 minutt' | |
| ingentilgang: 'Du har ikke tilgang til dette!' | |
| wonbet: 'Du vant %penger%$ fra %motstander% i coinflip!' | |
| loosebet: 'Du tapte %penger%$ mot %motstander% i coinflip!' | |
| coinflipalready: 'Du kan bare ha en coinflip om gangen!' | |
| wrongusecoinflip: 'Feil bruk! Skriv /cf <penger> <krone|mynt>' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package io.github.grimepp.scoreboard.manager; | |
| import com.mojang.authlib.GameProfile; | |
| import io.github.grimepp.scoreboard.ScoreboardPlugin; | |
| import net.bylivet.kitpvp.utils.CoinsManager; | |
| import net.bylivet.kitpvp.utils.Stat; | |
| import net.bylivet.kitpvp.utils.Statistic; | |
| import org.bukkit.Bukkit; | |
| import org.bukkit.ChatColor; | |
| import org.bukkit.configuration.ConfigurationSection; |
OlderNewer