CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 18:15:52 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=634197fd285f4b2e592fb62f6c9d37971e73b3058688d3696bd72e1cc3809365a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22eUC5g0PVd-SC8LD6qUAualdX-0rq3U93%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d058668af6c19f-BLR
package me.tylercreator.fallensurv.spawnmodifier;import java.security.Public - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package me.tylercreator.fallensurv.spawnmodifier;
- import java.security.PublicKey;
- import java.util.Random;
- import org.apache.logging.log4j.core.config.plugins.Plugin;
- import org.bukkit.Bukkit;
- import org.bukkit.ChatColor;
- import org.bukkit.Location;
- import org.bukkit.configuration.file.FileConfiguration;
- import org.bukkit.craftbukkit.Main;
- import org.bukkit.event.EventHandler;
- import org.bukkit.event.Listener;
- import org.bukkit.event.player.PlayerJoinEvent;
- import me.tylercreator.fallensurv.main;
- public class Spawnmodifier implements Listener{
- @EventHandler
- public void randomspawn(PlayerJoinEvent pj) {
- public static final FileConfiguration config = main.plugin.getConfig();
- int PlayerJoinLocX = pj.getPlayer().getLocation().getBlockX();
- int PlayerJoinLocY = pj.getPlayer().getLocation().getBlockY();
- int PlayerJoinLocZ = pj.getPlayer().getLocation().getBlockZ();
- boolean newplayer = pj.getPlayer().hasPlayedBefore();
- String playername = pj.getPlayer().getName();
- Random random = new Random();
- int low = config.getInt("minimumTeleport");
- int high = config.getInt("maximumTeleport");
- //int low= 250; minimum random value
- //int high= 1750; //max random value
- int resultX = random.nextInt(high-low) + low; //random X function
- int resultZ = random.nextInt(high-low) + low; //random Z function
- Location loc = pj.getPlayer().getLocation().add(resultX, 0, resultZ);
- if(newplayer) {
- Bukkit.getPlayer(playername).sendMessage(ChatColor.AQUA + "Welcome back, remember to watch out for other players...");
- } else {
- pj.getPlayer().teleport(loc);
- Bukkit.getPlayer(playername).sendMessage(ChatColor.RED + "Welcome! This is the FallenSurvivor gamemode!");
- Bukkit.getPlayer(playername).sendMessage(ChatColor.RED + "Read the gamemode mechanics with /fs help");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ N
JavaScript | 1 sec ago | 0.24 KB
-
⭐⭐⭐Instant Profit Method⭐⭐
Java | 6 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ J
JavaScript | 10 sec ago | 0.24 KB
-
⭐⭐⭐Exchange Exploit T I⭐⭐
Java | 19 sec ago | 0.10 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ D
JavaScript | 19 sec ago | 0.24 KB
-
⭐✅ Trading Profit Method ✅ NEVER SEEN BEFORE...
JavaScript | 21 sec ago | 0.24 KB
-
✅ Make $2500 in 20 minutes⭐⭐⭐ 3
JavaScript | 28 sec ago | 0.24 KB
-
⭐ Instant BTC Profit Method ✅ NEVER SEEN BEFO...
JavaScript | 30 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand