#general

1 messages · Page 91 of 1

vocal rivet
#

Well good luck ^^

burnt flame
#

Thanks

vocal rivet
#

I wish i could use my test machine rn. I still have to test SFB, SPS and the MSE server

drowsy quest
hybrid loom
#

Oh man

#

I love that track 😄

stiff tide
#

ew genji mains

potent prawn
#

👋

hybrid loom
#

Ew Overwatch I guess you talk about Genji from Overwatch?

stiff tide
#

i say with my few hundred hours on geni

potent prawn
#

hahahaha

#

one of us

stiff tide
potent prawn
#

boiiiiiiiiiiiiii

#

the dragon becomes me

#

mada mada

#

i need healing

stiff tide
#

Sweats in 7 ow accounts, one of was supposed to be gengoo only

potent prawn
#

7 omg

stiff tide
#

the one time humblebundle had OW codes and my friends gave me theirs so i'd boost them

potent prawn
#

hahaha i forgot about that, wish i got one then

#

i ended up paying almost full price for my alt

stiff tide
#

i didnt even pay for my original copy

#

it was a gift from my ex

#

jokes on him hes gold and im gm

potent prawn
#

damn

#

i'm plat 😂

hybrid loom
#

Meanwhile I play Team Fortress 2 casually

outer vesselBOT
#

Hey McCree! Please don't tag staff members.

stiff tide
#

have my art

potent prawn
#

I love it

stiff tide
#

thank you i put minimal effort into making it

hybrid loom
stiff tide
#

i just run around screaming its high noon

gilded nova
#

I tried that, and when I /lp info PLAYER it appears that he have the two prefix but in the chat @drowsy quest

#

He only have the prefix of his rank

#

🤔

ornate heron
#

Hey everyone, I am busy with a simple punishment manager and im running into an issue. Whenever someone gets banned. The reason they get kicked for when they are banned does not match up with the one they got banned for. And i've tried loads of ways but i can't seem to fix it. Anyone able to save the day for me? https://hasteb.in/erucufeg.java

drowsy quest
#

@ornate heron I'd recommend you taking a look at other plugins

lilac kayak
#

Can anyone help me with Ubuntu 18.04 LTS?

#

I'm trying to setup my new VPS, but the commands are just too complicated.

lilac kayak
#

Yeah...

potent prawn
#

what's complicated about it? you haven't really provided any info

rain warren
#

Hello guys, I've question ...

Anyone know a plugin that allowed me to make custom item / hat?
Example: " Custom 3D item created by durability of tools" --> " plugins that allowed user to wear it as a hat"

drowsy quest
#

For the first you need a server resource pack

#

And for the second just a hat plugin really

minor socket
#

Or use forge :p

drowsy quest
#

That needs a client side mod

#

I don’t think this is better

gilded nova
#

Hey bro

#

Did u read my msg about the "two prefix" ?

#

I tried with the wiki and with ur help, but It didn't worked

drowsy quest
#

That’s not a lot to work on

gilded nova
#

I tried that, and when I /lp info PLAYER it appears that he have the two prefix but in the chat

lilac kayak
drowsy quest
#

@gilded nova that means the chat format is not configured correctly

#

If it shows correctly in '/lp user <user> info` then it’s the chat plugin. Not LP

burnt flame
#

Looking about for a CI environment to self-host. Jenkins seems pretty common within the Minecraft world, possibly because it's written Java, and TeamCity has also come up several times. Do any of you have any recommendations?

vocal rivet
#

TeamCity

#

Love it

#

or if you look for combined solutions: GitLab

drowsy quest
#

GitLab all the way

burnt flame
#

I actually had my own GitLab node for a bit but I migrated back to GitHub and nuked it. It was great, but for open source solutions, there wasn't exactly a huge audience with my own private gitlab.

I may look into the gitlab.com gitlab, but I had the full version because I was wanting to leverage SSO through Keycloak

#

That said, I've sorta abandoned that idea as far as code goes

vocal rivet
#

We currently host ourself:

  • GitLab CE
  • Bitbucket
  • Jira
  • TeamCity
onyx gale
#

/afk

#

oops

#

I should do it on my mainscreen.. xd

burnt flame
#

Why do you think Jenkins is so popular in the Minecraft world? MD5 perhaps? Or is it just generally better at handling java?

#

I see it with indie Java devs too all the time.

drowsy quest
#

¯_(ツ)_/¯

#

It was there before GitLab

#

That's probably why

#

Like it was one of the first

vocal rivet
#

Because its one of the longest existing ones, it always did what it was supposed to do and works.
The thing I just have noticerd is that it uses way more ressources then necessary

#

GitLab is our public colaboration possibility where everyone can login and do stuff, which is why the runner and any additional service that could be abused are disabled.
BitBucket, Jira and TeamCity are just for our development team and noone else. Signup is disabled and i manage the user accounts

burnt flame
#

Oh cool, TeamCity supports ldap and ntlm authentication modes

vocal rivet
#

its great and works just fine

burnt flame
#

I think I'll go with TeamCity until such a time as I need my own source control solution again. And with this, I should be able to manage my user accounts using my AD environment, so win-win.

drowsy quest
#

Do you guys have any decent LDAP solution?

#

I never found anything decent that doesn't cost a fortune

burnt flame
#

I'm building my environment currently, so I don't have anything to show you, but I've been looking at KeyCloak by RedHat.

#

It's free, open source, and gives you a federated services portal allowing single sign on, self service (password resets, username changes, whatever else you configure), and on the back end, it supports ldap-s and several other protocols for talking with your AD environment.

#

It does both authentication and identity, which is why I'm leveraging it as a sso solution.

teal sun
#

Oh nice

burnt flame
#

This is the front-end portal, but being html based, you can design it to look like whatever you like.

#

But to add icing on the cake, that empty area off to the right is where the optional sign-up controls are. If you allow people to register, KeyCloak has the appropriate hooks to create AD user accounts according to your company's policies, such as determining which OU to place them in.

drowsy quest
#

Neat

burnt flame
#

Any reservations on me discouraging the use of the wildcard permission node as far as this best practice guide is concerned?

#

For Sponge that's already a best practice, but this would discourage its use on Bukkit as well.

hybrid loom
#

I personally dislike using wildcards in permissions.

pulsar pollen
#

How do I set a servers resourcepack? I host via beastnode if that means anything

burnt flame
#

Place the resource pack in the server root and then in your server.properties file, provide the name of the resource pack.

hybrid loom
#

You set a link in the server.properties

burnt flame
#

Is it a url or just the file name? I might be remembering incorrectly.

hybrid loom
#

It needs to be a link that lets you directly download the zip-file

burnt flame
#

Ah, ok cool.

pulsar pollen
#

ty

gilded nova
#

I use Ultimatechat bro '^' @drowsy quest

rain warren
#

@drowsy quest // tq for your respond earlier

#

Btw, anyone here know good plugins for promote?

#

Example :
Player A can only promote player B to rank 3

gilded nova
#

RankUpper bro

#

wtf

#

"auto rank sponge" first result > rank upper

#

Ore go sponge, "ranks" and there is only rank upper

#

@rain warren

rain warren
#

@gilded nova I can't understand a thing.

hybrid loom
#

Look at the length

#

And that's an ad

#

Like....

drowsy quest
#

I know why I have YouTube premium XD

hybrid loom
#

But honestly... That ad made me curious for what will come to Nintendo switch

#

Super Mario Maker 2 :3

bleak rose
#

wait, the ad was all of nintendo direct?

drowsy quest
#

Yup

hybrid loom
#

looks like it

bleak rose
#

wth

hybrid loom
#

I mean it's a fun idea

bleak rose
#

yeah

hybrid loom
#

And they got my interest tho

drowsy quest
#

I’m excited for SMM2 too. And I only watch people play it on YouTubr

bleak rose
#

there are some neat games coming out

hybrid loom
#

So.... Mission accomplished?

bleak rose
#

i guess so

hybrid loom
#

I luckly got a switch recently

#

And boy is Breath of the wild a tuff game

bleak rose
#

i want one... i could get one but the games are console prices which is annoying

hybrid loom
#

Had like 20 deaths already and only got one of the 4 giants....

burnt flame
#

@potent prawn The only issue I can see is some users may expect total time instead of delta time, i.e. time since join rather than time since last promotion. Should that just be handled with a slightly different command structure?

outer vesselBOT
#

Hey Foxtrek_64! Please don't tag staff members.

