Comments (7)
You know what. I'm gonna take a look at implementing additional script calls.
from acweb.
Alright, I've added a simple method to run scripts before/after the server instance is created. You simply add the full qualified script path in the instance UI when you start a new server instance. The second script, which is called after the actual server start, receives the process ID of the server instance.
Please close this ticket if this solves your issue.
from acweb.
Have you tried calling a script instead of the server executable? You can point to a script by changing the "Executable" setting on the settings page.
from acweb.
from acweb.
Call it from the script :)
from acweb.
Are there any available parameters for the arguments?
Example to pass in some informations like instance number?
Would be great for automatic reloading stracker.
from acweb.
The server config and entry list are passed to the executable (like acserver -c config.ini -e entrylist.ini). So if you place a script instead of the server executable you can use these parameters to start the server by yourself. acweb uses the process ID created by that call to manage the instance. Inside the script you could run the server by starting a new process and use that process ID for stracker.
The issue here is that I'm not running a server by myself right now, so I'm not a user of my own product anymore. If you're going to test this and get it to work (or modify the acweb code to your needs, shouldn't be too hard), please consider sharing your experience here so that we can document how to run stracker (or any other mod/plugin).
from acweb.
Related Issues (20)
- Can't "save" acweb config via web interface - "Error 1054: Unknown column 'auth_plugin_address' in 'field list'" HOT 2
- Cant save configuration HOT 11
- Enhanced script management
- Update screenshots
- Port HOT 5
- typo config folder name HOT 5
- working directory issue
- typo on instance list
- Can't login to the interface HOT 20
- SOL: Custom weather-types HOT 1
- Config import not working HOT 3
- Add ability to add cars and tracks HOT 1
- hook to start acserver HOT 4
- Problem Install Panel web for acweb and accweb
- Server only binds to IPv6?
- Assist Rules Menu / no possibility to manually change criteria
- Cars and Tracks not appearing in the web interface Configurations page HOT 1
- Server can't find server_cfg.ini
- Webmin plugin?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acweb.