pterodactyl / whmcs Goto Github PK
View Code? Open in Web Editor NEWWHMCS Module for Pterodactyl (v0.7.3 and higher)
License: MIT License
WHMCS Module for Pterodactyl (v0.7.3 and higher)
License: MIT License
Can i set te fivem licen for pterodactyl whit fivem egg
Pterodacyl isnt sending emails with client login info is there a template i need or something or am i just being stupid im running panel version 0.7.17
Add the $param "Server Slots" to let customers pay by slots.
Hey, I am trying to install the WHMCS module, but I cannot add the server. It gives this error in the panel logs: [2020-07-19 14:17:52] production.ERROR: ErrorException: file_put_contents(/var/www/pterodactyl/storage/framework/cache/data/54/7e/547e8233c20e047bc2a38d4c6cf8621b8ce3c49c): failed to open stream: No such file or directory in /var/www/pterodactyl/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122
. I also checked, and this file indeed does not exist. I'm not sure what is causing the problem. Please do help. Thank you! 😄
"This password reset token is invalid."
Anyone know why every password reset token is instantly invalid?
I want to request a function to add a direct login button to the user and Admin panels. The buttons directly connects you to the panel and automatically logs you in.
Adding login credentials a link to the panel install and eventually some basic controls as in start/stop/restart would be helpfull
Hello.
When I attempt to change a users panel password through the WHMCS panel it says
"Module Command Error
Not implemented, don't see need for this."
Can you help with this issue?
Couldn't find any nodes satisfying the request.
Whenever I use this, the addon will not create the server automatically. It sets the order as pending and has to manually approve it then from there it will setup the server. It is set to setup as soon as the order is placed, but sadly - it doesn’t.
The pack_ID doesn’t work for me in the module If i select a minecraft server versions it doesn’t change,.
Hello! How can I turn off auto server start up when a new server is created?
In Products/Services-> Module Settings, add the option "default" or "minimum" disk space.
Why?
Allowing customers to order additional disk space if needed e.g. Product has 10GB disk space by default, the customer selects additional 3GB disk space, upon submiting the data to Pterodactyl "default" or "minimum" gets added to the customers selected additional disk space.
How can we add custom fields to send with the module?
Source games aren't working for me because it requires STEAM_ACC and the module doesn't include that and I don't know how to add it.
Thanks.
So im trying to set up my whmcs to work for per slot sales and all stuff like that but i cannot figure out how to use them with the module. Im trying to setup the per slot slider, asking for what game type they want (this is minecraft btw).
Hello, I'm currently trying to use this on my WHMCS and I have both with SSL https currently I cannot create a new service if it's in https can this be added for HTTPS?
Only error:
Array ( [status_code] => 301 )
How would I change the username so it generates your email instead?
The random generated username would be annoying to remember.
Thanks.
When I go WHMCS and add a Pterodactyl server I get (Invalid status_code received: 500. Possible solutions: Panel errored, check panel logs.). Here is the log file https://bin.ptdl.co/lsu6v/
Add the ability to deploy multiple allocations with a certain range
I.E 25566-25800 & 8000-8100
Hey, I run the panel on port (8888) but I cant seem to get it to work with this module? I get error code 0
I've dropped it into the WHMCS folder, but how do I add the server? What do I put in the authentication thingy?
Failed to get egg data, received error code: 404. Enable module debug log for more info.
Hello!
I am getting this error when I am trying to "test connection".
Someone knows a fix for this specific problem?
FAILED: Invalid status_code received: 0. Possible solutions: Most likely hostname is configured wrong causing the request never get executed.
Module log:
Array
(
[status_code] => 0
)
Order Accept Encountered Problems
Couldn't find any nodes satisfying the request.
How can I fix this? ty in advance :)
hi
i have a problem with this module.
you have a solution for max players option? i tried with "Players Slots', but don't work.
i need to make more modification in pterodactyl panel? for example to edit start command or other things.
this is from documentation:
This also works for any name of environment variable:
Player Slots => Will overwrite the environment variable named "Player Slots" to its value.
what i need to do for set max slot in whmcs?
thank you.
Is it possible to have the user select which egg installs through configurable options? If so, how?
https://file.properties/paste/qatajusezu is the error that appears when you try and change package. A field to choose the database limit would also be nice. 😄
Add the $param "Username" for customers to choose a username for Pterodactyl instead of a random generated one. Pre-Checking if username exists would be helpful tho.
The password shown in the whmcs admin area is always wrong: (for example this )
I am not sure this is an issue or it is ment to be like that for security reasons.
This makes imposible to send welcome mails using whmcs, could you somehow add the option to generate and save the first generated password there and then whmcs can send it via welcome mail ? Or to send the user that setup password link...
This would make mail tracking much more easy and combined with the change password option we could help users to change the password (and get that password via email) much more easily... I know this makes it less secure, but almost all provisoning server modules do the same thing (cPanel, multicraft, Plesk, Gamecp, etc..)
Also I know that pterodactyl sends some emails already, but if you add this feature to the whmcs module, it would be much easier for us to create custom emails with server details, product details and payment details (all in one mail), as we used to do this with multicraft. This is very usefull when dealing with malicios users tring to refund via paypal even you gave them the server details.... (I know from my experience that the WHMCS welcome mail is a very good proof of digital product delivery and paypal accepts it).
Hello when i want to change my password in
/clientarea.php?action=productdetails#tabChangepw
That wrote Failed to change password!
Hello, creating new servers lead to a "Operation timed out after 5001 milliseconds with 0 bytes received" timeout and the server starts being created. Because of this the user won't receive his username+password and will show as pending. Clicking on terminate button works correctly, is just when a server needs to be created. I have tried making the curl timeout to 10 and still getting this error. Thanks for the help.
At the part where I insert the API key without a user, getting the error
Invalid status_code received: 401. Possible solutions: Authorization header either missing or not provided.
Any ideas?
I need it please
When I attempt to create a server through WHMCS nothing happens but an error code of 301. Was hoping somebody here has an idea.
http://img11.lostpic.net/2018/10/03/805d0e8cd54b3bc18cdd6fdae91aba56.jpg
This password is incorrect. I send it to the client’s mail using {$ service_password}. Also, in the personal account, the password cannot be changed, the error "Failed to change the password."
Hello, is this possible to set the pterodactyl password to the same of the whmcs password?
I create a new order in whmcs and i get the confirmation but not a login info email?
Can someone please help?
I run my panel on port 85, but the module is getting error 0.
I've tried memory|Memory Upgrade => with 4096|4GB => in configurable options yet its not allowing me to change the amount of RAM the server will use. Any ideas?
Hello there!
While troubleshooting with a colleague, I noticed the Add-On doesn't really pass the password generated by WHMCS onto the Pterodactyl panel. We fixed this by simply adding this line:
'password' => $params['password']
to the following code block:
if($userResult['meta']['pagination']['total'] === 0) {
$userResult = pterodactyl_API($params, 'users', [
'username' => pterodactyl_GetOption($params, 'username', pterodactyl_GenerateUsername()),
'email' => $params['clientsdetails']['email'],
'first_name' => $params['clientsdetails']['firstname'],
'last_name' => $params['clientsdetails']['lastname'],
'external_id' => $params['clientsdetails']['id'],
// Added the line here
], 'POST');
}
Now, this seemed like a very easy and trivial fix to a very complex situation, so I'd like to know if this isn't already featured in the source code because of a security issue or if it was simply a mistake.
Best regards, keep up the awesome work ^^.
Hello,
Clients usernames aren't saved in whmcs, the field remains blank even after the product is activated (created):
The creation process works well, the user and server get created and that information is sent back to whmcs, but not saved:
It seems like the module isn't saving the username as any other whmcs module and as in the tutorial video: https://www.youtube.com/watch?v=wURpRD9vfj4 (minute 13:18)
I need the username to be saved so I can send welcome mails automaticaly using whmcs....without the username whmcs isn't able to send the username to the customer...
WHMCS version: 7.7.1
PHP version: 5.6.4
this addon variable wil not work wen i use {memory}
First of all, congratulations on your excellent work.
How can I add an extra port for the Rcon connections on minecraft? Example: Default allocation -> 25060 | Rcon allocation -> 25093
The port can be random.
Hello,
I have followed everything you said on your installation guide. So I tested by buying a minecraft server off my panel and I enabled debug logger so I can see errors so I did buy it and this error came up:
Array
(
[errors] => Array
(
[0] => Array
(
[code] => required
[detail] => The Server Jar File variable field is required.
[source] => Array
(
[field] => environment.SERVER_JARFILE
)
)
[1] => Array
(
[code] => required
[detail] => The Build Number variable field is required.
[source] => Array
(
[field] => environment.BUILD_NUMBER
)
)
)
[status_code] => 422
)
Build is set to default on my panel and server jar file is server.jar?
Any answers would help me!
Thanks - Connorcivi
How can users set there username as opposed to WHMCS randomly generating one?
Allow the dedicated IP provisioning (with port 25565) be a select able addon via a checkbox.
Please can we specify the amount of databases a user can use in the module settings please. This would be a great new addition to ur module!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.