potent prawn
#

shaddup clippy

#

i think it should be able to check both

#

players might want to know their total time

burnt flame
#

That's fair. How should that time be updated? I've been told to "never" hook into the server tick, but other events are not necessarily guaranteed to happen on a regular basis. And I feel it should be done more often than on player join/leave.

potent prawn
#

the plugin i currently use (autorank) does it every 5 minutes i believe, though i think you can set it

#

also needs to hook into afk modes

burnt flame
#

True

#

This is C# stuff but I'm sure you can translate it - I'm thinking of possibly starting a timer on plugin start with the tick set to 5 minutes or so. When a player joins, it records the DateTime in epoch secods and on timer tick it calculates a TimeSpan of current epoch seconds - join seconds and goes from there.

manic snow
#

Doesnt sponge already track players online time?

potent prawn
#

vanilla minecraft does

#

but it includes afk time as well

burnt flame
#

Sponge might, but I need to make this compat- oh, ok

potent prawn
#

which isn't usually ideal as players can exploit that

manic snow
#

true

#

that being said, I kick my players after 200 seconds with the AFK timer

#

I know, im nasty

#

ive been told that a few times

burnt flame
#

Heh, I just let my players afk forever.

#

They get kicked by the nightly restart though.

manic snow
#

Mine gain claim blocks with time played. Had someone trying to "Cheat the system" by being afk in spawn

potent prawn
#

200 seconds is low 😅

manic snow
#

Yep

#

that being said

potent prawn
#

i think we boot after an hour

manic snow
#

every rank BUT the intro one is excempt

#

So it really only affects those who join just to afk

gilded nova
#

@rain warren Just search on google -> "auto rank sponge" and u will find "RankUpper", the plugin u want to promote automatically... wtf brodda

#

By the way @drowsy quest I tried to config UltimateChat for the "2 prefix" but it don't seems to work... Is there an "official" plugin to use ?

outer vesselBOT
#

Hey Clara97! Please don't tag staff members.

coral lantern
#

@burnt flame what would happen if i used your username in terminal

drowsy quest
#

@gilded nova no. Though check if /lp user <user> info shows two prefixes

#

If it doesn’t, prefix stacking is not setup correctly

rain warren
#

@gilded nova well... I'm not asking for autorank hmm

gilded nova
rain warren
#

See the example

#

Player A can only promote player B to rank 3

#

@gilded nova

drowsy quest
#

👌🏻

coral lantern
#

funny brain

#

but what the fuck did i just watch

drowsy quest
#

Good question

#

I don't know either

burnt flame
#

@coral lantern Temporary +1 buff to your computer skill

coral lantern
#

seems good

burnt flame
#

Is anyone here familiar with dynmap in regards to hosting using Apache? I did this on my Spigot (or now Paper) server and it worked just fine, but repeating the process on my SpongeForge server caused things to break. https://github.com/webbukkit/dynmap/issues/2445

gilded nova
#

"apt-get"

burnt flame
#

I didn't update my nickname here. Oops.

#

There, now it's syntactically correct

gilded nova
#

By the way

#

Do u know how to configure UltimateChat to just add a second prefix to a player?

#

With the /lp user info, the player has the group prefix and a second prefix, thats okay

#

But with ultimateChat, I don't know how to configure the local channel to add the second prefix

steel pelican
#

@warm ocean You'd need to use something like %player_name% for the placeholder assuming you have PlaceholderAPI installed.

warm ocean
#

let me check

warm ocean
#

Hey

#

it did not work with the player api

#

does anyone know hoow to get player ranks to work with in game cash and chest commands

burnt flame
#

@warm ocean Look up the Vault placeholders. It has much more that the standard Player placeholders don't provide.

warm ocean
#

can u link?

vocal rivet
warm ocean
#

i already have vault

#

it says %player_name% is not a valid username/uuid im trying to use luck perms in chest commands
to make a shop for ranks

vocal rivet
#

What plugin do you use to run that command?

warm ocean
#

chest commands

#

well @vocal rivet that is the error that pops up

warm ocean
#

when i try to use luck perms to create rank shop

potent prawn
vocal rivet
#

The placeholder is {player} according to the wiki

warm ocean
#

thanks that worked

potent prawn
#

read 👏 the 👏 documentation 👏 for 👏 your 👏 plugins

vocal rivet
#

Haha

prisma stone
#

anyone know of a good play time rewards plugin that isnt PlaytimeRewards by ExoBiTe? That one is pretty buggy

potent prawn
#

this seems to be the most asked for thing atm

prisma stone
#

seems theres a plugin for eveyrthing except that

potent prawn
#

well there are several but they don't seem to work too well

warm ocean
#

i setup a shop where u can buy ranks for ingame cash but there is one problem even though me and others may not have enough for the rank i can still get it is there a way to chage that?

warm ocean
#

plz @warm ocean

#

if u get it

tender anchor
#

guys can someone give me some chats plugin so i can see my prefixes with luckperms

#

thanks

gilded nova
#

rip

#

@tender anchor I use UltimateChat but if u want to use two prefixes, it doesn't works

tender anchor
#

ty

vocal rivet
#

Do you have a bungee network?

tender anchor
#

no

gilded nova
#

booty/20

tender anchor
#

clara is it spigot plugin

#

?

burnt flame
sleek niche
#

VaultChatFormatter works very well, it needs Vault and can also set a chat formaz

#

Or EssentialsXChat if you are already using EssentialsX

tender anchor
#

i have essentialschat

ornate heron
#

EssentialsXchat is good, allows formatting per group and such

#

I recommend it as it is lightweight and binds with EssentialsX

#

Also drtshock is a trustworthy developer

#

Well, the current essentials team is good

drowsy quest
#

@regal ember you’ll need to provide more info

regal ember
#

I found out the issue

fast lichen
#

How can i make it so Buycraft works over all my servers? Like "one connected buycraft"?

potent prawn
#

you usually don't need to if all you are doing is setting a rank

#

i just have it running on one of my servers

#

but i believe you would need to install and set it up for each server you run

fast lichen
#

AHh i only put it into the Bungee server

#

(i'm a absolute empty head when it comes to bungee)

merry fractal
#

I have a question what is better: Bukkit, CraftBukkit, or Spigot?

potent prawn
#

Paper

merry fractal
#

can't use paper on 1.13 creates bugs on my server

potent prawn
#

doesn't on mine ¯_(ツ)_/¯

#

fix the bugs

merry fractal
#

idk i have 50 plugins and idk what to do. XD

potent prawn
#

well you look at the errors

merry fractal
#

also i use 1.13 not 1.13.2

potent prawn
#

... why

#

there's your problem

merry fractal
#

so would moving to 1.13.2 be a problem since all my worlds and plugins are based on 1.13?

potent prawn
#

shouldn't be

#

you are missing out on many bug fixes and optimisations

merry fractal
#

ok im doing the change. Thanks!!

rustic cobalt
#

@merry fractal Did you test paper 1.13.2? how'd it go if you did?

merry fractal
#

haven't tested yet still updating a lot of configs to be kind to spigot atm... going to paper as soon as i deem my server worthy for it.

#

ill do it soon

drowsy quest
#

No real reason to wait tbh

#

In fact it’s better to switch sooner than later so you can detect any potential problems earlier

alpine ether
hybrid loom
#

I kinda want to make my very own Discord <-> Minecraft connection plugin....

#

But so far I basically checked DiscordSRV's way of doing it and still didn't work on a way to load/create seperate files....
So it's not that unique yet....
And I still try to figure out, what would be best way to make an accessible API, while preventing usage of other stuff in the plugin x_x

#

fun.

waxen flame
#

Is that legit @alpine ether? Lol

rustic cobalt
#

You mean, seperating API and impl?

prisma stone
drowsy quest
#

@prisma stone try debugging with verbose

#

!verbose

outer vesselBOT
prisma stone
#

thanks brainstone

#

whats it mean x_x

drowsy quest
#

It shows what permissions are being checked

#

undefined means there is no permission set for it (neither to true or false)

prisma stone
#

i see

#

would that be why its malfunctioning?

potent prawn
#

it's showing you what permission is undefined

#

so you need to set essentials.enchant

prisma stone
#

hm

#

it's set to true now but it's still bugging out (not working on the actual tool)

#

just trying to add sharpness to a sword

drowsy quest
#

That's not on LP then

prisma stone
#

rip

potent prawn
#

maybe restart the server

#

sometimes essentials bugs out when you just add a new permission

alpine ether
#

Never happened to me

#

Do you have plugins that tend to hook into Essentials?

#

That could be the problem

steel roost
#

Also, is there a documentation where I can make my own plugin? (Idea for 1.13):
<required>
/b <message>

Public Chat: [(In Red)Broadcast] <message>

still dirge
#

@steel roost Talk here my dude

#

The Skycade page you linked is exactly what you can setup with LiteBans

steel roost
#

So is it paid?

plain sun
#

@steel roost first time I've been recognised.

steel roost
#

😶

#

First time?

plain sun
#

Litebans is well worth the money you pay.

still dirge
#

Make an account to view it? 🤔

steel roost
#

I'm Broke, I have no money 😶

still dirge
#

Spigot is free to make an account on man.

steel roost
#

Well I know that.

plain sun
#

He can't purchase it though.

#

https://paragonmc.net/bans/
This is another example of a Litebans site.

steel roost
#

Yeah

still dirge
#

There is a similar plugin to LiteBans which is free, but, it's no where near as good (in my opinion)

steel roost
#

Which you're also a staff on

plain sun
#

I'm only staff on Skycade.

steel roost
#

okay

#

So, like is there a plugin that has the features LiteBans does but it's free and has a web interface that I can setup easily with like CSS to make it look custom?

plain sun
#

No

#

Use Litebans

steel roost
#

And how would I setup a MySQL

#

I can't, I'm broke 😛

plain sun
#

MySQL servers are paid. Some server hosts give you a free SQL database with your server hosting.

steel roost
#

For localhost

#

Where I'm hosting my server.

plain sun
#

Not to burst your bubble, but if you're wanting to set up a server for the public, you should not be doing it on localhost.

steel roost
#

I know

#

I have a modded server with Multicraft

potent prawn
#

banmanager is free and has a web interface

#

i use it, it works great

plain sun
#

It requires MySQL?

steel roost
#

Okay, thanks. I've heard of these it's just I was testing on my modded server, but that didn't come with a website so I couldn't do it

#

Can I make custom

#

Like /ban ZippyTheDoggy

#

It shows GUI and has different items/presets, like ban for Speed, which is preset to 30 days automatic?

#

But also a custom like /tempban ZippyTheDoggy 1d Hi

plain sun
#

If you're referring to the system Skycade uses, no.

#

It's custom.

#

There is a plugin that allows GUIs to work with Litebans.

steel roost
#
D = day
MO = month
W = week
S = second (troooooling people)
M = minute
Y = year
#

Okay

#

Banmanager
/tempban ZippyTheDoggy 1w Bans for 1 week and posts to web interface?

#

Does it require mysql

plain sun
#

I would assume so.

#

Research it.

steel roost
#

SAGHSADHFASDFJUHASDJFASDJKFAsdf

#

Okay,

#

MySQL is a pain

plain sun
steel roost
#

So I know how to code custom Discord bots with java. Can I implement mine using the API so when there's a ban, I can do like PlayerBanEvent and it'll post on Discord channel for my server?

plain sun
#

An advanced SQL based ban management system

steel roost
#

I can tell already I'll be asking for alot of help. Sorry.

#

advanced SQL

plain sun
#

It's just a term used to show off.

#

You seem to be wanting a very custom punishment system.

steel roost
#

Kinda.

#

BanManager is red.

plain sun
#

For a localhost server...

#

I think you're being too ambitious.

steel roost
#

Yeah, it's for testing, it will probably be publicised later to my MultiCraft.

#

I totally didn't spell that right.

plain sun
#

But still, how many players are you expecting?

#

Why on earth would you need a GUI?

#

/ban <player> works fine.

steel roost
#

Forget the GUI, it really isn't needed, now that I see.

potent prawn
#

mysql is not that hard really, all you need is to set the credentials and let the plugin do the rest

steel roost
#

Yeah.

#

That's what I don't know how to do.

potent prawn
#

i fear for your future as a minecraft admin then :P

#

that's like, simple stuff

#

just edit your config to add the database details, that's all you need

plain sun
#

I think you should research owning a server a lot more before actually attempting it.

steel roost
#

😐

#

I technically know how to own a server, as I already do, but what I don't know is MySQL

#

And why the plugin is red in plugins list

#

When I downloaded it for 1.12.2

hybrid loom
#

If a plugin shows red -> Console -> Check for errors

#

Simple. As. That.

steel roost
#

[18:23:51 INFO]: [BanManager] Enabling BanManager v5.15.0
[18:23:51 WARN]: [BanManager] Local Database is not enabled, disabling plugin

#

2nd line was yellow

#

But it created config I can change

#

So I enabled local database.

#
debug: false
databases:
  local:
    enabled: true
    host: 127.0.0.1
    port: 3306
    name: local_bans
    user: root
    password: ''
    maxConnections: 10
    useSSL: false
    verifyServerCertificate: false
    leakDetection: 3000
    tables:
      players: bm_players
      playerBans: bm_player_bans
      playerBanRecords: bm_player_ban_records
      playerMutes: bm_player_mutes
      playerMuteRecords: bm_player_mute_records
      playerKicks: bm_player_kicks
      playerNotes: bm_player_notes
      playerHistory: bm_player_history
      playerReports: bm_player_reports
      playerReportLocations: bm_player_report_locations
      playerReportStates: bm_player_report_states
      playerReportCommands: bm_player_report_commands
      playerReportComments: bm_player_report_comments
      playerWarnings: bm_player_warnings
      ipBans: bm_ip_bans
      ipBanRecords: bm_ip_ban_records
      ipMutes: bm_ip_mutes
      ipMuteRecords: bm_ip_mute_records
      ipRangeBans: bm_ip_range_bans
      ipRangeBanRecords: bm_ip_range_ban_records
      rollbacks: bm_rollbacks
      nameBans: bm_name_bans
      nameBanRecords: bm_name_ban_records```
#

Do i have to create all those tables in MySQL?

potent prawn
#

the plugin does this for you

#

like i said, all you do is set the database details like host, name, user, password

#

you should never have to create tables, just the database

steel roost
#

And then I have to install MySQL and setup a database for it.

#

Okayt.

#

Okay.,

#

OKAY.

gilded nova
#

Does anyone know a way to teleport players to a completely random location as they enter an area (say at a fixed point in the spawn area)?

steel roost
#

With a plugin there's WildTP or RandomTP

#

then maybe another plugin for portals where they go through a portal and it runs /rtpo

#

*/rtp

gilded nova
#

I got BetterRTP but not sure if that can do it or not.

steel roost
#

/spreadplayers

#

is a command

#

for my version atleast, 1.12.2

#

But that you specify players, and a range

hybrid loom
#

if you also have worldguard you could let it execute commands, when people enter a region

gilded nova
#

Ah worldguard might be better. It would save plugin space. Ill look into that, Andre.

hybrid loom
#

WorldGuard doesn't random TP you.

#

It only can execute commands when you enter/leave a region afaik

potent prawn
#

but you need an extra plugin for that

#

it's not part of the core worldguard flags

gilded nova
#

Yeah I cannot fnd anything on worldguard random teleport. Might have to use Better RTP.

plain sun
#

You may be able to get a custom plugin that adds in new flags for World Guard. Contact a dev.

steel roost
#

So, I download MySQL.

#

I make a database called local_bans

#

and it auto sets it up?

#
databases:
  local:
    enabled: true
    host: 127.0.0.1
    port: 3306
    name: local_bans
    user: root
    password: 'No thank you, this is private =)'
    maxConnections: 10
    useSSL: false
    verifyServerCertificate: false
    leakDetection: 3000
    tables:```
potent prawn
#

basically, yeah

steel roost
#

I just make a database called local_bans and restart server, and it creates everything? then I'd go to localhost in my browser and bans are there?

#

Where do I download MySQL?

#

On the webpage there's Enterprise Edition

#

nvm I found it

steel roost
#

So I have MySQL WorkBench Downloaded, now what?

#

I have local_bans database added. How do I set the username, password, etc. info that i need to add to the config?

#

It says Model Overview

#

I named it local_bans

#

Under the name it says MySQL Schema

#

Do I add user?

#

@potent prawn

outer vesselBOT
#

Hey ZippyTheDoggy! Please don't tag staff members.

steel roost
#

Oh

#

Sorry Turbo

steel roost
#

What Collation does it need to be in? utf8?

#

Urm...

#

I'm using WAMP to host my database, I made local_bans, restarted server, and all the tables are there. How do I view the page? The default WAMP homepage when I go to localhost goes to the WAMPSERVER homepage.

#

I can't figure out how to view my localhost database for my website. If anyone can help, please @ me as I'll be AFK for a while. Thank you!

potent prawn
#

what plugin are you using

steel roost
#

Banmanager

#

ok now afk wanted to test 1 more thing. Diodn't work tho

rustic cobalt
#

wamp might give you a link in it's UI if it has one, otherwise try adding /phpmyadmin on the end

potent prawn
#

banmanager requires you to set up a web site as the plugin doesn't do this automatically

#

it's changed a lot since i last installed it.

#

uses react which is pretty cool

#

anyway, i'm going to assume you probably have no idea on how to set that up

#

and i'm busy at work so can't help, sorry

steel roost
#

I have localhost

#

But with WAMP I can setup a VHost

#

Or a Virtual Host

#

There's localhost, then I made another which is BanList

#

I want to find the BanList IP address and port(if there is one)

burnt flame
#

If you're setting up your own stack, the ip address and port are whatever you tell it to be.

#

Generally though, your host will give you an IP address, so that's the one you'll use.

hybrid loom
#

@fast lichen This is kinda pirating moviews, which is illegal.

#

1st and only warning

fast lichen
#

k mate if you say so

#

its supposed to be a meme

#

but sure

steel roost
#

I got the thing setup, website and database, but when I do bans, it won't show up on the website

steel roost
#

Recent Bans
Some error occurred during connection Some error occurred during connection
Recent Mutes
Some error occurred during connection Some error occurred during connection
Recent Warnings
Some error occurred during connection Some error occurred during connection

#

At the bottom of the page, it says that

steel roost
#
databases:
  local:
    enabled: true
    host: 127.0.0.1
    port: 3306
    name: local_bans
    user: root
    password: ''
    maxConnections: 10
    useSSL: false
    verifyServerCertificate: false
    leakDetection: 3000
    tables:
      players: bm_players
      playerBans: bm_player_bans
      playerBanRecords: bm_player_ban_records
      playerMutes: bm_player_mutes
      playerMuteRecords: bm_player_mute_records
      playerKicks: bm_player_kicks
      playerNotes: bm_player_notes
      playerHistory: bm_player_history
      playerReports: bm_player_reports
      playerReportLocations: bm_player_report_locations
      playerReportStates: bm_player_report_states
      playerReportCommands: bm_player_report_commands
      playerReportComments: bm_player_report_comments
      playerWarnings: bm_player_warnings
      ipBans: bm_ip_bans
      ipBanRecords: bm_ip_ban_records
      ipMutes: bm_ip_mutes
      ipMuteRecords: bm_ip_mute_records
      ipRangeBans: bm_ip_range_bans
      ipRangeBanRecords: bm_ip_range_ban_records
      rollbacks: bm_rollbacks
      nameBans: bm_name_bans
      nameBanRecords: bm_name_ban_records```
#

For PHPMyAdmin I log in with
User: root
Pass: (I leave empty)

rustic cobalt
#

It doesn't support the php version you've got installed

burnt flame
#

Remember guys, I before E, except when your foreign neighbor Keith receives a beige sleigh pulled by weird caffeinated reindeer from eight weightlifters after a heist. It's weird freight, but it's perfect for a feisty zeitgeist.

steel roost
#

@rustic cobalt What PHP version? I downloaded PHP 7.3.2

#

*and installed PHP 7.3.2

rustic cobalt
#

I don't know, look for what version the method it's complaining about was deprecated and try the build before that

potent prawn
#

i'd go with 7.2.*

steel roost
#

?

potent prawn
#

actually no, it's deprecated as of 7.2

#

so anything before that

steel roost
#
#### Development

In case you want to help us and contribute to the project you need to compile the assets with the assistence of Grunt:

1. Make sure you've installed `node` and `npm`
1. Install Grunt, Bower and Linter and code checker:  
  `npm install -g grunt-cli bower jshint jscs`
1. Install all dependencies:  
  `npm install`
1. Install web libraries:  
  `bower install`
1. Run grunt task to compile assets and start watching for local file changes:  
  `grunt dev`

If you want to commit your changes, exclude the `dev` argument.

Caution: When using the `dev` argument, Grunt won't minify your JS or CSS, so it's easier to debug. Once you run `grunt` (without the `dev`), the files are minified!

### Adjustments so far

* Convert all `.php` files to UTF-8 and add proper EOF
* Support version 5 and up
* Widgets more customizable in settings
* Configurable caching times
* Add debug option to output any SQL query
* Fix "Statistics"
* CSS adjustments
* Option to enable/disable PHP errors
* Default timezone in settings for `date()` functions
* Replaced `mysql_` functions with `mysqli_` ones
* PHP 5.3 compatible
* Bower and Grunt to compile assets and libraries
* Refactor (more information [#16](https://github.com/BanManagement/BanManager-WebUI/issues/16))
* Configurable skin service
* More debug options
* Better impression on first run (PR #53)
* "First run" checks
* Improve error handling for admin authentication (issue #49)
* Improve database performance
* Prettier search filter inputs
* Update checker in "Admin CP"
* Add l10n
* Improve search function
* Bring back tablesorter functionality
* Fix bootstrap label for "Permanent" tags

### Demo

You can find a working demo over here: http://bans.yeahwh.at

### License

[MIT](LICENSE)

### Version

1.5.8
#
  • PHP 5.3 conpatible
#

Do I use 5.3.*?

rustic cobalt
#

No, it's LTS

steel roost
#

?

potent prawn
#

7.1

rustic cobalt
#

if it was deprecated in 7.2, try 7.1, it's still supported for a little while

potent prawn
#

5.6 is no longer supported

rustic cobalt
#

Ideally poke the authors of the software to update it so that it supports 7.2+

steel roost
#

I use WAMPSERVER to host it, I think I can change the PHP version ^-^

#

7.2.14

potent prawn
#

yeah, should be able to

steel roost
#

Is the PHP version it's using

potent prawn
#

i'm curious as to how you got the legacy version of the web UI instead of the latest version

rustic cobalt
#

Used the release, not git

steel roost
#

It said
PHP CLI = 7.1.26 WEB = 7.2.14

#

WampServer

potent prawn
#

ahh i didn't realise the releases were 3 years old

rustic cobalt
#

^^ you probably wanna download the newer version, uses node instead of a php app

steel roost
#

PHP CLI = 7.1.26 WEB = 7.2.14
How can I fix this for WampServer, if you know how

rustic cobalt
#

Might need to update some configs, but the new web UI doesn't work using php

steel roost
#

😛

rustic cobalt
#

You need to grab the new version and node instead of using a 3 year old version

steel roost
#

It has .php in it though

#

How do I check what version of node I have? npm version?

#

I use Node to make my discord bots.

rustic cobalt
#

node version, iirc

#

npm is just a package manager

steel roost
#

What's the link to the WebUI that uses node?

potent prawn
steel roost
#

5.6.0

#

Is my Node version

potent prawn
#

that's pretty old

steel roost
#

I installed it months ago

rustic cobalt
#

months ago that was the latest LTS or something iirc

steel roost
#

It uses 10.15.1 LTS?

potent prawn
#

latest LTS is 10.15

steel roost
#

Okay

#

And the Node.JS BanManager-WebUI uses that?

#

Do I need to setup database and stuff?

potent prawn
#

yeah it looks like it uses graphQL which i know nothing about

steel roost
#

Ugh

#

Idk what that is either

#

I don't get this...

#

I finished downloading Node 10.15.1

#

What do I run in the banmanager UI

#

@rustic cobalt

rustic cobalt
#

I don't use windows

#

Basically, as per the dev section should start it

steel roost
#

?

#

And BanManager is spamming my console

steel roost
#

@rustic cobalt How do I run the website tho

#

For BanManager w/ Node.js

rustic cobalt
#

using npm, as per the readme of that page

steel roost
#

doesn't say how to run it

#
TBD

#### Development

npm install
API_HOST=http://localhost:3001 node server.js


### [Demo](https://demo.banmanagement.com)

### License

[MIT](LICENSE)
#

and in my folder with the BanManager node.js files, i do node server.js and it doesn't work

#

Cannot find module 'koa'

#
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'koa'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> ((location of BanManager Files)/server.js:1:75)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)```
#

😦

potent prawn
#

did you run npm install

steel roost
#

Urm

#

Yeah

#

found 174 vulnerabilities (74 low, 99 moderate, 1 high)
run npm audit fix to fix them, or npm audit for details

#

DONE Compiled secussfully in 9589ms

bleak rose
#

holy vulns

steel roost
#

Soooo

#

Still localhost:3301 doesn't work

#

Server

#

is up

#

Server.js is running when it said DONE compuled successfully in 9569ms
localhost & localhost:3001 isn't working

#

Ugh now the plugin isn't working

#

What does it mean by
node install
API_HOST=http://localhost:3001 node server.js

?

I already did node install

#

@rustic cobalt ^^^ ?

rustic cobalt
#

it says npm install, once you do that you can run the server by running server.js with node

#

}).listen(process.env.PORT || 3000)

burnt flame
#

Regarding https://github.com/lucko/LuckPermsWeb/issues/34, why don't we just change to a flat file system where each group and user are represented by a different folder and each node in that folder has a text file that represents it. Then we can use git to track.

Oh, and for Max Payne, we should definitely use some proprietary format that is just ascii with a byte shift so everything in the files is scrambled. lul

#

Ok I'll stop shitposting now. I need to sit down and design a new app or something. I miss coding.

#

Maybe I'll do that VentureChat port I've been planning...

steel roost
#

Thanks for everyone who helped. I've stopped working on this because I realized that my actual server host that I was going to set this up on won't support it.

burnt flame
#

This will give you more information

lilac kayak
#

my

#

k

#

come

gilded nova
#

Anyone else have a server but cannot use it until the 1.14 update arrives?

burnt flame
#

No, but I did run into something similar where I had a 1.13.2 server that I downgraded to a 1.12.2 server so I could run SpongeForge.

vocal rivet
#

We stay at the same version and just update ViaVersion

ornate heron
#

Hey everyone. I am currently creating a head database for my own server but i am running into an issue, The setOwner method is deprecated and i cannot use it anymore. And i don't know how to fix it, Anyone able to help me out?

#

Using 1.13.2 Spigot API, This is the code

#

SkullMeta headmeta = (SkullMeta) head.getItemMeta();
headmeta.setDisplayName(headName);
headmeta.setOwner(headOwner);

#

Nevermind that ^ It is still working apparently 😛

burnt flame
#

Deprecated means that functionality (usually) still works however there's an alternate way of doing it now. For instance, player.getHand() was replaced with player.getInventory().getRightHand(). Typically in newer versions of the API, the old method call will just be aliased to the new method call and a deprecated flag is placed on the old one to warn developers that this particular line of code may not exist in future versions. Best practice says that, for new development, you should find out what the new way of doing it is and use that unless you have a particular reason not to.

vocal rivet
ornate heron
#

@burnt flame Thanks for the detailed info! 😄

rain edge
vocal rivet
#

Your server is missing important libraries. Try re-installing forge

rain edge
#

i have the forge jar in there already.

#

it wont make a librarie folder??

rain warren
#

Hello , is there any PlaceHolders that shows number of player in certain group or have a certain permission

burnt flame
lilac kayak
#

Does anybody know how to setup Pterodactyl on Ubuntu 18.04 LTS?

#

I'm getting SO MANY errors.

vocal rivet
#

I do

lilac kayak
#

Okay so whenever I do mysql -u root -p I get ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

vocal rivet
#

thats a MySQL related error, type
service mysql-server status
or
service mariadb-server status

lilac kayak
#

I reset my system because of the errors I'm getting.

#

So I don't currently have MariaDB/MySQL installed

rustic cobalt
#

I don't currently have MariaDB/MySQL installed

#

Can't connect to local MySQL server

hybrid loom
#

...

vocal rivet
#

seriously

lilac kayak
#

@rustic cobalt I said I reset my system

rustic cobalt
#

You should probably go read the installation instructions properly

lilac kayak
#

It was before I reset my system

#

Ignorant

vocal rivet
#

and you wonder why MySQL cannot connect to a non existing mysql server?

#

ah ok

lilac kayak
#

I said that it was an error before I reset my system

#

my god

vocal rivet
#

I understand what you mean

lilac kayak
#

i hope so

rustic cobalt
#

So, you're currently asking us for help with an issue that isn't an issue right now

lilac kayak
#

omg

#

I said that I just reset my system because of all the errors I'm receiving, including that MySQL one.

#

I want to know the reasoning of that error.

#

Understand?

rustic cobalt
#

The reason for the error is, either you don't have it running, you don't have it installed, or you configured something in a way it didn't expect

vocal rivet
#

The reason was most likely that your MySQL server crashed

lilac kayak
#

@vocal rivet yeah because every time I do service mysql start it tells me that it's starting, but then I get a [Fail].

vocal rivet
#

did you read the system journal for errors?

lilac kayak
#

i tried to get some help from the pterodactyl discord but they couldn't help me solve it

#

what's that?

vocal rivet
#

The System log, it should include why it failed to start

lilac kayak
vocal rivet
#

journalctl -xe

#

that prints you a log where it should say why the server failed to start

#

I guess you found the issue or it resolved itself

hybrid loom
#

...or he just gave up

lilac kayak
#
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
-- No entries --```
#

That's all I got.

#

If that's any help for you...

rustic cobalt
#

Are you using WSL?

#

if so, I have no idea how much WSL supports, but it's 100% not enough for a pterodactyl to work on it

vocal rivet
#

Nah, WSL should work just fine

lilac kayak
#

Yeah

#

I'm using WSL

rustic cobalt
#

The daemon at least doesn't work on WSL

lilac kayak
#

So what's the solution then?

rustic cobalt
#

use Linux, basically

lilac kayak
#

well in wsl you can use every single thing linux can do, right?

#

it says on the description

#

some people even install wsl on their windows server

rustic cobalt
#

No

vocal rivet
#

Nah, that doesnt work so well right now, it crashes the windows server in most of the cases

rustic cobalt
#

WSL doesn't support sockets, for example

#

oh, they might have fixed sockets a good while back

vocal rivet
#

I will try reproduce the error on a Ubuntu WSL

lilac kayak
#

yeah please

#

all i did was follow the pterodactyl instructions

vocal rivet
#

give me a few minutes

lilac kayak
#

take your time

#

wsl supports everything

#

it's a full linux command line

rustic cobalt
#

It's not

vocal rivet
#

The kernel works different

rustic cobalt
#

Yes, MS has a linux subsystem in their kernel, but it's hardly 100% feature complete

lilac kayak
#

So how's the WSL been going?

#

@rustic cobalt "The Windows Subsystem for Linux lets developers run GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a virtual machine."

#

Most of the Linux commands

rustic cobalt
#

and ideally it lets you run everything that linux runs without issues

lilac kayak
#

"including most command-line tools, utilities, and applications "

rustic cobalt
#

Shamefully, WSL is not at that part yet, and while they're getting a large amount of progress on it, it's still far from perfect

lilac kayak
#

So I guess no Pterodactyl for me?

vocal rivet
#

Seems like it, it has issues with MariaDB, whyever that is. Until now MariaDB was a supported WSL feature

rustic cobalt
#

You might need to modify the mariadb config and disable the socket if it's enabled

#

See if that lets it run

lilac kayak
#

I already have MariaDB successfully setup on my host machine, though.

vocal rivet
#

Funny thing: WHile installing it decided to disable any logging functionality

lilac kayak
#

Couldn't I just listen it there?

vocal rivet
#

Yes that also works

lilac kayak
#

well it failed to connect

#

i have 8806 portforwarded

vocal rivet
#

3306 ...

lilac kayak
#

yeah that

#

3306

rustic cobalt
#

I have no idea how WSL networking works

vocal rivet
#

It uses some kind of shared network adapter functionality and the WSL does not get a dedicated IP

lilac kayak
#

so i did mysql -u root -h <my public ip address>:3306 -p

vocal rivet
#

thats btw wrong

lilac kayak
#

yeah i thought so lol

rustic cobalt
#

Worth noting that services like mysql these days tend to be configured by default in a way that they're not accessible to the outside world

#

use -h 127.0.0.1

vocal rivet
#
mysql -u {username} -p {password} \
    -h {remote server ip or name} -P {port} \
    -D {DB name}
#

so basically you should use:
mysql -u root -p -h <Host IP> -P 3306

lilac kayak
#

do i use my ipv4 address of my host machine

#

or my public one

vocal rivet
#

the IPv4 of your host machine

lilac kayak
#

do i need to port forward it?

vocal rivet
#

The firewall of your host machine needs to not block the port

lilac kayak
#

it's outbound, right?

#

yeah

#

ok

vocal rivet
#

Tho you should consider not using WSL, but a VM. that would fix all problems that occured

lilac kayak
#

It worked

#

thanks for the help

vocal rivet
#

anytime, also I know what you mean about the Pter discord, they are not very helpfull.

rustic cobalt
#

Stopped keeping my eye on their discord pretty much tbh

vocal rivet
#

its like the Microsoft support XD
"Have you tried turning it off and back on again"
"Sir for the 3rd time, I am having issues with my E-Mail account and not with my Windows itself"

#

I actually had that convo with the MS support

rustic cobalt
lilac kayak
#

wait is localhost all ipv4 addresses?

rustic cobalt
lilac kayak
#

so i do create user panel@'localhost'

rustic cobalt
#

% is for all hosts

vocal rivet
#

^

rustic cobalt
#

worth noting that localhost in mysql is treated specially, I have no idea how that equates over in windows, as localhost is our socket connection over in *nix land

vocal rivet
#

also the joke is great

lilac kayak
#

great, now i'm getting another error

vocal rivet
#

yes?

lilac kayak
#

so i did use panel;

#

then create user pterodactyl@'%' identified by (mypassword)

#

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'create user 'pterodactyl'@'%' identified by 'majed1969'' at line 2

#

i got that

vocal rivet
#

it says the password btw

lilac kayak
#

it's not port forwarded

#

so you won't access

vocal rivet
#

dont forget the ; at the end of each line

#

CREATE USER 'pterodactyl'@'%' IDENTIFIED BY 'somePassword';

eternal eagle
#

I have a problem.
How do I add a prefix to a nickname in the plugin?

lilac kayak
#

oh i did ''

#

'%'

rustic cobalt
#

That's basically up to your chat plugin

vocal rivet
#

is your server mariadb or mysql, they have small syntax differences

#

very smol

lilac kayak
#

mariadb

#

it's alright btw

vocal rivet
#

so it worked now?

lilac kayak
#
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Package operations: 70 installs, 0 updates, 0 removals


  [RuntimeException]
  /var/www/pterodactyl/vendor does not exist and could not be created.


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...

marwan_amireh@DESKTOP-09ISR34:/var/www/pterodactyl$ composer install --no-dev --optimize-autoloader
Loading composer repositories with package information
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Package operations: 70 installs, 0 updates, 0 removals


  [RuntimeException]
  /var/www/pterodactyl/vendor does not exist and could not be created.


install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...```
#

looks like i'm gonna be here all day...

#

i did composer install --no-dev --optimize-autoloader

rustic cobalt
#

You'll need to sudo

lilac kayak
#

it tells me i shouldn't sudo composer

vocal rivet
#

This would be easier if you would use VMware, Virtual Box or Hyper-V ^~^

rustic cobalt
#

it tells you that you shouldn't, but ti should still run fine

#

but ^

lilac kayak
rustic cobalt
#

I don't even know what you're still going down this route, the daemon doesn't work on windows

lilac kayak
#

I'll just use Hyper-V

#

thank god i have win 10 pro

vocal rivet
#

^^

#

I would suggest btw using Debian, it works the same as ubuntu

lilac kayak
#

Isn't Ubuntu better for beginners?

rustic cobalt
#

In my experience, ubuntu tends to baby you with a few things, but it's not all that much different

vocal rivet
#

depends what you are doing
Ubuntu desktop is great for learners

But since you use console based anyway it does not make a huge difference what you use

rustic cobalt
#

Just pick whatever you're comfortable with, it really doesn't matter

vocal rivet
lilac kayak
#

Is that basically WSL but full Linux?

vocal rivet
#

?

rustic cobalt
#

That's a proper linux distro

vocal rivet
#

Yeah

lilac kayak
#

like is that just the command line

#

ubuntu server

vocal rivet
#

Yes

lilac kayak
#

what about debian

rustic cobalt
#

same for bebian

#

*debian

rustic cobalt
#

no real reason to use a GUI, especially with stuff like this, a UI just really slows you down

lilac kayak
#

so then I'll use debian 8 for my future vps

#

making one

vocal rivet
#

Sudo is not installed by default and you need to install and configure it manually

lilac kayak
rustic cobalt
#

ptero expects that you're going to host it in a static location

lilac kayak
#

do i have ssl or not?

vocal rivet
#

no

rustic cobalt
#

You basically need to specify where on the web you're installing it, you probably go grab a domain name if you can for sanity reasons

lilac kayak
rustic cobalt
#

I'm going to guess, you configured it to use redis but you don't have redis

lilac kayak
#

yeah you're right

vocal rivet
#

Gotta love Microsoft
"MariaDB wont start"
Responce:
"Install a older version"

... thats the responce and solution for a WSL github issue

rustic cobalt
#

lol, I remember fighting with systemd for mariadb, had some issues because I run that instance under LXC

vocal rivet
#

I found the error, but the solution under it isnt working

2019-02-22 14:08:05 7fd417770c80 InnoDB: Error: Linux Native AIO interface is not supported on this platform. Please check your OS documentation and install appropriate binary of InnoDB.
InnoDB: You can disable Linux Native AIO by setting innodb_use_native_aio = 0 in my.cnf

this is so strange, mariadb did work under wsl, wth did they do? XD

rustic cobalt
#

They used something that isn't available under windows

#

Async I/O

vocal rivet
#

I did disable it but it still didn't work. Well whatever, I dont use WSL anyway besides for testing XD

rustic cobalt
#

I have it better

#

I just don't use windows 😛 (Outside of the odd game here and there)

vocal rivet
#

I use Windows but have endless VMs for testing and such. But my Laptop is another case, when I start it it has a identity crisis.

Currently installed as dual boot:

  • Windows 10 Enterprise
  • Windows 7 Ultimate
  • Debian 9
  • Ubuntu 18.04
  • MacOSX High Sierra

tried also installing alpine linux but the dual boot instructions didn't work

rustic cobalt
#

Windows just gives me too many headaches, but, linux just isn't ready for full time usage for me

lilac kayak
#

I need help with the Create Queue Worker part.

rustic cobalt
#

(also, somebody created a brand new issue on an issue tracker for something which their last report was still open...)

vocal rivet
#

Never had real issues with windows or Windows server
tho ... my classmates in our Windows server lessons destroy their VMs like 3 times a week which is why I finished all tasks for the rest of the year and just walk around helping others with their servers

#

are you still using WSL? @lilac kayak

lilac kayak
#

everything worked fine lol

vocal rivet
#

This is where it won't
the que worker uses Docker to work which is not able to run on a WSL kernel

#

oh wait

lilac kayak
vocal rivet
#

I am eating dirt if that really works

rustic cobalt
#

panel should work fine on windows, don't think that the queue worker uses docker, afaik it should be talking with the daemons if anything outside of the panel

lilac kayak
vocal rivet
#

Yeah it was the deamon, I mixed the daemon and the que worker up

lilac kayak
#

So?

rustic cobalt
#

The last guide you linked is literally "run docker in a VM"

lilac kayak
#

didn't it say to a wsl?

vocal rivet
#

I tested it, docker does not run because of a Kernel incompability

lilac kayak
#

are you sure that step uses docker?

rustic cobalt
#

it's basically lets you use the docker userspace utilities on WSL

#

You end up telling those userspace utils to connect to the "remote" docker daemon

#

Seriously, just use a supported OS

#

You'd be done by now

vocal rivet
#

Thats what I thought

lilac kayak
#

...

#

what iso should i download

#

ubuntu 18.04 lts server?

vocal rivet
#

yes

rustic cobalt
#

that should work fine

vocal rivet
#

I sent you the download link

lilac kayak
#

well i want to use hyper-v but i'm gonna have to assign cores into it

#

i need my cores

vocal rivet
#

btw:
nano /etc/systemd/system/pteroq.service
then copy and paste this:

# Pterodactyl Queue Worker File
# ----------------------------------

[Unit]
Description=Pterodactyl Queue Worker
After=redis-server.service

[Service]
# On some systems the user and group might be different.
# Some systems use `apache` or `nginx` as the user and group.
User=www-data
Group=www-data
Restart=always
ExecStart=/usr/bin/php /var/www/pterodactyl/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3

[Install]
WantedBy=multi-user.target

then:
sudo systemctl enable --now pteroq.service

They don't use the cores like that, you just share the ressources with it. the cores do not become unavaiable

#

imagine a glass of water with 2 straws, just because one drinks from it doesnt mean the other cant

#

You just tell it in how much glasses it can stick a straw in

lilac kayak
#
System has not been booted with systemd as init system (PID 1). Can't operate.```
#

yeah

#

...

rustic cobalt
#

lol

lilac kayak
#

ik

rustic cobalt
#

if the service command has been working, try that

lilac kayak
#

it did work lol

rustic cobalt
#

That;s just WSL and systemd being ever so loving with one another

lilac kayak
#

a mod in the pterodactyl discord said that he thinks it's possible to setup pterodactyl under wsl

vocal rivet
#

You need to look at the efford to payout value.
is the efford to try getting it to run on WSL really worth the payout? When a VM could just do the same with a lot less efford?

#

also because you need to connect to external services all over in order to get it to work, I would say: No, it does not work with WSL, you have to use a lot of external ressources to get it to work

lilac kayak
#

now it's 25 mins lol

vocal rivet
#

Eh, might be because it gave me the German download mirror

#

oh wait, no it didnt

rustic cobalt
#

if you by any chance have a decent connection, use the net installer ISOs

#

They're much smaller and install the latest packages, saves you having to apt upgrade at the end of the install

lilac kayak
#

it's kinda frustrating how everything worked great, until the last step it didn't lol

vocal rivet
#

because most of the steps were related to the webserver and php which is working just fine with WSL

#

but the last ones are with Docker, MySQL etc which require a real linux kernel and not the WSL one

#

I also will have much fun now

lilac kayak
vocal rivet
#

looks like a tasty one

lilac kayak
#

does it support docker?

vocal rivet
#

Maybe

#

😛

#

OH NO! UBLOCK DIDN't BLOCK A AD. THIS IS THE END OF THE WORLD runs around screaming

lilac kayak
#

lol ublock?

#

you know that some adverts pay ublock to unblock ads?

vocal rivet
#

UBlock origins, and that actually were Adblock and Adblock Plus

lilac kayak
#

so the og one is ublock?

vocal rivet
#

og?

#

This was the first ad I saw in 2 years since I installed UBlock Origins

rustic cobalt
#

ABP used to have the allowance for "non distracting ads"

#

and I really have no problem with that

#

Only reason I block ads these days it because they're either stupidly annoying or excessive, I don't mind disabling it on sites such as aikars timings website, or say forges website, for ex

vocal rivet
#

I block them because they break a lot of websites and cause this weird scroll issues XP

#

also those 2 minute not skippable ads were the thing on YT when I got Ublock Origins

lilac kayak
#

you shouldn't be using an adblocker btw

#

especially on youtube

#

it disrupts content creators

vocal rivet
#

Google AdSense does not give you any money at all unless someone presses on the ads anyway, so it makes no difference at all. And I preffer not having to wait 2 minutes until I can watch a video. Also what about YT Premium? Content Creators also dont earn anything from those earnings So I preffer the free alternative to YT premium XP

rustic cobalt
#

I think I avoided adblock on youtube for a while, and then I got fed up with the fact that you literally cannot enjoy music with it without constant interruptions :/

vocal rivet
#

exactly

minor socket
#

I am using browser bultin adblocker

#

And it works GWcorbinTopKek

hybrid loom
#

I Use NoBlock....

#

Aka. No AdBlocker at all

vocal rivet
#

:P

minor socket
#

👏

slender prism
#

Google diverts partial funds from the YouTube premium users based on what monetized videos they watch...that's how that works.

Also people pay for impressions as well, if you had 10,000 people who watched but never clicked you wouldn't make as much, but it made an impression and you still get something for it.

eternal eagle
#

Hi, I have a problem with permits. Adds permits to the rank, but its not asking for quick help: /

lilac kayak
#

@eternal eagle what?

eternal eagle
#

I added permission to the rank. But getting into them is not

lilac kayak
#

@eternal eagle I don't understand your English. Can you please say it in another way?

eternal eagle
#

Permission that I added to the rank do not work

#

Is ok?

lilac kayak
#

Are you in the rank?

#

lp user amaterasualright parent add Rank

eternal eagle
#

I have the rank of admin but I change to player. Nothing happens

lilac kayak
#

You need to be more specific.

eternal eagle
#

will I write to you private okay?

lilac kayak
#

stay here it's better

eternal eagle
#

okay

#

i get you screen okay?

lilac kayak
#

Yeah I'll screenshare you

eternal eagle
lilac kayak
#

so you can't access any permission?

#

wait

#

do you have * in hampion

eternal eagle
#

I get permission.* for hampion

#

And normal players dont have any permission

#

and when he gives the rank, he remains the admin

lilac kayak
#

because hampion has *

#

you need to do lp user hampion permission unset *

eternal eagle
lilac kayak
#

ill take to you in pm

hybrid loom
#

Sponge doesn't support the * permission

#

Their system is slightly different.
Like f.e. if I want to have all permissions for LP, I give myself luckperms

drowsy quest
#

@hybrid loom yes it does. Not natively, but LP supports it even on Sponge

hybrid loom
#

afaik did Luck mention a thing

drowsy quest
#

Though you should use Sponge style wildcards instead

#

I mean I use * style wildcards on my server

sleek niche
#

So just bringing up #support-1 to here:
WorldGuard is a plugin in which you can specify regions and protect them, it is by the same dev as WorldEdit.
For specifc regions you can specify settings (like no fall damage), there is the _global_ region which is the global world in which you are (you can make different worlds)

vocal rivet
sleek niche
#

Because we are here at #general something dumb what happened to me today with LuckPerms:
We were reinstalling or root server, because someone (I) just did something with apache and mysql wrong and then I noticed "Hey! Our perms were saved in the database, but the database was deleted". Atleast I know what to do today

vocal rivet
#

outch

#

No Database backup?

sleek niche
#

No, no one, the latest export was like 20 days ago

#

Buuuut we are not public and I didn't did much perms before, so all okay

vocal rivet
#

You should configure a scheduled MySQLDump every week

sleek niche
#

Will inform me about that definitly, don't work very much with MySQL, basicly just to save Plugin Data, and I can create a database, so I didn't really informed me too much about it

median vault
#

Thanks Rainbow Dash for the WorldGuard info. I'm going to launch my test server and give that a try right now.

#

Thanks also to Tobi.

vocal rivet
median vault
#

I really should take some classes on MySQL .... I know next to nothing about it, other than that it's a database and how to install it. Beyond that ... nada.

vocal rivet
#

0 12 * * 0 mysqldump > "$(date +'%m/%d/%Y').sql" >/dev/null 2>&1
the fitting crontab so it does it every Sunday at noon

#

Tho you need to modify 2 things.

  1. the save location
  2. the login information 😄
sleek niche
#

The reason why I "destroyed" apache and MySQL was more because our hoster had MySQL already installed, I didn't know that and then I reinstalled phpmyadmin and apache 3 times...., I am never doing this again, felt badly, shame come over me

median vault
#

So, what is your opinion on EssentialsX's AntiBuild? I have both it and WorldGuard, but I'm trying to simplify things and I'm wondering if all I really need is just WorldGuard by itself without AntiBuild.

vocal rivet
#

Everyone makes mistakes ^^

I actually destroyed the whole filesystem on linux because I tried to change a permission ^^'

#

You don't really need antibuild its very limited compared to WorldGuard

median vault
#

Ya, don't feel bad. I have a WSUS server that's completely down at work right now because yours truly executed a PowerShell command wrong.

#

OK, I'll ditch AntiBuild.

vocal rivet
#

I did this:
chown -R pterodactyl:pterodactyl .*
see the issue is this allso means .. ( a folder up ) and then in that folder also .. and . also means the current location as well as all sub locations so .....

sleek niche
#

I destroyed the whole graphical interface because.... I just pressed a button and yeee, can't close anything, can't open anything, very bad

median vault
#

Ya, that '-R' has gotten me in big trouble many times. Great when you need it ... but a world of hurt if you mess it up.

sleek niche
#

I maybe could just reinstall the interface, but we were moving to another host in the same time, I mean 3 cores and 4 or 6 GB RAM more for basicly 3€ more is not expensive

vocal rivet
#

But trial and error teached me a lot of things, with experimenting with software I now can administrate:

  • Debian Linux
  • Ubuntu Linux
  • Alpine Linux
  • Windows Client from 1 up to 10 ( Yes I tested Windows 1 )
  • Windows Server 2000 - 2019
median vault
#

I'm OK with Debian / Ubuntu - especially since Ubuntu is based off Debian. My favorite distro (because it's what I learned in college) is CentOS. That's pretty much Redhat without the 'Redhat'.

#

I'

#

m biased to CentOS though because you tend to favor what you know the best.

vocal rivet
#

I like Alpine Linux because its so smoll

median vault
#

I haven't heard of Alpine before, TBH.

vocal rivet
#

Alpine is the most common Docker backend right now
because Alpine were just 10-60 MB for the base system I think?

median vault
#

MacOS I hate. iPads, I hate even more. iPhone, I hate the most. My personal opinions.

#

Wow, that IS small.

vocal rivet
#

and it still has the full functionality like all other Linux distros

median vault
#

I don't use Docker at work because it doesn't play well on a server already running another hypervisor (Hyper-V in my case.)

vocal rivet
#

except people develop their software so it can just run on a specific linux distro XP

median vault
#

I'm going to have to figure it out though because the newest iterations of MineOS are Docker only.

vocal rivet
#

My Monster has Docker for Windows and Hyper-V installed right now

median vault
#

And they don't conflict?

#

Was it a royal PITA to get them to share the same system?

vocal rivet
#

Docker for windows uses Hyper-V to run its linux based containers

median vault
#

Really? When I tried to install it last year it wanted to use VirtualBox.

#

Maybe they updated it or something.

vocal rivet
#

It uses the current installed Virtualisation

#

Everything works basically

median vault
#

Hmm. Well that right there gives me good reason to give it another go then.

vocal rivet
#

VMWare, VBox, Hyper-V etc.

median vault
#

Especially if it'll play nicely with my existing virtual servers in Hyper-V.

vocal rivet
#

Gimme a second to start my monster to show ya something :3

median vault
#

aight ... I'll keep an eye out, going to check something in my server right quick.

vocal rivet
#

kk

#

My monster 😃

median vault
#

Niiice.

rustic cobalt
#

Too bad it's running windows, almost feel sorry for it

#

runs

vocal rivet
#

HP DL380 G6
2x Xeon E5530
96 Gb DDR3 ECC RAM
2x 70 Gb SAS Drives in a Raid-1
1x 140 Gb SAS Drive
1x 1Tb HDD Drive
4x 1GBit Network adapters
Windows Server 2016 Datacenter
( Soon 2019 Datacenter )

and its a Home Server for testing and development purposes

median vault
#

How do you paste images in?

vocal rivet
#

it runs windows server because of the active directory and the integration into the home network

#

Hm?

#

Drag and drop

median vault
#

-.-

#

Figures it'd be that easy.....

sleek niche
#

Drag drop or click on the + icon

median vault
vocal rivet
#

I got that monster for 250€ because it exceeded the 5 Year run limit

median vault
#

That's one of 6 servers I manage at work. This one runs three VMs 99% of the time.

vocal rivet
#

I would love to manage a bigger scale

#

XP

#

I actually had someone that asked me to become their System Administrator, but after a few failed meetings ( failed on their side, they showed up way too late ) it kinda fell under the table XP

median vault
#

Check around with your local charter schools. Sometimes they need skilled workers. They don't pay as much ... because they're charter schools with limited budgets ... but you can usually get a lot of freedom with exactly what you want to do with the network and equipment. (Generally speaking.) It also doesn't have the huge stress of working for a huge datacenter or a bank or something like that.

#

That's what I love about my job - the freedom. I pretty much choose whatever servers, switches, routers, etc. that I want ... and send the school the bill.

vocal rivet
#

The School I am at right now has the most incompetent system Administrator ever

median vault
#

But I treat them really right - they got top-of-the-line for their dollar.

#

*get

vocal rivet
#

If the job would have gone trough I would have made 5000€ a month

median vault
#

Honestly, that's what freaking kills me is how many incompetent sysadmins there are. Seems like 85% of places I hear about say they don't care for their IT person.

#

Ohhh ... derp on me. You might not have charter schools across the pond.

#

And you don't have to know everything there is to know about I.T. to be competent ... that's the worst part.

vocal rivet
#

The Admin crashed our VM server and wasnt able to start it up again, untill I pointed out that the VM Worker is not crashed but in a state of crash ( System thinks it runns but it is unresponsive ) after that he restarted the service and as you guessed: The VM server worked again

#

2 hours for that

median vault
#

lol ... your guy gets the easy crap.

#

My stuff is like, "Whenever I play a DVD in Windows Media Player, I get a blue screen."

#

VLC Player it worked just fine, no love in Media Player.

#

The cause: a bad graphics card. Media Player uses hardware acceleration and VLC (at that time) didn't.

vocal rivet
#

Or how do you prevent Students from installing random shit on the Computers? Ad DS? Naahhh that would be to easy. Install a software that slows down the computers like hell and restores the system on every startup

median vault
#

DeepFreeze?! Hell no. I canned that program within my first year. Completely useless.

vocal rivet
#

HDGuard

median vault
#

Probably the same thing. I'm not even sure if DeepFreeze still exists anymore. They used it at my college. It sucked.

vocal rivet
#

It constantly breaks the running OS and takes more then half of the computers avaiable ressources

#

Also we had that 2 times I know of now:
He forgot his password and locked himself out

median vault
#

The issue we had at work was Windows Update. You'd get a HUGE pile of updates. The computer would download and install them all. (Bogging the system down majorly in the process.) Next reboot .... do it all over again.

#

I ditched Deep Freeze, implemented Group Policy, and set up a WSUS server. Problem fixed (and how it should have been done the first time around ....)

vocal rivet
#

Thats why you should limit that shit using the Group Policies of the AD DS instead of using such bad software, its not like one is safer then the other, HDGuard is easily destroyed by using a Linux stick

#

But guess what?
I made a few suggestions to improove the school network, do you know what I got for that?

median vault
#

Not on our systems. UEFI (BIOS) are all locked with passwords - including the boot menu key. The only two boot options are PXE Network boot and internal HDD.

vocal rivet
#

Not at our school, all bioses are unlocked

median vault
#

{face-desk}

#

If I ever move across the pond ... PLEASE tell me the name of that school so I make sure I never apply for a job there! I do not want to clean up that mess - no way in hell.

vocal rivet
#

Imagine being a IT School and having 30 It Experts sitting around in a room and have that huge volurnabilities

#

Lüttfeld Berufskolleg

median vault
#

You know, that's actually a trend that I see a lot though - schools usually have really bad sysadmins.

#

To be fair though - they can't afford really good ones is why that's the case. If I went to work for anyplace other than a school, I'd easily make triple what I make now.

vocal rivet
#

When I made a few suggestions I just got told: "You have no idea what you are talking about"
I made fair points with examples and shit to show how that would improove our network XD

median vault
#

But, I genuinely love my job. I love coming to work and seeing artwork the kids did, or projects they're working on. I dunno ... I just like the environment.

#

Ya, I'm not surprised. Lots of net admins get this "Holier than Thou" attitude sometimes. I try really hard to never get that attitude.

vocal rivet
#

And when the System Administrator has such a nice punchable face in addition XD

#

But I was a a hole to him

hybrid loom
#

"If you enjoy your work, then you don't work a single time"

vocal rivet
#

Reported the school for GDPR violations, they had to pay a huge fine

median vault
#

Take a photo of him (or her) ... print it out ... and throw darts at it. Bonus points if you can have a few drinks and still hit the target. (If not, just print it bigger next time.)

#

Andre_601 - That's very true!

vocal rivet
#

Our old privacy policy:
"Wir befolgen das Datenshutzgesetz von NRW"
translation:
"We follow the Privacy law of NRW"
that was the whole privacy policy XD

median vault
#

lol ... we're only a K-8 school and our privacy policy takes up like, 3 whole pages of our handbook (what we call our policy book.)

#

Crap ... you reminded me that I have to review the policies in there. Not one of my more favorite parts of the job.

vocal rivet
#

Mine does too XP
( btw the reason I know stuff like what is LTSB and LTSC is because I run my own Non-Profit business )

median vault
#

I figured you were either in the business or in school (or both.)

#

I went to a 2-year tech college (a really, really awesome one - no bias intended) and they gave me an awesome foundation. The rest I've learned by doing it - breaking it - and then fixing it.

vocal rivet
#

It is a IT School ( 13th Grade ) its more like a specialized graduation that says "Hey he knows IT stuff"